[PD] Re: [PD-announce] Pd-lists now running on mailman3

2024-08-09 Thread cyrille henry



Le 08/08/2024 à 19:08, Peter P. a écrit :


Oh, and I just found the first ever mail sent to the list in 1998:
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/thread/DRAVLMBRHDJGVOXOK34HVCYV7LTOMGPK/

Damned, I feel old.

Did anybody have news about günter?
Or Tim Blechmann, Thomas Grill and other people that we don't see much on the 
list?

Cheers
c

---
Pd-list - pd-list@lists.iem.at
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/ZKPEAUAVIVAI3R5LHAUPNXCQCVC4J2VP/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

[PD] Re: [PD-announce] Pd-lists now running on mailman3

2024-08-09 Thread cyrille henry



Le 08/08/2024 à 17:21, IEM Network Operation Center (IOhannes m zmölnig) a 
écrit :


if you like it, cheer along!


Thanks Iohannes for the time and dedication you spend for the benefit of the Pd 
community.

Cheers
Cyrille


---
Pd-list - pd-list@lists.iem.at
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/N2QW5QODUOVLR6HFBSANO7ZDYKU2TN4D/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Re: [PD] [PD-announce] simplex noise sampling in Pure Data

2024-06-28 Thread cyrille henry

Hello,

This sound very nice!
The help file worth spending time to explore your examples.

And I just discovered that your 3d sound visualiser is click/drag-able!

Thanks for your work.
cheers
Cyrille


Le 26/06/2024 à 17:22, Benjamin Wesch a écrit :

the [simplex~] external is available on Deken (including Pd64 builds)
and received a few updates since my previous message about it -
including optional derivatives output and optimizations for the
visuals in the help file.

obviously, the core of this is the noise algorithms, which were
implemented by stefan gustavson. the help file gives a few examples -
enjoy!

cheers,
ben



___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] physical modelling for Pure Data, version 0.14.0

2024-06-26 Thread cyrille henry

Hello,

pmpd version 0.14 is ready on deken!

It offer multiple audio channel support, thanks to Benjamin Wesch.

cheers,
Cyrille




___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gemwin vs [pix_snap]

2024-06-11 Thread cyrille henry

hello,
The image of the gem windows appear to be 1280x960.
pix_snap capture a 640x480 image.
Are you sure that the gemwin is create with a dimen of 640x480?
Maybe there is a compensation somewhere because of high resolution apple screen.

can you send your patch?
cheers

c


Le 11/06/2024 à 21:17, Johnny Mauser via Pd-list a écrit :

Dear Lists,

I have an old patch I want to revive and the following problem:

I have a gemwin with certain dimensions, say 640x480pix, and I want to record 
it using [pix_snap]+[pix_writer]. I use the same dimensions for pix_snap but it 
is only capturing the left bottom corner of my gemwin. The resulting pix has 
the correct dimensions, also 640x480pix.

I use macOS 14.4, pd 54.1,
GEM: ver: 0.94.git v0.94-973-g1659d628b
GEM: compiled  on May 23 2024

Here are two pix showing the problem:

Screenshot of Gemwin:


Pix_writer record:
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list 





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] pd64 and externals, deken etc?

2024-05-30 Thread cyrille henry



Le 30/05/2024 à 03:14, Alexandre Torres Porres a écrit :

While we're at it, as I only know about macOS, let me ask about windows and 
linux...

So, Windows 11, the current version, is only for 64 bit architectures, right? 
so one cannot install pd 32 bit on it.

As for Linux, is there any most recent version only for 64-bit architecture?

debian is known to run on multiples architecture :
https://wiki.debian.org/SupportedArchitectures

anyway, you need a 64 bit OS if you want to address more than 3Go of memory.

cheers
c



cheers

Em qua., 29 de mai. de 2024 às 21:13, Alexandre Torres Porres mailto:por...@gmail.com>> escreveu:

I see, not being well versed, I see I'm again confusing 64-bit architecture with 
double precision. And I'm still confused on what "CPU-architecture" actually 
means. Let's see if I get things straight.

Older macs with intel chips can run two different architectures: *i386* 
(Intel 32bit) and *amd64* (Intel 64bit). This depends on the OS and the last to 
allow i386 was Mojave (10.14). Newer arm64 is obviously only 64bit.

I'm positive this is what it is, but it still strikes me as a bit uncanny that a 
computer can have more than one architecture, as my intuition would tell me that the 
architecture of my chip can only be of one type. So I guess I don't really get the 
concept of "cpu-architecture".

Anyway, things like this should be made clearer for dummies like me in the 
manual and stuff.

Cheers




Em qua., 29 de mai. de 2024 às 18:44, IOhannes m zmölnig mailto:zmoel...@iem.at>> escreveu:

On 5/29/24 21:03, Alexandre Torres Porres wrote:
 > Can't .pd_linux, .pd_darwin, .d_fat, .dll be 64 bit? As well as 
.m_amd64,
 > .d_arm64 and .l_arm64 and stuff? I mean, probably they "can", but 
the idea
 > was to create new extension possibilities to distinct single and 
double
 > precision, right?

depends on what you mean by "can".
technically they could.
practically, Pd64 will *not* load an external that ends with .pd_darwin.
see the mailinglist archives and the github issues for a lengthy
discussion why it is like this.

 >
 > While we're at it, can i386 be 64? really? As in .linux-i386-64.so,
 > .darwin-i386-64.so and .windows-i386-64.dll?
 >

sure, why not?
the "double" floattype has been around for some time.
a quick wikipedia check shows that one of the first (C)PU to implement
IEEE 754 (the floating point standard that defines "double" floats as we
know them) was the Intel 8087, a 16bit processor (and famous
co-processor for the 8086)
It would be capable of running Pd64 (".cpm-x86_16-64.so").


fmdsafds
IOhannes
___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Solving the three-body problem [1] with pmpd and GEM, anyone ?

2024-05-14 Thread cyrille henry

Hello Winfried,

It's really easy to simulate this problem.
Benjamin Wesch send me a patch off list. I added it to mine, so here are 4 
different way to go. (using mass2d, pmpd2d, pmpd2d~ and pmpd3d~)

The biggest challenge is finding initial conditions that did not result in a 
very fast divergence of the masses.

cheers
C

Le 12/05/2024 à 21:32, Winfried Ritsch a écrit :

[1] https://en.wikipedia.org/wiki/Three-body_problem

mfG winfried

PS.:just curious... wanted it for a demonstration.


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list#N canvas 299 370 555 521 10;
#X msg 164 135 reset;
#X msg 164 251 outPosX 0 0 1 \, outPosY 1 0 1 \, outPosZ 2 0 1 \, outPosX 3 1 1 \, outPosY 4 1 1 \, outPosZ 5 1 1 \, outPosX 6 2 1 \, outPosY 7 2 1 \, outPosZ 8 2 1, f 44;
#X obj 113 83 t a b b b;
#X obj 57 370 gemhead;
#X obj 57 433 scopeXYZ~ 8192;
#X obj 167 433 scopeXYZ~ 8192;
#X obj 277 433 scopeXYZ~ 8192;
#X obj 113 60 loadbang;
#X obj 88 59 bng 16 250 50 0 empty empty empty 0 -8 0 10 #fcfcfc #00 #00;
#X msg 396 55 create \, 1;
#X msg 406 80 0 \, destroy;
#X obj 396 112 gemwin 60;
#X obj 123 330 pmpd3d~ 1 9 4, f 36;
#X msg 164 159 mass 1e+09 -1.3 0.8 -0.2 \, mass 1e+09 -1.5 -1.5 0.2 \, mass 1e+09 1.2 2.1 0.1, f 26;
#X msg 164 205 NLlink 0 1 1 1 -2 0 0.0001 1e+07 \, NLlink 0 2 1 1 -2 0 0.0001 1e+07 \, NLlink 1 2 1 1 -2 0 0.0001 1e+07, f 37;
#X obj 483 111 s pd;
#X msg 483 79 dsp 1;
#X obj 397 19 bng 18 250 50 0 empty empty empty 0 -9 0 10 #fcfcfc #00 #00;
#X connect 0 0 12 0;
#X connect 1 0 12 0;
#X connect 2 0 1 0;
#X connect 2 1 14 0;
#X connect 2 2 13 0;
#X connect 2 3 0 0;
#X connect 3 0 4 0;
#X connect 3 0 5 0;
#X connect 3 0 6 0;
#X connect 7 0 2 0;
#X connect 8 0 2 0;
#X connect 9 0 11 0;
#X connect 10 0 11 0;
#X connect 12 0 4 1;
#X connect 12 1 4 2;
#X connect 12 2 4 3;
#X connect 12 3 5 1;
#X connect 12 4 5 2;
#X connect 12 5 5 3;
#X connect 12 6 6 1;
#X connect 12 7 6 2;
#X connect 12 8 6 3;
#X connect 13 0 12 0;
#X connect 14 0 12 0;
#X connect 16 0 15 0;
#X connect 17 0 9 0;
#X connect 17 0 16 0;
#N canvas 529 372 973 523 12;
#X msg 163 353 setX \$1 \, setY \$2;
#X obj 51 350 gemhead;
#X obj 51 407 translateXYZ;
#X obj 51 437 circle 0.1;
#X obj 78 377 unpack s f f;
#X msg 478 355 setX \$1 \, setY \$2;
#X obj 366 352 gemhead;
#X obj 366 409 translateXYZ;
#X obj 366 439 circle 0.1;
#X obj 393 379 unpack s f f;
#X msg 758 352 setX \$1 \, setY \$2;
#X obj 646 349 gemhead;
#X obj 646 406 translateXYZ;
#X obj 646 436 circle 0.1;
#X obj 673 376 unpack s f f;
#X obj 424 82 metro 10;
#X obj 424 52 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X obj 424 110 t b b;
#X obj 456 135 s M;
#X obj 181 407 r icircle;
#X obj 501 407 r icircle;
#X obj 781 407 r icircle;
#X obj 673 167 s icircle;
#X obj 424 165 s icircle;
#X obj 163 437 iCircle2D M 0 0 0 100;
#X obj 478 439 iCircle2D M 0 0 0 100;
#X obj 758 436 iCircle2D M 0 0 0 100;
#X msg 533 80 reset;
#X obj 78 289 mass2D M 100 -1 1.5;
#X obj 673 107 loadbang;
#X msg 673 136 setG -0.01;
#X obj 393 291 mass2D M 100 1.6 1.7;
#X obj 673 288 mass2D M 100 0.1 -1.1;
#X obj 91 144 gemwin 60;
#X msg 91 75 create \, 1;
#X msg 119 111 destroy;
#X text 454 51 <--;
#X connect 0 0 24 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 4 1 2 1;
#X connect 4 2 2 2;
#X connect 5 0 25 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 9 1 7 1;
#X connect 9 2 7 2;
#X connect 10 0 26 0;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 14 1 12 1;
#X connect 14 2 12 2;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 17 0 23 0;
#X connect 17 1 18 0;
#X connect 19 0 24 0;
#X connect 20 0 25 0;
#X connect 21 0 26 0;
#X connect 27 0 18 0;
#X connect 28 0 0 0;
#X connect 28 0 4 0;
#X connect 29 0 30 0;
#X connect 30 0 22 0;
#X connect 31 0 5 0;
#X connect 31 0 9 0;
#X connect 32 0 10 0;
#X connect 32 0 14 0;
#X connect 34 0 33 0;
#X connect 35 0 33 0;
#N canvas 1106 146 667 747 10;
#X obj 84 404 gemhead;
#X obj 291 154 loadbang;
#X msg 132 69 create \, 1;
#X msg 142 94 0 \, destroy;
#X obj 132 126 gemwin 60;
#X obj 305 334 pmpd2d, f 36;
#X obj 346 241 gemhead;
#X obj 346 264 t b;
#X obj 304 357 route massPos;
#X obj 304 401 route 0 1 2;
#X obj 304 377 route M;
#X obj 304 429 unpack f f;
#X obj 324 479 unpack f f;
#X obj 344 519 unpack f f;
#X obj 124 459 separator;
#X obj 124 484 translateXYZ;
#X obj 124 539 separator;
#X obj 124 564 translateXYZ;
#X obj 124 619 separator;
#X msg 346 289 bang \, massPos M;
#X obj 124 644 translateXYZ;
#X obj 84 427 t a;
#X obj 124 508 circle 0.1;
#X obj 124 588 circle 0.1;
#X obj 124 668 circle 0.1;
#X msg 291 190 reset \, mass M 1 1 1.3 -1 \, mass M 1 1 -3.1 0.1 \, mass M 1 1 -0.1 3.2 \, link L M M 0.001 0 -2 0 \, setL L 0, f 52;
#X connect 0 0 21 0;
#X connect 1 0 25 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
#X connect 5 0 8 0;
#X connect 6 0 7 0;
#X connect 7 0 19 0;
#X connect 8 0 

Re: [PD] [gem] trigger in gemchain

2024-04-16 Thread cyrille henry

The postrender code is executed a bit early. I notice a problem with 
pix_texture, but this will cause problem with lot's of other objects.

I just fill a bugreport.

cheers
c

Le 15/04/2024 à 16:10, cyrille henry a écrit :

hello,
I always assume that you can split a gemchain using trigger. Lot's of my patch 
are using this feature.
I just discover that it's not working with pix_texture.
I don't know if it's a bug, or if there is a good explanation.
Can someone have a look a the attachment, and tell me why the texture is not 
display on the left square?

thanks
Cheers

c

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list#N canvas 584 477 992 413 12;
#X msg 44 54 create \, 1;
#X msg 55 80 destroy;
#X obj 27 106 gemwin 0.3;
#X obj 177 89 render_trigger;
#X obj 272 117 print render_trigger_postA;
#X obj 224 149 print render_trigger_preA;
#X obj 177 199 render_trigger;
#X obj 272 227 print render_trigger_postB;
#X obj 224 259 print render_trigger_preB;
#X obj 649 111 render_trigger;
#X obj 744 139 print render_trigger_postA;
#X obj 696 171 print render_trigger_preA;
#X obj 617 221 render_trigger;
#X obj 712 249 print render_trigger_postB;
#X obj 664 281 print render_trigger_preB;
#X obj 617 87 t a a;
#X obj 177 30 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X obj 617 32 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X text 409 150 1;
#X text 413 258 2;
#X text 464 226 3;
#X text 462 116 4;
#X text 878 169 1;
#X text 937 135 2;
#X text 848 281 3;
#X text 903 247 4;
#X text 215 339 I expect both gemhead to behave the same way \, but they are not.;
#X obj 177 57 gemhead 22;
#X obj 617 60 gemhead 33;
#X connect 0 0 2 0;
#X connect 1 0 2 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 2 4 0;
#X connect 6 1 8 0;
#X connect 6 2 7 0;
#X connect 9 1 11 0;
#X connect 9 2 10 0;
#X connect 12 1 14 0;
#X connect 12 2 13 0;
#X connect 15 0 12 0;
#X connect 15 1 9 0;
#X connect 16 0 27 0;
#X connect 17 0 28 0;
#X connect 27 0 3 0;
#X connect 28 0 15 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [gem] trigger in gemchain

2024-04-16 Thread cyrille henry

Hello Peter,
Thanks for your answer.

sorry if the unconnected [t a a] mislead you.
The question is not how to apply a texture to 2 squares. The question is why 
the texture is not apply to both square?

The 2 side of the patch create exactly the same gemchain, and should behave 
identical.
They are not.

[trigger] are usually transparent in a gemchain. This is the only 
counterexample I am aware.
It also mean that you can't adapt my L-System example 
(02.Advanced/21.basic_LSystem), or Claude recursion tutorial 
(example/13.recursion) to use texture.

So, I think it's a bug, and I'm wondering if this behaviours change, since I 
never experience it.
but I'm waiting for Iohannes opinion.

Here is another example, using [gemlist] that should have worked, imho.

Cheers
C
P.S, I keep this thread to the list.


Le 16/04/2024 à 10:11, Peter Venus a écrit :

Hi

I checked your patch, and as i could see there where some connections
missing? So I am not quite sure if this missing connections/objects on
the left side have been intentional.
I could apply a texture to 2 squares with the texture-chain split by
[t a a]
see the attached file

all best,

Peter

On 15/04/2024 16:10, cyrille henry wrote:

hello,
I always assume that you can split a gemchain using trigger. Lot's of my
patch are using this feature.
I just discover that it's not working with pix_texture.
I don't know if it's a bug, or if there is a good explanation.
Can someone have a look a the attachment, and tell me why the texture is
not display on the left square?

thanks
Cheers

c

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list#N canvas 555 381 988 435 12;
#X obj 181 98 gemhead;
#X obj 181 183 pix_image;
#X obj 213 237 pix_texture;
#X obj 244 71 openpanel;
#X msg 244 98 open \$1;
#X obj 244 43 bng 20 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00;
#X obj 181 294 square;
#X obj 673 99 gemhead;
#X obj 673 184 pix_image;
#X obj 705 239 pix_texture;
#X obj 673 209 t a a;
#X obj 705 268 square;
#X obj 27 176 gemwin 20;
#X msg 44 124 create \, 1;
#X msg 55 150 destroy;
#X obj 181 266 gemlist;
#X obj 181 208 t b a;
#X obj 426 81 gemhead;
#X obj 426 166 pix_image;
#X obj 458 220 pix_texture;
#X obj 426 277 square;
#X obj 426 191 t a a;
#X obj 426 120 translateXYZ 0 0 0;
#X obj 181 137 translateXYZ -2.5 0 0;
#X obj 673 138 translateXYZ 2.5 0 0;
#X connect 0 0 23 0;
#X connect 1 0 16 0;
#X connect 2 0 15 1;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 4 0 8 0;
#X connect 4 0 18 0;
#X connect 5 0 3 0;
#X connect 7 0 24 0;
#X connect 8 0 10 0;
#X connect 9 0 11 0;
#X connect 10 1 9 0;
#X connect 13 0 12 0;
#X connect 14 0 12 0;
#X connect 15 0 6 0;
#X connect 16 0 15 0;
#X connect 16 1 2 0;
#X connect 17 0 22 0;
#X connect 18 0 21 0;
#X connect 21 0 20 0;
#X connect 21 1 19 0;
#X connect 22 0 18 0;
#X connect 23 0 1 0;
#X connect 24 0 8 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [gem] trigger in gemchain

2024-04-15 Thread cyrille henry

hello Jonas,

There is no pix_separator in the patch, but it act like there is one.
and (I think) it should not.

thanks for your answer,
cheers
c

P.S : I answer back on the mailing list

Le 15/04/2024 à 20:44, Johnny Mauser a écrit :

Hi Cyrille,
I remember [pix_seperator] to help in some situations, without ever have fully 
understanding the causes. And without checking your patch, so maybe not helpful.
Best anyways,
Jonas

cyrille henry mailto:c...@chnry.net>> schrieb am Mo., 15. Apr. 
2024, 16:12:

hello,
I always assume that you can split a gemchain using trigger. Lot's of my 
patch are using this feature.
I just discover that it's not working with pix_texture.
I don't know if it's a bug, or if there is a good explanation.
Can someone have a look a the attachment, and tell me why the texture is 
not display on the left square?

thanks
Cheers

c___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [gem] trigger in gemchain

2024-04-15 Thread cyrille henry

hello,
I always assume that you can split a gemchain using trigger. Lot's of my patch 
are using this feature.
I just discover that it's not working with pix_texture.
I don't know if it's a bug, or if there is a good explanation.
Can someone have a look a the attachment, and tell me why the texture is not 
display on the left square?

thanks
Cheers

c#N canvas 609 378 749 420 12;
#X obj 181 98 gemhead;
#X obj 181 183 pix_image;
#X obj 213 237 pix_texture;
#X obj 244 71 openpanel;
#X msg 244 98 open \$1;
#X obj 244 43 bng 20 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00;
#X obj 181 208 t a a;
#X obj 181 273 square;
#X obj 424 108 gemhead;
#X obj 424 193 pix_image;
#X obj 456 248 pix_texture;
#X obj 424 218 t a a;
#X obj 456 277 square;
#X obj 181 137 translateXYZ -2 0 0;
#X obj 424 147 translateXYZ 2 0 0;
#X obj 27 176 gemwin 20;
#X msg 44 124 create \, 1;
#X msg 55 150 destroy;
#X connect 0 0 13 0;
#X connect 1 0 6 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 4 0 9 0;
#X connect 5 0 3 0;
#X connect 6 0 7 0;
#X connect 6 1 2 0;
#X connect 8 0 14 0;
#X connect 9 0 11 0;
#X connect 10 0 12 0;
#X connect 11 1 10 0;
#X connect 13 0 1 0;
#X connect 14 0 9 0;
#X connect 16 0 15 0;
#X connect 17 0 15 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] vcf~ producing output without input for 0Hz cutoff?

2024-04-12 Thread cyrille henry

I don't think it's weird for a lowpass filter to go under 20Hz. They are not 
restricted to audio signals.
I use them a lot to smooth control signals, or to replace line~.
(I really hate line~ to control sound amplitude or preset transition, it's way 
too robotic)

cheers
c

Le 12/04/2024 à 08:01, Alexandre Torres Porres a écrit :

and you got a strong DC component over there :)

anyway, it also seems weird to have a lowpass or a bandpass going as low as in 
the 20hz range. If you wanna do it just so it fades out to silence, you need a 
DC filter, something like a [hip~ 5] object, so when the lowpass, bandpass gets 
there, then you have nothing.

cheers

Em qui., 11 de abr. de 2024 às 15:40, Antoine Rousseau mailto:anto...@metalu.net>> escreveu:

Well, let's simplify a bit, forget all the filter complexity (Q, slope, 
definition of the cutoff frequency...).

Let's just say that the output of a lowpass filter cannot move faster than 
the cutoff frequency: a 1Hz filter output cannot move faster than 1Hz (so it 
can't go back and forth in less than a second or so), a 1kHz can't go back and 
forth in less than about 1ms, etc. The output of a 0Hz filter can't move... at 
all. When you set the cutoff to 0Hz, the output freezes to its current value. 
It won't magically decay to 0.

Hey, if you set the framerate of a movie to 0 frame/second, it will just 
stop, and will show the same image forever; it won't fade to black!

Antoine



Le jeu. 11 avr. 2024 à 14:08, Peter P. mailto:peterpar...@fastmail.com>> a écrit :

* Antoine Rousseau mailto:anto...@metalu.net>> 
[2024-04-11 13:40]:
 > That doesn't seem incorrect to me; after all, a lowpass filter at 0Hz
 > implies that its output is constant (any change would involve 
frequencies >
 > 0Hz).

Thanks Antoine,

Why does a lowpass filter, that has a cutoff frequency of 0Hz imply that
it's output is constant?

I will describe the problem again hoping that I will understand it
better myseld:
I have an oscillating input signal that has some DC offset (unipolar
sawtooth from phasor~). I fade this signal's amplitude to -inf dB using
[line~].

I also fade down the filter cutoff (defined as the -3dB point of the
filter curve) from 400Hz to 0Hz. The filter will then continue to 
produce an
non-decaying output.

If I fade down the filter cutoff down to only 1Hz, it's output will 
decay (somehow
counterintuitively to me). This is the part I don't get.

I understand that vcf~ is a resonant filter, and it can have a gain
greater 1 around the cutoff frequency, especially for high Q values. The
above behavior can also be observed for Q=1.

Thanks for all hints!
Peter



___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 


___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] shmem v1.2

2024-04-06 Thread cyrille henry

hello,

shmem is an external that allow to share memory between pd instance. It is 
specially useful when working with pd~.
New feature was sleeping on github for years.

I just made the v1.2 released. It is on deken, compiled for most architecture.

cheers
Cyrille



___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] pmpd

2024-04-06 Thread cyrille henry

Hello,

pmpd v0.13.2 in now on deken!
it include 2 new examples and input sanitizing bug-fix.

cheers
Cyrille




___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] help files path, difference between startup flag and pdsettings

2024-03-16 Thread cyrille henry

hello,
I experience a strange problem I can not understand.

for (pmpd) development purpose, I don't want to install it from deken, but use 
my local build.

binary are in ~/pd/git/pd-pmpd/build
help files are in ~/pd/git/pd-pmpd

when I start :
pd -noprefs -path ~/pd/git/pd-pmpd/build/ -path ~/pd/git/pd-pmpd

everything is fine.

but it did not work as expected using pdsettings.

I remove the preference file for test purpose, to start with an empty file.
I added the 2 paths.
My preference file now is :

audioapi: 1
noaudioin: False
audioindev1: 0 2
audioindevname1: sof-hda-dsp (hardware)
noaudioout: False
audiooutdev1: 0 2
audiooutdevname1: sof-hda-dsp (hardware)
audiobuf: 25
rate: 44100
callback: 0
audioblocksize: 64
midiapi: 0
nomidiin: True
nomidiout: True
path1: /home/chnry/pd/git/pd-pmpd/build
path2: /home/chnry/pd/git/pd-pmpd
npath: 2
standardpath: 1
verbose: 1
nloadlib: 0
defeatrt: 0
flags:
zoom: 1
loading: no


My problem is that the help file is not find :

tried /home/chnry/pd/git/pd-pmpd/build/pmpd.linux-amd64-32.so and succeeded
tried /home/chnry/pd/git/pd-pmpd/build/pmpd-help.pd and failed
tried /usr/local/lib/pd/doc/5.reference/pmpd-help.pd and failed
tried /home/chnry/.local/lib/pd/extra/pmpd-help.pd and failed
tried /home/chnry/pd-externals/pmpd-help.pd and failed
tried /usr/local/lib/pd-externals/pmpd-help.pd and failed
tried /usr/local/lib/pd/extra/pmpd-help.pd and failed
tried /home/chnry/pd/git/pd-pmpd/build/help-pmpd.pd and failed
tried /usr/local/lib/pd/doc/5.reference/help-pmpd.pd and failed
tried /home/chnry/.local/lib/pd/extra/help-pmpd.pd and failed
tried /home/chnry/pd-externals/help-pmpd.pd and failed
tried /usr/local/lib/pd-externals/help-pmpd.pd and failed
tried /usr/local/lib/pd/extra/help-pmpd.pd and failed
sorry, couldn't find help patch for "pmpd"

pd search only in the binary path, and in other standard paths, but not in the 
path declared

the solution is to add in pdsettings :
flags: -path ~/pd/git/pd-pmpd

I understand that having binary and help file in different path is not 
expected, but why do pd behave differently using path in .pdsettings, than 
using path in startup flag ?
Is that expected, or is it a bug?


pd 0.54.1, compiled from source, ubuntu linux

cheers
c



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pmpd v 0.13

2024-03-13 Thread cyrille henry

Thanks a lot Iohannes for your work!

cheers
C

Le 13/03/2024 à 00:42, IOhannes m zmölnig a écrit :

On 3/12/24 17:07, cyrille henry wrote:
I don't know about debian package. Is it Iohannes job, 


it is.

or should I do

something?


no.


cmfsadr
IOhannes

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pmpd v 0.13

2024-03-12 Thread cyrille henry

I don't know about debian package. Is it Iohannes job, or should I do something?
cheers
c


Le 12/03/2024 à 16:47, Peter P. a écrit :

Génial! Thanks to Benjamin and to you Cyrille! Hope it will be be
packaged as updated pd-pmpd for Debian in addition to the Deken
release.

best, P

* cyrille henry  [2024-03-11 15:11]:

Hello,

Thanks to all the help provide by Benjamin Wesch, pmpd (Physical Modelling for 
Pure Data) version 0.13 is ready.


pmpd aim to provide physical modelling (mass/spring system) simulation to 
control data in natural ways. Audio synthesis is also possible, now in 2d or 3d 
thanks to the new objects : pmpd2d~ and pmpd3d~.

It's on deken.

Cheers
Cyrille



___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pmpd v 0.13

2024-03-12 Thread cyrille henry

I just upload a 0.13.1 release (mac only) to deken with Benjamin fix for old 
mac.
cheers
c


Le 11/03/2024 à 18:56, Alexandre Torres Porres a écrit :

it's an intel chip, I don't have any apple silicon yet. BTW, just tried this in 
my macbook pro from 2018, same OS (10.14.6) and I have the exact same problem.

Em seg., 11 de mar. de 2024 às 14:19, cyrille henry mailto:c...@chnry.net>> escreveu:



Le 11/03/2024 à 17:58, Alexandre Torres Porres a écrit :
 > Nice, but I'm getting errors on my 2013 macbook air on 10.14.6
what architecture is your macbook?
cheers
c

 >
 > opening pmpd-help.pd gives me
 >
 > 
/Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat,
 10): no suitable image found.  Did find:
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat: cannot load 
'pmpd2d.d_fat' (load command 0x8034 is unknown)
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat: cannot load 
'pmpd2d.d_fat' (load command 0x8034 is unknown)
 > pmpd2d
 > ... couldn't create
 > 
/Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat,
 10): no suitable image found.  Did find:
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat: cannot load 
'pmpd3d.d_fat' (load command 0x8034 is unknown)
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat: cannot load 
'pmpd3d.d_fat' (load command 0x8034 is unknown)
 > pmpd3d
 > ... couldn't create
 > 
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > 
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > pmpd
 > ... couldn't create
 > 
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > 
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > /Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 
'pmpd.d_fat' (load command 0x8034 is unknown)
 > pmpd
 > ... couldn't create
 >
 > Em seg., 11 de mar. de 2024 às 11:11, cyrille henry mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>> escreveu:
 >
 >     Hello,
 >
 >     Thanks to all the help provide by Benjamin Wesch, pmpd (Physical 
Modelling for Pure Data) version 0.13 is ready.
 >
 >
 >     pmpd aim to provide physical modelling (mass/spring system) 
simulation to control data in natural ways. Audio synthesis is also possible, now 
in 2d or 3d thanks to the new objects : pmpd2d~ and pmpd3d~.
 >
 >     It's on deken.
 >
 >     Cheers
 >     Cyrille
 >
 >
 >
 >     ___
 >     Pd-announce mailing list
 > pd-annou...@lists.iem.at <mailto:pd-annou...@lists.iem.at> 
<mailto:pd-annou...@lists.iem.at <mailto:pd-annou...@lists.iem.at>>
 > https://lists.puredata.info/listinfo/pd-announce 
<https://lists.puredata.info/listinfo/pd-announce> 
<https://lists.puredata.info/listinfo/pd-announce 
<https://lists.puredata.info/listinfo/pd-announce>>
 >
 >     ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> <mailto:Pd-list@lists.iem.at 
<mailto:Pd-list@lists.iem.at>> mailing list
 >     UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list> <https://lists.pureda

Re: [PD] [PD-announce] pmpd v 0.13

2024-03-11 Thread cyrille henry



Le 11/03/2024 à 17:58, Alexandre Torres Porres a écrit :

Nice, but I'm getting errors on my 2013 macbook air on 10.14.6

what architecture is your macbook?
cheers
c



opening pmpd-help.pd gives me

/Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat,
 10): no suitable image found.  Did find:
/Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat: cannot load 
'pmpd2d.d_fat' (load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd2d.d_fat: cannot load 
'pmpd2d.d_fat' (load command 0x8034 is unknown)
pmpd2d
... couldn't create
/Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat,
 10): no suitable image found.  Did find:
/Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat: cannot load 
'pmpd3d.d_fat' (load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd3d.d_fat: cannot load 
'pmpd3d.d_fat' (load command 0x8034 is unknown)
pmpd3d
... couldn't create
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
pmpd
... couldn't create
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat:dlopen(/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat,
 10): no suitable image found.  Did find:
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
/Users/porres/Documents/Pd/externals/pmpd/pmpd.d_fat: cannot load 'pmpd.d_fat' 
(load command 0x8034 is unknown)
pmpd
... couldn't create

Em seg., 11 de mar. de 2024 às 11:11, cyrille henry mailto:c...@chnry.net>> escreveu:

Hello,

Thanks to all the help provide by Benjamin Wesch, pmpd (Physical Modelling 
for Pure Data) version 0.13 is ready.


pmpd aim to provide physical modelling (mass/spring system) simulation to 
control data in natural ways. Audio synthesis is also possible, now in 2d or 3d 
thanks to the new objects : pmpd2d~ and pmpd3d~.

It's on deken.

Cheers
Cyrille



___
Pd-announce mailing list
pd-annou...@lists.iem.at <mailto:pd-annou...@lists.iem.at>
https://lists.puredata.info/listinfo/pd-announce 
<https://lists.puredata.info/listinfo/pd-announce>

___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] pmpd v 0.13

2024-03-11 Thread cyrille henry

Hello,

Thanks to all the help provide by Benjamin Wesch, pmpd (Physical Modelling for 
Pure Data) version 0.13 is ready.


pmpd aim to provide physical modelling (mass/spring system) simulation to 
control data in natural ways. Audio synthesis is also possible, now in 2d or 3d 
thanks to the new objects : pmpd2d~ and pmpd3d~.

It's on deken.

Cheers
Cyrille



___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] spring modeling/scanned synthesis

2024-02-26 Thread cyrille henry



Le 25/02/2024 à 19:45, Alexandre Torres Porres a écrit :

sounds like a filter alright, with the noise input

now, I get

pmpd~: no method for 'setK'

damned!



maybe I dont have the latest version, isn't there a new release coming up to 
deken?

The new version is not ready. You can donwload binary on github :
https://github.com/avilleret/pd-pmpd/actions/runs/8006223225/artifacts/1266688251

cheers
c



Em sáb., 17 de fev. de 2024 às 07:01, cyrille henry mailto:c...@chnry.net>> escreveu:



Le 16/02/2024 à 19:16, Alexandre Torres Porres a écrit :
 > ok, one more thing...
 >
 >         The 1st is just a very basic implementation : it's not possible 
to define a non-linear link for example.
 >         The 2nd one solve them in a very simple scenario : 1 mass and 1 
spring. So it's not possible to create other network.
 >
 >
 > So Spring from SuperCollider is just a very simplified model, and 
according to people in the SuperCollider forum it's not really different than a 
2nd order filter like Ringz or resonant~ from ELSE, right?
the SC spring is not a simplified model, it's the standard model. (you can 
only add complexity to the classic MSS)

if you put 1 mass and 1 spring, you have a 1st order filter.
if you put two 1st order filter one after the other, you have one 2nd order 
filter.


 > So I'm failing to see where SuperCollider's Spring shines. I already 
ported it to a compiled Pd object, and I also ported the MAX code but I can't see 
why I should bother including them or what would be special about them. I like the 
Ball object from SC and that seems like something fun to have...
 > But then, I think I mentioned this before, I came across Spring in SC here on this code on Scanned 
Synthesis https://sccode.org/1-4Rm <https://sccode.org/1-4Rm> <https://sccode.org/1-4Rm 
<https://sccode.org/1-4Rm>> it's just a chain of Spring objects connected in a series, with a 
feedback loop, so it's circular. The output of each spring is an audio channel output and an object crossfades 
between the channels and "scans" it.
I don’t know anything about SC or Max, so I can't talk about that.

scann synth was propose when a 100 masses simulation need too much CPU to 
be computed in real time at audio rate. So the shape of the string was only 
computed at data rate.
if you use audio object, then it's not scanned synthesis. it's just PM 
audio simulation.
So, your just mixing multiple things here, and I hardly understand this 
discussion.

cheers
c

 >
 > So now I wonder if Spring is indispensable in this patch, and if one can 
just use some other 2nd order filter instead. I am also presuming that there might be 
some technical details where the sheer simplicity of this setup misses some important 
factors that you are covering in your scannd synthesis implementations with pmpd, 
huh?>
 > Cheers
 >
 >
 >     thanks for clarifying
 >
 >         But if you just want to play with meaningful parameter without 
understanding the physics, then pmpd is not for you.
 >
 >
 >     This is what I realize, and I would also like to have some higher 
level ready made and easy to use toys for simple tasks.
 >
 >         there are lot's of software dedicated to MSS, the equations are 
all about the same.
 >         But physical modelling is broader than MSS.
 >
 >
 >     sure, I see
 >
 >     Thanks for the references and answers.
 >





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] spring modeling/scanned synthesis

2024-02-24 Thread cyrille henry




I know a little bit about filters and will try to investigate more. I've been 
avoiding physical modelling for ages and it seems its finally time to dig in :)


Here is the most simple usable structure : a mass and a link.
it look like a 2nd order resonant filter.
now, the challenge is to find the equation that compute K and D from frequency 
and attenuation time.

cheers
c#N canvas 645 122 798 768 12;
#X declare -lib pmpd -lib nusmuk_audio;
#X obj 99 390 oscillo~;
#X obj 23 5 declare -lib pmpd -lib nusmuk_audio;
#X obj 100 332 pmpd~ 1 1;
#X obj 242 303 bng 20 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00;
#X obj 423 389 oscillo~;
#X msg 134 270 setK 0 \$1;
#X floatatom 134 118 5 1 100 0 - - - 0;
#X obj 100 31 loadbang;
#X floatatom 224 149 5 0 0 0 - - - 0;
#X obj 224 177 / 1;
#X msg 224 270 setD 0 \$1;
#X obj 185 503 _fft~;
#X obj 134 196 t f f;
#X obj 134 224 *;
#X obj 134 144 mtof;
#X floatatom 154 249 9 0 0 0 - - - 0;
#X obj 134 170 / 1000;
#X floatatom 234 246 9 0 0 0 - - - 0;
#X obj 421 206 *~;
#X obj 455 205 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X obj 422 255 +~;
#X obj 506 208 *~;
#X obj 540 207 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X obj 505 177 noise~;
#X obj 420 175 phasor~ 20;
#X msg 100 57 reset \, mass 0 \, mass 1 \, link 0 1 0.005 0.005 \, inPos 0 0 1 \, outPos 0 1 1, f 70;
#X connect 2 0 0 0;
#X connect 2 0 11 0;
#X connect 3 0 2 0;
#X connect 5 0 2 0;
#X connect 6 0 14 0;
#X connect 7 0 25 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 9 0 17 0;
#X connect 10 0 2 0;
#X connect 12 0 13 0;
#X connect 12 1 13 1;
#X connect 13 0 5 0;
#X connect 13 0 15 0;
#X connect 14 0 16 0;
#X connect 16 0 12 0;
#X connect 18 0 20 0;
#X connect 19 0 18 1;
#X connect 20 0 2 0;
#X connect 20 0 4 0;
#X connect 21 0 20 0;
#X connect 22 0 21 1;
#X connect 23 0 21 0;
#X connect 24 0 18 0;
#X connect 25 0 2 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] spring modeling/scanned synthesis

2024-02-20 Thread cyrille henry



Le 20/02/2024 à 17:10, Alexandre Torres Porres a écrit :



Em sáb., 17 de fev. de 2024 às 07:01, cyrille henry mailto:c...@chnry.net>> escreveu:

if you put 1 mass and 1 spring, you have a 1st order filter.


hmm, ok

or maybe a 2nd order, since it can resonate. sorry, I'm not good at filters.

cheers
c



if you put two 1st order filter one after the other, you have one 2nd order 
filter.


So this means that the information that you can have a 2nd order filter like Ringz from 
SC is not really "the same" as Spring, the comparison is very crude, so it 
seems, and I thought so...

scann synth was propose when a 100 masses simulation need too much CPU to 
be computed in real time at audio rate. So the shape of the string was only 
computed at data rate.
if you use audio object, then it's not scanned synthesis. it's just PM 
audio simulation.
So, your just mixing multiple things here, and I hardly understand this 
discussion.


hmmm, yeah, I guess they are not "properly" implementing it in SC, just finding 
a way to do it with their resources that comes as close as it is possible...

Well, I'm not sure if it's worth porting SC's Spring into ELSE, they are not 
being able to say what it is useful for in their forum... but I ported the 
bouncing ball and it seems something way more fun to play with.

Thanks




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] spring modeling/scanned synthesis

2024-02-17 Thread cyrille henry



Le 16/02/2024 à 19:16, Alexandre Torres Porres a écrit :

ok, one more thing...

The 1st is just a very basic implementation : it's not possible to 
define a non-linear link for example.
The 2nd one solve them in a very simple scenario : 1 mass and 1 spring. 
So it's not possible to create other network.


So Spring from SuperCollider is just a very simplified model, and according to 
people in the SuperCollider forum it's not really different than a 2nd order 
filter like Ringz or resonant~ from ELSE, right?

the SC spring is not a simplified model, it's the standard model. (you can only 
add complexity to the classic MSS)

if you put 1 mass and 1 spring, you have a 1st order filter.
if you put two 1st order filter one after the other, you have one 2nd order 
filter.



So I'm failing to see where SuperCollider's Spring shines. I already ported it 
to a compiled Pd object, and I also ported the MAX code but I can't see why I 
should bother including them or what would be special about them. I like the 
Ball object from SC and that seems like something fun to have...
But then, I think I mentioned this before, I came across Spring in SC here on this code on 
Scanned Synthesis https://sccode.org/1-4Rm  it's just a chain 
of Spring objects connected in a series, with a feedback loop, so it's circular. The output of 
each spring is an audio channel output and an object crossfades between the channels and 
"scans" it.

I don’t know anything about SC or Max, so I can't talk about that.

scann synth was propose when a 100 masses simulation need too much CPU to be 
computed in real time at audio rate. So the shape of the string was only 
computed at data rate.
if you use audio object, then it's not scanned synthesis. it's just PM audio 
simulation.
So, your just mixing multiple things here, and I hardly understand this 
discussion.
 
cheers

c



So now I wonder if Spring is indispensable in this patch, and if one can just use some other 2nd order filter instead. I am also presuming that there might be some technical details where the sheer simplicity of this setup misses some important factors that you are covering in your scannd synthesis implementations with pmpd, huh?> 
Cheers



thanks for clarifying

But if you just want to play with meaningful parameter without 
understanding the physics, then pmpd is not for you.


This is what I realize, and I would also like to have some higher level 
ready made and easy to use toys for simple tasks.

there are lot's of software dedicated to MSS, the equations are all 
about the same.
But physical modelling is broader than MSS.


sure, I see

Thanks for the references and answers.





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] spring modeling/scanned synthesis

2024-02-15 Thread cyrille henry



Le 15/02/2024 à 06:19, Alexandre Torres Porres a écrit :

  Em sáb., 27 de jan. de 2024 às 05:00, cyrille henry mailto:c...@chnry.net>> escreveu:

  Now let me see if I can get the main principal, is it like you have 
wave table points that move according to spring like motions when excited and 
evolving through time?


it's the masses that move!
if you want to understand more, look at :
http://www.chnry.net/ch/IMG/pdf/-2.pdf 
<http://www.chnry.net/ch/IMG/pdf/-2.pdf>


ok, the masses move, but they move according to a "spring like motion"

I don't understand what is a "spring link motion".
Masses moves according to newton law.
Lot's of different behaviours can be modelled with MSS model...


 as I said and each mass represents a point in a wave table, right?

that's the canonical definition, but you can also put the force applied to the 
mass in the table. or the velocity.
or link length etc

 Also, you have a chain of masses and the last one (the last point in a table) 
connects back to the first one, huh?
that's one possibility. You can also attach both end, like in a guitar, or only 
one, like in an organ pipe.

You can use a membrane better than a string, a random network, make different 
kind of connection between masses, or using a non linear connection between 
them.
You can use a virtual bow, or an clarinet hip to create the movement.

And there are a million more possibility.


you can have a look at few of chdh work :
https://vimeo.com/130239547
http://chdh.net/video_spin.php#;
this is 100% scanned synthesis.



Anyway, just had some time to look back on this. And I've been checking some 
Spring-Mass-Systems.

  I was checking the code of the Spring class in SuperCollider, I was able to port it 
to Pd. See 
https://github.com/supercollider/supercollider/blob/db7eed2a17c361503dbc7f70a557874b6001e3cd/server/plugins/PhysicalModelingUGens.cpp#L77
 
<https://github.com/supercollider/supercollider/blob/db7eed2a17c361503dbc7f70a557874b6001e3cd/server/plugins/PhysicalModelingUGens.cpp#L77>
 note the code says

/// some basic physical modeling ugens - julian rohrhuber 1/04
// these are very simple implementations with cartoonification aspects.
/

And in fact, I was checking this other mass spring damper system implemented in Max 
(that I also ported to Pd) and it seems a much more robust system with more 
meaningful parameters based on actual physical quantities 
https://www.youtube.com/watch?v=2rFkZD51mT8 
<https://www.youtube.com/watch?v=2rFkZD51mT8>

How do both compare to pmpd? 


you probably noticed that they all use the same equation,
The 1st is just a very basic implementation : it's not possible to define a 
non-linear link for example.
The 2nd one solve them in a very simple scenario : 1 mass and 1 spring. So it's 
not possible to create other network.
The beauty of mass/spring system is that it provide an easy way to compute a 
very complex movement, when it's not possible to find analytic solution.

Thanks to pd flexibility, pmpd offer all brick you need to create complex 
movement.
But if you just want to play with meaningful parameter without understanding 
the physics, then pmpd is not for you.
anyway, pmpd was not about sound synthesis, but about control data synthesis. 
It is now possible to generate the same stuff with ~ objects, but you have to 
see it as a way to experiment. It's clearly not a ready to use PM synth.


Is there any canonical model or it's one of those things that is a matter of 
taste and subject to things like desired efficiency versus realism? Do any of 
you know of more models out there in Pd or other computer music systems such as 
Csound, MAX, etc?
there are lot's of software dedicated to MSS, the equations are all about the 
same.
But physical modelling is broader than MSS.



I've also been having fun with Sine Waves with exponential decay envelopes. Like with the [decay~] object from ELSE which is like the Decay class in SC - a one pole filter that you set a "t60" decay time in ms (time it takes to decay 60dB). This way you have a good control on the frequency and decay time. Another option is to just [resonant~] from ELSE, which is also like SuperCollider's Ringz.ar, excited by impulses. This is a resonant 2nd order filter that "rings" for a given decay time and frequency. How does this compare to "Spring Models"? 


you can easily model a 1st or 2nd order resonant filter using pmpd audio 
object. But you will control them using damping and rigidity, not frequency and 
characteristic decay time. They are linked, an abstraction can switch from 1 to 
the 2nd, but that's not the aim of pmpd.

How is Spring "springer" than creating damped oscillators with [decay~] and 
[resonant~]? Also, for reference, I found this in Pd as well 
https://www.youtube.com/watch?v=zW7y5yb0YWQ <https://www.youtube.com/watch?v=zW7y5yb0YWQ> 
that I am relating to [resonant~

Re: [PD] trying to test 'pdp library and 'pdp_scan~'

2024-01-27 Thread cyrille henry



Le 26/01/2024 à 23:35, Alexandre Torres Porres a écrit :
...

by the way, Ben says there's a new pmpd version not up in deken yet, is that 
it? When can we have it if so?

I'm working in a new pmpd version that include the new pmpd2d~ and pmpd3d~. 
Nothing important change for the rest.
pmpd source are on my github :

https://github.com/ch-nry/pd_pmpd



They use the simple native Spring class for it, and I've been having my eye on 
that one, maybe one day including Spring and Ball/TBall into ELSE as well 
(spring~ and ball~?), cause it also seems like a fun thing to control several 
things in a patch.

You will face problem with spring~ and ball~ because of buffers, you better go 
for spring and ball.
and since a spring should also include damping element, let's call it "link".
And the ball have a null radius, they usually are called "mass" in the physical 
modelling world. (I don't know why SC try to be original and change the naming convention 
usually used)
So, this look a lot like pmpd, and after working with if for more than 20 
years, I can confirm that this is very fun!




Now let me see if I can get the main principal, is it like you have wave table 
points that move according to spring like motions when excited and evolving 
through time?


it's the masses that move!
if you want to understand more, look at :
http://www.chnry.net/ch/IMG/pdf/-2.pdf


cheers
c



thanks
cheers






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] trying to test 'pdp library and 'pdp_scan~'

2024-01-17 Thread cyrille henry



Le 16/01/2024 à 17:12, Alexandre Torres Porres a écrit :


Em ter., 16 de jan. de 2024 às 05:08, cyrille henry mailto:c...@chnry.net>> escreveu:

Hello,
If you want to try scann synthesis, I suggest to try pmpd. specially 
example 47.


Running this in Extended now, it looks amazing. Do we really need Gem though?


You need Gem to run this pmpd example, but you can easily adapt the patch to 
run it without Gem.

 I figure it is just for displaying the array which is also a model of a 
string, right?
yes, but since this string use 2d physical model (X and Y movement), you need 2 
array to display masses displacement and it's not very friendly.

Perhaps one could use a Data Structure array instead?
yes, sure! This example was made before data-structure was a thing, but you can 
adapt it easily!

Or just nothing at all to just focus on the sound.
from my experience, for complex movement and shape of the string, having a 
visualisation help a lot. But it really depend on the way you play with it.


By the way, how do we set the frequency in your example? It seems fixed.

This is Pd, of course you can change the frequency! just adapt the patch to do 
whatever you want!!!
The patch is very simple : everything is obviously in [pd corde] (sorry for my 
french). [pd sound] is where the masses position are put on a table. [pd 
table_read] is where the tableread4~ object are located. You just have to 
change the phasor frequency...



As for pdp, it seems it tries to use the webcam or video sources and I don't 
understand why.

In fact I know nothing about scanned synthesis and I just ran into it by 
accident when reading about vector synthesis in wikipedia, and I even read the 
original paper but I couldn't figure it out much yet.

It sounds at first some kinda of wavetable synthesis but it is clearly physical 
modeling, right?


well. the article describe it as :
"The essence of scanned synthesis is to use a slowly
vibrating object whose resonant frequencies are low
enough so the performer can directly manipulate the
object's vibrations by motions of his body and to scan
(measure) the shape of the object along a periodic path by
a periodic scanning function whose period is the
fundamental frequency of the sound we wish to create."

So, yes, a wavetable synthesis with "slowly" updated table by an algorithm that 
you can interact with.


According to this definition, pdp_scan~ is not really a scann synthesis. But 
it's not very far, since it scann an array at sub-audio frequency.

The only example in the article is about a string, but one can imagine lot's of different 
topology of the physical model, lot's of different way to interact with the model, and 
lot's of different way to "play" the shape of the model...




Would love to dig more in it and provide an external myself but it looks quite 
complex...

all you need to explore scann synth is the pmpd lib and tabwrite / tabread~
A scan synth external will be more limited that what pmpd + pd can already 
offer.


Cheers
c



thanks


cheers
c


Le 15/01/2024 à 22:45, Alexandre Torres Porres a écrit :
 > When reading about 'Scanned synthesis' in https://en.wikipedia.org/wiki/Scanned_synthesis 
<https://en.wikipedia.org/wiki/Scanned_synthesis> 
<https://en.wikipedia.org/wiki/Scanned_synthesis 
<https://en.wikipedia.org/wiki/Scanned_synthesis>> I see about the [pdp_scan~] external 
from 'pdp', but I can't use it... I can still try extended in my machine and it didn't really work 
back then, I get
 >
 > Applications/Pd-extended.app/Contents/Resources/extra/pdp/pdp.pd_darwin, 
10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib
 >    Referenced from: 
/Applications/Pd-extended.app/Contents/Resources/extra/pdp/pdp.pd_darwin
 >    Reason: image not found
 > pdp: can't load library
 >
 > Purr Data can't load it either.
 >
 > The 'pdp' version in deken (0-0extended) doesn't work either and all 
print the same error.
 >
 > I wanted to check this object out, does anybody know where the source 
lives and if we can try and compile it?
 >
 > cheers
 >
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] trying to test 'pdp library and 'pdp_scan~'

2024-01-16 Thread cyrille henry

Hello,
If you want to try scann synthesis, I suggest to try pmpd. specially example 47.

cheers
c


Le 15/01/2024 à 22:45, Alexandre Torres Porres a écrit :

When reading about 'Scanned synthesis' in 
https://en.wikipedia.org/wiki/Scanned_synthesis 
 I see about the [pdp_scan~] 
external from 'pdp', but I can't use it... I can still try extended in my machine and 
it didn't really work back then, I get

Applications/Pd-extended.app/Contents/Resources/extra/pdp/pdp.pd_darwin, 10): 
Library not loaded: /usr/X11R6/lib/libX11.6.dylib
   Referenced from: 
/Applications/Pd-extended.app/Contents/Resources/extra/pdp/pdp.pd_darwin
   Reason: image not found
pdp: can't load library

Purr Data can't load it either.

The 'pdp' version in deken (0-0extended) doesn't work either and all print the 
same error.

I wanted to check this object out, does anybody know where the source lives and 
if we can try and compile it?

cheers



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] call for test : pmpd binary for osX

2024-01-08 Thread cyrille henry



Le 06/01/2024 à 00:49, Patco a écrit :

Hello,

I've tested all exemples on arm with Pd 0.53.0,

I'm not sure if this error is about arch when closing exemple 01.basics.pd:

M1: no such object
M3: no such object

...

M18: no such object
M19: no such object
M29: no such object
M30: no such object



OK, I fix that.



-

When 08.balls2D.pd is opened after 07.corde3D it crashes pd



14.MP.curve3D.pd crashes pd when it's opened after exemple 13 and on closing 
patch.


I can't reproduce, so I'm unable to fix this.



---

everything else works greatly

great!

cheers
c




pat


Le 5 janv. 2024 à 15:59, cyrille henry  a écrit :

hello,

Benjamin Wesch did compile pmpd for OSX (arm and x86).

Before putting them on deken, ca anyone test them?

http://chnry.net/data/pmpd_fat.zip

Thanks a lot to everyone and specially to Benjamin!

Cheers
Cyrille



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] call for test : pmpd binary for osX

2024-01-08 Thread cyrille henry


Hello,
Thanks everyone for the test.

Le 06/01/2024 à 21:35, Benjamin Wesch a écrit :

@cryille: where can one get the canonical source code for pmpd these days?
still from the olde sourceforge SVN?


quickly commenting on the build that cyrille posted here now, too: i
took the code from https://github.com/avilleret/pd-pmpd since
https://github.com/ch-nry/pd_pmpd forks from there and antoine
villeret also put v0.12 on deken afaict.


Yes, Antoine took the code on the old SVN and put them on github, manage to use 
github to create binary for few platform.
I forked Antoine repo to keep the code on my side.
There is no need for 2 repository, I'll see Antoine next month and I'll try to 
clean that with him.

 

i'm curious to see whether the reported crashes are related to the
build (i experienced some crashes with the example patches on an m2
mac here, too - although all objects work for me if i test them
separately). 


I'm really surprised by the crash. The code is very basic (no memalloc, no 
external dependency : just few mathematical function).
Just like Peter, I can't reproduce them.
So, this really need to be investigate.


in any case, i would be glad to see a more *official*

macos arm or universal build on deken - i admittedly mainly built this
to work with it here myself. thanks for the tests and involvement!

Since you provide the only binary for mac arm I'm aware of, and unless you have 
an objection, I'll put your build on deken to be the official build!

Cheers
Cyrille



cheers,
ben



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] call for test : pmpd binary for osX

2024-01-05 Thread cyrille henry

hello,

Benjamin Wesch did compile pmpd for OSX (arm and x86).

Before putting them on deken, ca anyone test them?

http://chnry.net/data/pmpd_fat.zip

Thanks a lot to everyone and specially to Benjamin!

Cheers
Cyrille



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] External for reading Precision Time Protocol (PTP) IEE1588 time ?

2023-10-17 Thread cyrille henry



Le 16/10/2023 à 15:49, Winfried Ritsch a écrit :

Hello,

Anybody knows of a library and object reading PTP on a linux computer ?
Need to synchronize puredata messages on milliseconds accuracy with some ESP32
devices playing audio.

If not I will code an external for it.

mfg
   winfried ritsch

PS.: some AI told me there is a pd-precise library, but could not find it via
my real internet access.


according to AI search, Iohannes write a svgout~ object to export image from 
pd, and I'm the author of pd-iemmatrix.
Don't trust AI!

cheers
C







___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] round off the corners of a [line] movement?

2023-09-27 Thread cyrille henry

...and I forget the iir object (vanilla abstraction) in the pure_mapping lib...

cheers


Le 27/09/2023 à 16:18, cyrille henry a écrit :

ho,
and you can cascade 2 line, in order to smooth the 1st one, just like this 
example.

But the best is probably to use line~ with lop~ and control the glissandi in 
audio...

cheers


Le 26/09/2023 à 20:06, Peter P. a écrit :

Hi list,

often when I use [line¨] to make frequency glissandi, the point when the
ramp starts, and the point where it ends, appear as very sudden events
to my ears. I am wondering if there is an easy way to gradually speed up
the ramp when it starts, and slow it down before it reaches its target
value?
The only way I can think of so far is to model such a behavior with two
masses connected by an elastic link using the pmpd library. But a
vanilla way would be very interesting too!

Thanks in advance for all ideas and pointers!
cheersz, Peter



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] round off the corners of a [line] movement?

2023-09-27 Thread cyrille henry



Le 27/09/2023 à 17:58, Antoine Rousseau a écrit :

I've always loved [line3] :-)

thanks!


[line3~] would be cool too, by the way.

you can use a more efficient hack :

[line3]
 |
[$1 20<
 |
[line~]



but lop~ is also working nicely for very low frequency.
see attachment

cheers






Antoine

Le mer. 27 sept. 2023 à 16:12, cyrille henry mailto:c...@chnry.net>> a écrit :

hello,

it's not vanilla, but line3 is using a 3rd degree polynomial to allow 
continuity of the tangents. It is also working if you trigger a new line before 
the end of the current.
equation is not very complex and can be ported to vanilla, but I was lazy...
You can find it in nusmuk_somthing in deken

cheers
c



Le 26/09/2023 à 20:06, Peter P. a écrit :
 > Hi list,
 >
 > often when I use [line¨] to make frequency glissandi, the point when the
 > ramp starts, and the point where it ends, appear as very sudden events
 > to my ears. I am wondering if there is an easy way to gradually speed up
 > the ramp when it starts, and slow it down before it reaches its target
 > value?
 > The only way I can think of so far is to model such a behavior with two
 > masses connected by an elastic link using the pmpd library. But a
 > vanilla way would be very interesting too!
 >
 > Thanks in advance for all ideas and pointers!
 > cheersz, Peter
 >
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>
#N canvas 195 365 475 450 12;
#X obj 145 162 snapshot~;
#X obj 257 102 metro 20;
#X obj 259 73 loadbang;
#X obj 143 198 vsl 20 170 0 1 0 0 empty empty empty 0 -9 0 12 #fcfcfc #00 #00 0 1;
#X obj 141 59 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X obj 140 95 lop~ 0.1;
#X obj 143 123 lop~ 0.1;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 0 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] round off the corners of a [line] movement?

2023-09-27 Thread cyrille henry

ho,
and you can cascade 2 line, in order to smooth the 1st one, just like this 
example.

But the best is probably to use line~ with lop~ and control the glissandi in 
audio...

cheers


Le 26/09/2023 à 20:06, Peter P. a écrit :

Hi list,

often when I use [line¨] to make frequency glissandi, the point when the
ramp starts, and the point where it ends, appear as very sudden events
to my ears. I am wondering if there is an easy way to gradually speed up
the ramp when it starts, and slow it down before it reaches its target
value?
The only way I can think of so far is to model such a behavior with two
masses connected by an elastic link using the pmpd library. But a
vanilla way would be very interesting too!

Thanks in advance for all ideas and pointers!
cheersz, Peter



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list#N canvas 797 158 586 482 12;
#X obj 175 111 line 0 100;
#X msg 141 210 \$1 200;
#X msg 174 84 \$1 1000;
#X obj 170 52 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #00 #00 0 1;
#X obj 139 236 line;
#X obj 131 278 timeroll;
#X obj 139 181 f;
#X obj 138 155 metro 100;
#X obj 135 132 loadbang;
#X connect 0 0 6 1;
#X connect 1 0 4 0;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#X connect 6 0 1 0;
#X connect 7 0 6 0;
#X connect 8 0 7 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] round off the corners of a [line] movement?

2023-09-27 Thread cyrille henry

hello,

it's not vanilla, but line3 is using a 3rd degree polynomial to allow 
continuity of the tangents. It is also working if you trigger a new line before 
the end of the current.
equation is not very complex and can be ported to vanilla, but I was lazy...
You can find it in nusmuk_somthing in deken

cheers
c



Le 26/09/2023 à 20:06, Peter P. a écrit :

Hi list,

often when I use [line¨] to make frequency glissandi, the point when the
ramp starts, and the point where it ends, appear as very sudden events
to my ears. I am wondering if there is an easy way to gradually speed up
the ramp when it starts, and slow it down before it reaches its target
value?
The only way I can think of so far is to model such a behavior with two
masses connected by an elastic link using the pmpd library. But a
vanilla way would be very interesting too!

Thanks in advance for all ideas and pointers!
cheersz, Peter



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] how force [pix_film] to use the QuickTime backend on Windows

2023-09-25 Thread cyrille henry

if you put pd log verbosity to 3, you'll see in the log the backend used by 
pix_film.
On my computer, I've got :
[pix_film]: quicktime4linux support
[pix_film]: image support
You probably have others.

According to pix_film help file, you need to send a "loader" message to use 
only a specific backend.
More informations about specific backend can be found in the help patch.


cheers

Le 24/09/2023 à 16:42, Csaba Láng a écrit :

Or the other way around what video codecs and what extension can be used to be 
played on Windows 11 by pix_film?

On Sun, Sep 24, 2023 at 3:06 PM Csaba Láng mailto:langcs...@gmail.com>> wrote:

Dear List,

I want to play .mov on windows pd 0.54 with Gem 0.94
How can I //force [pix_film] to use the QuickTime backend.

Thanks in advance for any help.
Best,
Popesz


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Rectangle object does not understand [width 7( message

2023-09-21 Thread cyrille henry

hello,

ok, thanks for the screenshot. (i still think a patch is easier to share than a 
screenshot)

Since nothing have been changed in this part of Gem this last 10 years, it is 
safe to assume that the difference between your 2 computers is not related to 
Gem.
So, as Iohannes say, the problem is probably on the openGL implementation, 
certainly because of WSL.
I never had this problem on a ubuntu computer with old intel GPU.

I'm sorry , but I have no solution to offer exept not using WSL
cheers


 



Le 20/09/2023 à 11:42, Csaba Láng a écrit :

Cyrille,

I am attaching the screenshot from my both system installed:
Screenshot 2023-09-20 113857.png

The top line is the windows based Pd, the bottom line is from the wsl2 Ubuntu. 
width 5 was applied on both rectangles. No error message printed in the console.
I hope it clears your doubts.
Let me know if you need anything else at this point.
Best,
Popesz

On Wed, Sep 20, 2023 at 10:34 AM Csaba Láng mailto:langcs...@gmail.com>> wrote:

You misunderstood me. I did use a simple patch and of course I used the 
width message correctly to the first inlet of the rectangle or circle objects 
with numbers from 1 to 7.
Under windows works correctly.

On Wed, 20 Sep 2023 at 10:29, cyrille henry mailto:c...@chnry.net>> wrote:



Le 20/09/2023 à 09:39, Csaba Láng a écrit :
 > I have found this discussion on the web.
 >
 > https://github.com/microsoft/WSL/issues/2855 
<https://github.com/microsoft/WSL/issues/2855> 
<https://github.com/microsoft/WSL/issues/2855 
<https://github.com/microsoft/WSL/issues/2855>>
 > Does it take me closer to make it work?
 > I have a NUC i9 Beast Canyon computer with the integrated graphic card in it 
https://simplynuc.com/beast-canyon/ <https://simplynuc.com/beast-canyon/> 
<https://simplynuc.com/beast-canyon/ <https://simplynuc.com/beast-canyon/>>
 >
 > Surely I have tried the simplest patch from the rectangle-help.pd. 
Tha was my first to try
the rectangle-help patch did not include a width message!
It may look silly, but I want to be 100% sure that you are using the 
width message correctly before blaming anything else.
Since you refuse to provide a simple patch that reproduce the problem 
on your computer, I can't confirm the problem and will not investigate further.

Cheers


 >
 > On Wed, Sep 20, 2023 at 9:13 AM Csaba Láng mailto:langcs...@gmail.com> <mailto:langcs...@gmail.com 
<mailto:langcs...@gmail.com>>> wrote:
 >
 >     Indeed too complicated, especially taking into account that I 
have something like 100 patches using the same thick lines. So it is not Gem 
related according to you but openGL?
 >
 >
 >     On Wed, Sep 20, 2023 at 8:29 AM cyrille henry mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>> wrote:
 >
 >         hello,
 >
 >         The width message is working as expected here.
 >         GEM: ver: 0.94.git v0.94-351-g2ba06167
 >         GEM: compiled  on Jan 12 2023
 >
 >         Can you send the test patch you are using, or try the 
curve-help file and tell us if the width message is working?
 >
 >         if it's not a patch problem, it's the hardware that can't 
interpret this message. What is your GPU?
 >
 >         cheers
 >         C
 >
 >
 >         Le 19/09/2023 à 23:33, Csaba Láng a écrit :
 >          > By the way, the same issue with the circle object. [width 
$1( is just ignored with the draw line message.
 >          >
 >          > On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng mailto:langcs...@gmail.com> 
<mailto:langcs...@gmail.com <mailto:langcs...@gmail.com>> <mailto:langcs...@gmail.com 
<mailto:langcs...@gmail.com> <mailto:langcs...@gmail.com <mailto:langcs...@gmail.com>>>> wrote:
 >          >
 >          >     You are right, wrong word I used. I meant installing 
Gem 0.94 from Deken.
 >          >
 >          >     On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig mailto:zmoel...@iem.at> <mailto:zmoel...@iem.at <mailto:zmoel...@iem.at>> <mailto:zmoel...@iem.at 
<mailto:zmoel...@iem.at> <mailto:zmoel...@iem.at <mailto:zmoel...@iem.at>>>> wrote:
 >          >
 >          >         On 9/19/23 22:54, Csaba Láng wrote:
 >          >          > Hi list,
 >          >          >
 >          >          > I have a windows system with

Re: [PD] Rectangle object does not understand [width 7( message

2023-09-20 Thread cyrille henry



Le 20/09/2023 à 09:39, Csaba Láng a écrit :

I have found this discussion on the web.

https://github.com/microsoft/WSL/issues/2855 
<https://github.com/microsoft/WSL/issues/2855>
Does it take me closer to make it work?
I have a NUC i9 Beast Canyon computer with the integrated graphic card in it 
https://simplynuc.com/beast-canyon/ <https://simplynuc.com/beast-canyon/>

Surely I have tried the simplest patch from the rectangle-help.pd. Tha was my 
first to try

the rectangle-help patch did not include a width message!
It may look silly, but I want to be 100% sure that you are using the width 
message correctly before blaming anything else.
Since you refuse to provide a simple patch that reproduce the problem on your 
computer, I can't confirm the problem and will not investigate further.

Cheers




On Wed, Sep 20, 2023 at 9:13 AM Csaba Láng mailto:langcs...@gmail.com>> wrote:

Indeed too complicated, especially taking into account that I have 
something like 100 patches using the same thick lines. So it is not Gem related 
according to you but openGL?


On Wed, Sep 20, 2023 at 8:29 AM cyrille henry mailto:c...@chnry.net>> wrote:

hello,

The width message is working as expected here.
GEM: ver: 0.94.git v0.94-351-g2ba06167
GEM: compiled  on Jan 12 2023

Can you send the test patch you are using, or try the curve-help file 
and tell us if the width message is working?

if it's not a patch problem, it's the hardware that can't interpret 
this message. What is your GPU?

cheers
C


Le 19/09/2023 à 23:33, Csaba Láng a écrit :
 > By the way, the same issue with the circle object. [width $1( is 
just ignored with the draw line message.
 >
 > On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng mailto:langcs...@gmail.com> <mailto:langcs...@gmail.com 
<mailto:langcs...@gmail.com>>> wrote:
 >
 >     You are right, wrong word I used. I meant installing Gem 0.94 
from Deken.
 >
 >     On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig mailto:zmoel...@iem.at> <mailto:zmoel...@iem.at <mailto:zmoel...@iem.at>>> wrote:
 >
 >         On 9/19/23 22:54, Csaba Láng wrote:
 >          > Hi list,
 >          >
 >          > I have a windows system with wsl2 Ubuntu distro on it. 
Installing on the
 >          > ubuntu subsystem pd and compiling Gem from Dekken
 >
 >         i'm not sure what you mean with "compiling Gem from 
deken"...deken is a
 >         way to deliver pre-built binaries, nothing to compile.
 >
 >
 >         , the rectangle object
 >          > does not understand the [width $1( message
 >
 >         what exactly do you mean with "does not understand the 
message"?
 >
 >
 >         gfmdsa
 >         IOhannes
 >         ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> 
<mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at>> mailing list
 >         UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list <https://lists.puredata.info/listinfo/pd-list> 
<https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>>
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Rectangle object does not understand [width 7( message

2023-09-20 Thread cyrille henry

it can be a patch problem, specially if your patch is very complex. Please, 
create a simple patch (gemhead / rectangle and the witdh message), that 
reproduce your problem so we can compare on other computer.
cheers


Le 20/09/2023 à 09:13, Csaba Láng a écrit :

Indeed too complicated, especially taking into account that I have something 
like 100 patches using the same thick lines. So it is not Gem related according 
to you but openGL?


On Wed, Sep 20, 2023 at 8:29 AM cyrille henry mailto:c...@chnry.net>> wrote:

hello,

The width message is working as expected here.
GEM: ver: 0.94.git v0.94-351-g2ba06167
GEM: compiled  on Jan 12 2023

Can you send the test patch you are using, or try the curve-help file and 
tell us if the width message is working?

if it's not a patch problem, it's the hardware that can't interpret this 
message. What is your GPU?

cheers
C


Le 19/09/2023 à 23:33, Csaba Láng a écrit :
 > By the way, the same issue with the circle object. [width $1( is just 
ignored with the draw line message.
 >
 > On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng mailto:langcs...@gmail.com> <mailto:langcs...@gmail.com 
<mailto:langcs...@gmail.com>>> wrote:
 >
 >     You are right, wrong word I used. I meant installing Gem 0.94 from 
Deken.
 >
 >     On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig mailto:zmoel...@iem.at> <mailto:zmoel...@iem.at <mailto:zmoel...@iem.at>>> wrote:
 >
 >         On 9/19/23 22:54, Csaba Láng wrote:
 >          > Hi list,
 >          >
 >          > I have a windows system with wsl2 Ubuntu distro on it. 
Installing on the
 >          > ubuntu subsystem pd and compiling Gem from Dekken
 >
 >         i'm not sure what you mean with "compiling Gem from 
deken"...deken is a
 >         way to deliver pre-built binaries, nothing to compile.
 >
 >
 >         , the rectangle object
 >          > does not understand the [width $1( message
 >
 >         what exactly do you mean with "does not understand the message"?
 >
 >
 >         gfmdsa
 >         IOhannes
 >         ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> <mailto:Pd-list@lists.iem.at 
<mailto:Pd-list@lists.iem.at>> mailing list
 >         UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list> <https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>>
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Rectangle object does not understand [width 7( message

2023-09-20 Thread cyrille henry

hello,

The width message is working as expected here.
GEM: ver: 0.94.git v0.94-351-g2ba06167
GEM: compiled  on Jan 12 2023

Can you send the test patch you are using, or try the curve-help file and tell 
us if the width message is working?

if it's not a patch problem, it's the hardware that can't interpret this 
message. What is your GPU?

cheers
C


Le 19/09/2023 à 23:33, Csaba Láng a écrit :

By the way, the same issue with the circle object. [width $1( is just ignored 
with the draw line message.

On Tue, Sep 19, 2023 at 11:15 PM Csaba Láng mailto:langcs...@gmail.com>> wrote:

You are right, wrong word I used. I meant installing Gem 0.94 from Deken.

On Tue, Sep 19, 2023 at 11:13 PM IOhannes m zmölnig mailto:zmoel...@iem.at>> wrote:

On 9/19/23 22:54, Csaba Láng wrote:
 > Hi list,
 >
 > I have a windows system with wsl2 Ubuntu distro on it. Installing on 
the
 > ubuntu subsystem pd and compiling Gem from Dekken

i'm not sure what you mean with "compiling Gem from deken"...deken is a
way to deliver pre-built binaries, nothing to compile.


, the rectangle object
 > does not understand the [width $1( message

what exactly do you mean with "does not understand the message"?


gfmdsa
IOhannes
___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list 



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] example needed: rfft~ into magnitudes AND phases AND back

2023-06-01 Thread cyrille henry

hello,

expr~ is in vanilla!

so [expr atan2($f1, $f2)] should work.

cheers


Le 01/06/2023 à 09:55, Peter P. a écrit :

Dear list,

I am still trying to calculate (unwrapped) phases from cartesian complex
numbers output by [rfft~] and got pointed to cyclone's [atan~] and
[phasewrap~]. I am wondering Is there a way to achieve the same with
vanilla pd objects?

Thanks!
Peter

* Peter P.  [2023-05-26 14:10]:

Hi list,

trying to work on phase angles of spectra I am looking for an easy
example with actual Pd objects how to convert a [rfft~] output from
real and imaginary to magnitudes and phases, eventually unwrap phases if
required, and then convert magnitudes and phases back to a cartesian for
[rifft~].

I know about the Dudas/Lippe pvoc tutorials for MaxMSP but can not find
much in Pd's documentation. Perhaps I am missing something?

Thanks for any pointers!
best, Peter




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pduino issue?

2023-04-14 Thread cyrille henry



Le 14/04/2023 à 12:44, Roman Haefeli a écrit :

On Fri, 2023-04-14 at 12:37 +0200, cyrille henry wrote:

Le 14/04/2023 à 09:59, Roman Haefeli a écrit :

On Fri, 2023-04-14 at 09:05 +0200, cyrille henry wrote:


This sound like a problem in the serial connection, maybe the
arduino
misses some data because they are send to fast.


You make it sound like it behaves like UDP where some packets are
omitted if the link is saturated. But the serial connection is
_serial_
and buffered (from what I understand) and I was assuming that data
doesn't get randomly lost during transmission.

If you fill the buffer faster than you can empty it, at one point the
buffer will be full and then you will lose data.
you CAN lost data on serial connection.


I see. Do you know how [comport] handles buffer overruns? Does it block
Pd? Does it drop new data and print an error? Does it silently drop
data?

I don't know.
But I was more thinking about data lost in the arduino side.

C




Roman





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pduino issue?

2023-04-14 Thread cyrille henry



Le 14/04/2023 à 09:59, Roman Haefeli a écrit :

On Fri, 2023-04-14 at 09:05 +0200, cyrille henry wrote:


This sound like a problem in the serial connection, maybe the arduino
misses some data because they are send to fast.


You make it sound like it behaves like UDP where some packets are
omitted if the link is saturated. But the serial connection is _serial_
and buffered (from what I understand) and I was assuming that data
doesn't get randomly lost during transmission.

If you fill the buffer faster than you can empty it, at one point the buffer 
will be full and then you will lose data.
you CAN lost data on serial connection.

C



Of course, data still can get garbled during transmission due to
unstable power, unstable physical connection and similar reasons.

Roman


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pduino issue?

2023-04-14 Thread cyrille henry

Hello Rick,
This sound like a problem in the serial connection, maybe the arduino misses 
some data because they are send to fast.
Have you tried to slow down the messages you send (not sending them all on the 
same time)?
Have you try to configure and use all pin interdependently?

Cheers
C


Le 13/04/2023 à 23:28, Rick Snow a écrit :

Hello list,

I am helping someone use pd with an arduino mega.  They would like to use all 
of the digital output pins.  I’ve used pduino in the past in this way and not 
had trouble, but I seem to be bumping into something now.

I started by using the arduino help patch.  StandardFirmata sketch on the Mega. 
 Connection via usb works fine.

I set all the pins to output by sending "pinMode 2 output” -> “pinMode 45 
output” messages to the arduino object. No errors.

Then, I use the messages “digital 2 1” “digital 2 0” -> “digital 45 1” “digital 
45 0” sent to the arduino object to check the pins.  When checking with a 
multimeter I am not able to get output from pins 2-7.  I do get output from 8-20.  
Between 20-40 some pins work and others not at all.  Other pins will turn on but 
not turn off.

Checking the pins using a simple blink sketch shows all the pins working fine.

Any advice would be greatly appreciate!

Cheers,
Rick





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Fwd: Shared memory for [pd~] processes

2023-02-01 Thread cyrille henry

I answer back on the list...

I think I did not compile it in the last 10 years, but A.villeret did and he 
use github magic to compile it on various platform.

code is here :
https://github.com/ch-nry/pd_shmem

updating this file will certainly do the job for a mac arm64, but I don't have 
time to look at it for now:
https://github.com/ch-nry/pd_shmem/blob/main/.github/workflows/build-pd-externals.yml

cheers
C


 Message transféré 
Sujet : Re: [PD] Shared memory for [pd~] processes
Date :  Wed, 1 Feb 2023 18:13:31 +
De :Phil Stone 
Pour :  cyrille henry 



Hi Cyrille,

Sorry to bother you again, but am I correct that shmem is not available for Mac 
arm64?

May I be of use in compiling it for that architecture, and if so, could you 
point me to the code repository?

Phil

*From: *Phil Stone 
*Date: *Wednesday, February 1, 2023 at 9:24 AM
*To: *cyrille henry , pd-list@lists.iem.at 

*Subject: *Re: [PD] Shared memory for [pd~] processes

Oh, that’s fantastic. Thanks, Cyrille (and William)!

Phil

*From: *Pd-list  on behalf of cyrille henry 

*Date: *Wednesday, February 1, 2023 at 9:18 AM
*To: *pd-list@lists.iem.at 
*Subject: *Re: [PD] Shared memory for [pd~] processes

Hello Phil,

shmem have been develop for this purpose, and it still works great for this 
purpose...

I think you can install it from deken.

Cheers
C


Le 01/02/2023 à 17:56, Phil Stone a écrit :

Hello everyone,

I’ve converted my old ‘polywavesynth’ to being able to spawn a new [pd~] 
process for its voice management, and that’s working really well. I can see the 
load spread to other cores for multiple synthesizers, and after working out 
some bugs, I’m really happy  with this new capability.

I have another old synthesizer, ‘polygrainsynth’ I’d like to modify similarly. 
It has a large array which is displayed (and can be edited) in the top-level 
process. The array is used by the individual voices, which would be in a 
subprocess. Is there a way  to share that array between the parent process and 
the sub-[pd~] process?

I searched the archives and found mention of ‘share-mem’ by Cyrille Henry back in 2012:  
https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html> 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html>> but I can’t find 
any other mention of it.

Best,

Phil

Phil Stone

Davis, California USA


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list 
<https://lists.puredata.info/listinfo/pd-list>




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Shared memory for [pd~] processes

2023-02-01 Thread cyrille henry

Hello Phil,

shmem have been develop for this purpose, and it still works great for this 
purpose...

I think you can install it from deken.

Cheers
C


Le 01/02/2023 à 17:56, Phil Stone a écrit :

Hello everyone,

I’ve converted my old ‘polywavesynth’ to being able to spawn a new [pd~] 
process for its voice management, and that’s working really well. I can see the 
load spread to other cores for multiple synthesizers, and after working out 
some bugs, I’m really happy with this new capability.

I have another old synthesizer, ‘polygrainsynth’ I’d like to modify similarly. 
It has a large array which is displayed (and can be edited) in the top-level 
process. The array is used by the individual voices, which would be in a 
subprocess. Is there a way to share that array between the parent process and 
the sub-[pd~] process?

I searched the archives and found mention of ‘share-mem’ by Cyrille Henry back in 
2012: https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html> but I can’t 
find any other mention of it.

Best,

Phil

Phil Stone

Davis, California USA


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Can [pd~ start ...] *not* open a window?

2023-01-26 Thread cyrille henry



Le 27/01/2023 à 05:01, Phil Stone a écrit :

Hi all,

I hope this is a quick question: is it possible for a [pd~ start foo.pd( 
message to **not** open/display foo.pd’s canvas? This seems like it might be a 
job for ‘-nogui’, but I’ve had no luck with that (and where would it go, if 
it’s the answer)?

Thanks for any enlightenment,



The answer is in pd~ help file!


"pd~ start" takes as arguments
any startup flags you wish to send the sub-process. For example, specify 
"-nogui" to
stop the sub-process's GUI from appearing.

cheers
Cyrille


Phil

Phil Stone

Davis, CA. USA


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] bang [gemhead]?

2022-07-31 Thread cyrille henry

hello,
The timing to bang a gemhead is very specific. You need to bang it after the 
beginning of the rendering process and before the end of the rendering process. 
(In short, you need to use an other gemhead)
If you want to sync our render on a ~ object, the easiest solution is to use single 
buffering (with message "buffer 1" before the window creation).

This will open a can of worms depending on what you want to do, but let's solve 
1 problem at a time...

An other solution is to set Gem fps to the frequency of the output of the env~ 
object (you can easily compute it).

Cheers
c


Le 30/07/2022 à 19:03, Peter P. a écrit :

Hi,

I'd like to single-step rendering Gem frames, synced to the output of a
tilde-object [env~]. It seems that when I turn off a [gemhead] with the
0 message, it doesn't render when receiving individual bangs. This might
be intenional, but is there an explanation?

much appreciated, as alwas, sincerely,
Peter



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
.




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] shmem V1.1 is out, WAS Re: Choices of IPC when using fast-forward

2022-03-19 Thread cyrille henry

Hello,
Antoine finality found the bug in my code that prevent the windows compilation.

So shmem 1.1 is finally out!

Thanks to Antoine wizardry and some magic in github, a package was 
automatically upload to deken with binary for everybody!

let's wait the standard time for deken to share it and test!!!

cheers
C

Le 17/03/2022 à 18:04, Charles Z Henry a écrit :

On Thu, Mar 17, 2022 at 3:26 AM IOhannes m zmölnig  wrote:



On 3/17/22 08:58, cyrille henry wrote:



Notable limitations:
1. Every process needs to know/use the same size for shmem ID's.

is that a real limitation?
Do you have a practicable example where one need to share memory of
different size?


i don't think this is the problem that chuck is referring to.
afaiu, it's rather that the two processes need to have a priori
knowledge of two different "thingies" in order to share some memory
(without bad surprises): the ID and the size.

from a UX pov the question is, why it's not possible to only have to
share a single "thingy" (the ID) and have the others be shared implicitly.

fmgdsaf
IOhannes


Yes, it's exactly that--there's always at least one shared piece of
information that's hard-coded in both patches, if you want to
communicate solely through shmem.  It's trivially extended though.
All processes agree to read from one chosen shmem ID of size 2 on
startup and know that it contains the ID/size of a variable-length
shmem that's now known.  Before you know it, you're writing a whole
protocol.

What's the best method for callbacks from a process that has completed
its task and has data ready to be staged out?
The toplevel process has to be able to be reached from multiple
processes--so that seems like it should just be a udp port.  Unsure on
this point, though

Best,
Chuck



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [SPAM] Re: [SPAM] Re: Choices of IPC when using fast-forward

2022-03-17 Thread cyrille henry

Hello

Le 17/03/2022 à 10:05, Lucas Cordiviola a écrit :


On 17/03/2022 05:55, cyrille henry wrote:
I did not find any binary on deken so I don't know where they are! 



On Deken's preferences un-tick "Hide foreign architectures"

thanks!

so, V1.0 is on deken for darwin, linux and windows, all of them for 32 and 64 
bit.

to correct my last mail :
Latest source are on my github : https://github.com/ch-nry/pd_shmem
but they don't compile for windows.
that's probably why I never made a version 1.1.

cheers
C






It will show the Windows version.


--

Mensaje telepatico asistido por maquinas.

.




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Choices of IPC when using fast-forward

2022-03-17 Thread cyrille henry



Le 17/03/2022 à 09:24, IOhannes m zmölnig a écrit :


On 3/17/22 08:58, cyrille henry wrote:



Notable limitations:
1. Every process needs to know/use the same size for shmem ID's.

is that a real limitation?
Do you have a practicable example where one need to share memory of different 
size?


i don't think this is the problem that chuck is referring to.
afaiu, it's rather that the two processes need to have a priori knowledge of two 
different "thingies" in order to share some memory (without bad surprises): the 
ID and the size.


Things are like that because I copy code from your object "pix_share_read" and 
"pix_share_write"!


from a UX pov the question is, why it's not possible to only have to share a single 
"thingy" (the ID) and have the others be shared implicitly.


Yes, automatically sharing the memory size could be possible, and can be useful 
in some situation.

Since I don't spend a lot's of time in pd currently, one should not expect a 
new version soon. But I accept patch!

cheers
c



fmgdsaf
IOhannes

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [SPAM] Re: Choices of IPC when using fast-forward

2022-03-17 Thread cyrille henry

I think, the latest code is on my github :
https://github.com/ch-nry/pd_shmem
it still say version 1, but work have been done since, it need to be increase.

the allocate message was add in the last version.

I did not find any binary on deken so I don't know where they are!

Antoine just told me that he manage to compile it for windows, so a proper 
deken release should be made.

cheers
C


Le 17/03/2022 à 09:33, Lucas Cordiviola a écrit :

On 17/03/2022 04:58, cyrille henry wrote:

so the last version is only available in deken for linux and osX.
I'll be happy if anyone else want to gives a try at a windows compilation...


shmem[v1.0] is the latest?

There are Windows versions for it.

If there is a new version: where I can find the sources?


--

Mensaje telepatico asistido por maquinas.

.




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Choices of IPC when using fast-forward

2022-03-17 Thread cyrille henry

Hello Chuck,


Le 16/03/2022 à 22:00, Charles Z Henry a écrit :

[...]



My conclusion there was that shmem can be used for asynchronous
inter-process communication with minimal risk to real-time. 

it can also be used between 2 synchronous process!

 It's very

good as a fundamental object--it does not block, it does not
synchronize.

that's the aim!


Notable limitations:
1. Every process needs to know/use the same size for shmem ID's.

is that a real limitation?
Do you have a practicable example where one need to share memory of different 
size?


2. Once allocated, a shmem cannot be re-sized.


There is an allocate message now!
It allow to change the Id and the memory size.
But Antoine have problem compiling it on windows, so the last version is only 
available in deken for linux and osX.
I'll be happy if anyone else want to gives a try at a windows compilation...


3. Writing to/from an extremely large array all at once poses a risk
to real-time.

yes, obviously, moving data from an memory position to an other need time.
It's far from ideal, but in this situation of "extremely large array" you can 
spread over time your read/write.

best
Cyrille



I'd like to write a pair of management abstractions for using fast
forward and shmem, then, that make it easy to stage in/out large,
variable-length data

Anybody else have best practices for IPC when using fast forward?
Having a listener on the 2nd process between computing sprints in the
"fast forward" process completely changes how I can do things.

other: is there a good way to start/stop processes other than
[ggee/shell]? cross-platform?

Chuck



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
.




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [Gem] bit depth of display

2022-02-18 Thread cyrille henry



Le 17/02/2022 à 21:24, Roman Haefeli a écrit :

[...]


My impression is that the OpenGL side is all 32bit float. I tried
'quality 1' to [pix_texture] which does (from what I see) linear
interpolation. And I also tried bicubic interpolation with a shader
written by Cyrille Henry from 2007. The shader code is using type vec4
internally and GLSL spec says that this is 32bit float [1].



Computation is done with 32 bit float, but that does not mean that the result 
is stored as a 32 bit float...
The GPGPU example shows how to keep precision in texture (but not to render in 
high precision).

In your example, you only need the gem windows to be rendered in 10bits/color. 
Unfortunately, I don't thing there is flag or message to allow this for now. 
You should create a feature request.

As Claude says, adding dither is a good way to mask this problem.

cheers
c



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] pd~ crash with broken pipe and difference between "pd~ start -nogui" and pd~ with gui

2021-11-15 Thread cyrille henry

hello,
I've got some problem with pd~.
I'm using pd 0.51.4 and pd~ version 0.54.

It look like pd~ scheduling have been changed from what I was used to.

now, pd~ with or without gui did not react on the same way. And I also experience crash 
with "broken pipe" error in various situation.

See attachment for better explanations.

Can someone please confirm this problem?

What is the best practice using pd~?
The only solution I found is to have a [loadbang] -> [dsp 1( -> [send pd] in 
the main patch and in the subprocess patch. This way, things works the same if pd~ is 
started with or without gui.

cheers
Cyrille
 
#N canvas 696 172 634 816 12;
#X msg 33 730 pd~ stop;
#X msg 26 198 pd~ start pd~-subprocess.pd;
#X obj 26 269 pd~ -fifo 20;
#X obj 26 300 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 243 269 pd~ -fifo 20;
#X obj 243 302 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 26 10 loadbang;
#X msg 26 34 dsp 0;
#X obj 26 60 s pd;
#X obj 28 449 s pd;
#X msg 243 198 pd~ start -nogui pd~-subprocess.pd;
#X obj 30 581 s to_pd~;
#X obj 46 233 r to_pd~;
#X obj 264 235 r to_pd~;
#X obj 33 759 s to_pd~;
#X obj 32 669 s pd;
#X msg 32 643 dsp 0;
#X text 154 480 the subprocess 1 is clocked: the metro output bangs
;
#X msg 30 554 pd~_dsp 1;
#X msg 28 423 dsp 1;
#X obj 26 128 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 24 376 wait few seconds;
#X text 89 425 <- 2 : start dsp of the main patch \, but not on the
pd~ subprocess;
#X obj 243 325 print pd_with_no_gui;
#X obj 26 322 print pd_with_gui;
#X text 155 499 the subprocess 2 crash after few seconds;
#X text 99 643 <- 4 : stop process 1 : pd~ will crash after few seconds
;
#X text 130 138 gui-less pd : pd~ open the patch and execute the loadbang
;
#X text 109 120 <- pd with gui : pd~ open a new pd: the patch did not
load;
#X text 25 100 DSP OFF;
#X text 101 557 <- 3 : start the audio in the pd~ subprocess. It did
not change anything for the 1st subprocess \, and start the 2nd subprocess
if it is not crashed, f 67;
#X connect 0 0 14 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 24 0;
#X connect 4 0 5 0;
#X connect 5 0 23 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 10 0 4 0;
#X connect 12 0 2 0;
#X connect 13 0 4 0;
#X connect 16 0 15 0;
#X connect 18 0 11 0;
#X connect 19 0 9 0;
#X connect 20 0 1 0;
#X connect 20 0 10 0;
#N canvas 148 361 450 300 12;
#X obj 144 46 loadbang;
#X obj 148 100 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 186 103 stdout;
#X msg 327 116 dsp \$1;
#X obj 327 146 s pd;
#X obj 328 49 r pd~_dsp;
#X obj 339 80 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 145 69 metro 300;
#X connect 0 0 7 0;
#X connect 3 0 4 0;
#X connect 5 0 3 0;
#X connect 5 0 6 0;
#X connect 7 0 1 0;
#X connect 7 0 2 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] list of Pd forks?

2021-10-06 Thread cyrille henry



Le 06/10/2021 à 16:46, Alexandre Torres Porres a écrit :

hmmm, I thought there was a pretty simple and straightforward and "universal" definition of a fork, which would be 
basically a parallel (independent) development. Maybe there's just no "official scientific definition"? Wikipedia 
 says "/a project fork happens when developers take a copy of 
source code from one software package and start independent development on it, creating a distinct and separate piece of 
software/", one of the referred sources on wikipedia  says 
"/In general it is assumed that a software product evolves within the authoring company or group of developers that develop 
the project. However, in some cases different groups of developers make the software evolve in different directions, a situation 
which is commonly known as a fork./"


[...]

And, well, I can't consider MAX as a fork of Pd or the other way around. I 
heard that MSP objects were first based on Pd signal objects, but that's not 
really a fork of the software, more like appropriation - or stealing :)


The fork is not about Max, but about MSP. Last time I start Max/MSP (v 3.1), the startup 
log says "MSP based on pd by Miller S. Puckette"
I think it fall under the fork definition on the beginning of your mail (MSP use pd code, and is 
now "developed independently" and is clearly a "distinctive piece of software").
MSP is probably the most famous pd fork!

(and electronic-art fork I mention in my previous mail fall also in this 
definition)

Anyway, maybe you are more looking at open sources fork of Pd ? (many closed 
sources fork will never be identified)

cheers




cheers

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] list of Pd forks?

2021-10-06 Thread cyrille henry

electronic art forked pd to became the audio engine of a game (spore). I don't 
know the name of the fork since it was not public.
Other company have probably done the same without advertising it.

cheers

Le 05/10/2021 à 04:12, Alexandre Torres Porres a écrit :

hi folks, I'm writing a text about Pd's history and I want to get things right. 
I'm mentioning Pd forks and woulldn't like to miss any, but then some might be 
not worth mentioning? I don't, here's what I know and have

- DesireData
- Pd Extended (and its further forks Pd-l2ork/Purr Data)
- Pd Ceammc
- Pd next
- Spaghettis

That's it, right? Did I miss something?

thanks

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Working with Memory-Mapped File or Ramdisk

2021-09-19 Thread cyrille henry

hello,
can you elaborate about share-mem lib overhead?
I'm not aware of such problem.
cheers
Cyrille


Le 18/09/2021 à 18:43, Sebastian Lexer a écrit :

Hi List,

I want to share memory between several instances of PD running on separate 
reserved cores. I've tried the share-mem lib, but it has a very high overhead.

Since I am writing custom externals for the puredata patches, I have started to 
include writing the data to be shared into files on a ramdisk. It does work 
quite nicely, but I am wondering whether some more elegant solution could be 
done using the Memory-Mapped Files, or are there any other simple and fast 
solutions around?

Has anyone on this list experience with this? I don't actually need to share 
large data sets, mostly it's just bytes that indicate the state of the patch. 
Network based solutions have proven to be too slow.

These patches will run on raspberry pi.

Thanks!
S





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
.




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple audio outputs on a single-board computer ?

2021-07-13 Thread cyrille henry

Hello,

I bought one octo for a project thanks to Thomas experience,
It worked great at home when I plugged it on my mix table, but when I install 
everything in the project final destination, plug the sound-card on an 
amplifier, switch everything on: the sound card did not works anymore.
I tried to contact someone at audioinjector, but I hardly have answer to my 
question. IT'S THE WORST CUSTOMER SERVICE EVER!
It's been 2 week, my project is on standby, I'm still stuck with a broken sound 
card.
So I don't recommend this soundcard to anyone and I consider buying a gigaport 
instead and throw this crap away.

unless someone have a suggestion to a cheaper 8 output soundcard for a RPI 4.

Cheers
C
 


Le 19/03/2021 à 21:12, Thomas Grill a écrit :

Yes, i have one of those and it works well on the Rpi, also with Pd of course.
best, Thomas


Am 18.03.2021 um 10:24 schrieb Pierre Massat :

Thank you all for your replies. I didn't even know surround soundcards
existed. This looks promising given my budget.
In the meantime I found this :
https://shop.audioinjector.net/detail/Sound_Cards/Octo+RCA+sound+card
Anybody has experience using it with Pd ?

Cheers,

Pierre.

2021-03-17 17:53 UTC+01:00, Lorenzo Sutton :

On 17/03/21 07:42, Pierre Massat wrote:

Dear all,

I haven't posted anything on this list in years.
I'm trying to build a system to play several sound files in a loop,
each around 2 minutes in length, all at the same time. By "several" I
mean 10 to 15 different files. While I'd have no problem making a Pd
patch to achieve this, I have no idea what hardware I could use. I
have a limited budget, and I was planning on running Pd on a Raspberry
Pi (or similar single-board computer).

Is there any cheap way of outputing than many channels from a single
(a couple of) RPi ?


How many are 'many' :-)

If it's <= 8 channels and you don't care (too much) about latency you
could check out a cheap '7.1' USB card (these can cost less than 30 euro
online) and if it exposes 8 writable inputs via jack that could work.
The physical outputs of these are, of course, unbalanced and in couples
so you'd need to do some cable splitting and then maybe have a mixer
nearby...
I never did this on the RPi but I _did_ something similar with a cheap
5.1 usb sound blaster hooked to a laptop in the past.
I'm assuming, of course that each file would 'consume' just 1 channel...

YMMV.

If you want more than 8 output channels it will be hard to stay 'cheap'
(which of course depends on 'how much' is your limited budget), and then
- of course - you need to check linux compatibility (i.e. if they are
'class compliant'...)

My two cents,

Lorenzo.



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


--
Thomas Grill
http://g.org



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] working with integers

2021-05-25 Thread cyrille henry



Le 25/05/2021 à 23:16, ro...@dds.nl a écrit :

hi,

because of the problems i had with calculations using floating point math,

and following Roman's advice, i changed to integer math.


however that's easier said then done.

i'm running again into an unexpected limitation:

32-bits can represent signed integers upto 2.147...billion.

however, as soon as a number is greater then binary 27 bits the last byte stays 
0.( after 134217727 )

e.g. 13420 + 25000 = 134224992 (should be 134225000).


what am i missing?

there are no integer in pd. All number are float.
cheers
c




rolf






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] pd~ -nogui process with Gem [scopeXYZ]

2021-04-11 Thread cyrille henry

hello,

you need to send a message [pd~ start -nogui patch.pd< to your [pd~] object so 
it open your patch without gui.

Since pd and pd~ are synchronised at sample rate, if one of the process lag, 
the other will also lag. So it's not a good way to separate Gem from the audio.

Solution are :
- reduce Gem framerate so it did not create audio dropout
- use 2 puredata process that are not synchronised, and pass the audio from one 
to the other (using shmem by example), but Gem will not be faster, and you will 
get about the same frame as the previous solution
- use faster hardware


you can search pd archive here : https://lists.puredata.info/pipermail/pd-list/

cheers
c


Le 11/04/2021 à 17:16, Samuel Burt a écrit :

Here's what I'm trying to do:
On a Raspberry Pi 3, *I want to run an audio patch that generates LFOs and also 
have a Gem window that shows [scopeXYZ].* There are tremendous dropouts unless 
[scopeXYZ] has a very short length of samples to process.

Here's one problem I've run into:
I'm prototyping on Windows 10. I decided to try running the Gem component in a subprocess 
[pd~]. *The [pd~] object doesn't seem to accept the "-nogui" tag. How do I use 
it?* Will it also hide the terminal window that launches the second copy of Pd?

Is this an effective method of separating Gem from audio on a Raspberry Pi? Is 
there a better way?

Hi. I find it difficult to search for discussions related to pd~ because Google 
uses ~ for synonym searches.  Any tips for searching for [pd~] on the web and 
the mailing list?

Thanks!
Sam





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] pd~: Resource temporarily unavailable

2021-03-22 Thread cyrille henry

hello,
I've got a problem with pd~ on one of my patch, on a specific computer.
The patch works on all computer I tried except one. On this computer, other 
patch using pd~ works great.
(all computer run different ubuntu flavor, and pd (vanilla) version)
The computer that cause this problem is a 20.04 ubuntu mate, using pd 51.4 
compiled from source

when starting pd~ with the -nogui flag, after few second, pd~ stop working and 
an error appear in pd log : pd~: Resource temporarily unavailable
everything is normal without the -nogui flag.

The patch is to complex to share, and anyway it's working on most computer...

what could cause this problem? what should I try to solve it?

Thanks
cheers
C






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Trigger question

2021-03-18 Thread cyrille henry

hello,

[trigger b b b b]
 ||||
 DCBA
will do to A, B, C and D.
if you want to do C and D only depending of the result of B, the best "pd" 
solution is not to stop the trigger. You should use 2 trigger :
[trigger b b]
||
BA
|
[test result]
|
[select 1]
|
[trigger b b]
 ||
 DC

(your test and select can be replace with a single [moses] object, or a spigot, 
depending on the output of B)

I hope that help
Cheers,
Cyrille

Le 17/03/2021 à 18:29, adam johnson a écrit :

 >and i was only saying that just because something is implemented in
 >such-and-such way should be of no concern.

A feature not existing because of the difficulty of adding it would be one 
possible answer to my question, so I checked the code before coming here and it 
turned out to be the expected for loop.

 >you still have to come up with an example where it gets so ugly it's
 >hard to bear.

Why? I never said it is hard to bear, I said it was easy enough to work around 
and implied that being able to break out of trigger would make it neater and 
more readable, and at times it would. Most things in life would probably be 
unbearable if we waited until things got difficult to bear before even asking 
why.

 >what are the chances that while you clean up the patches so they are
 >presentable you discover that whatever you thought you needed a
 >stoppable trigger evaporates?

It is in cleaning this patch that the question arose, but I never said I needed 
it, I did not request a feature. I plainly stated that I suspected the fault 
was with my understanding and not pd. Most languages give you simple ways to 
break out of a sequence of events, but pd seems to treat it as jumping off a 
cliff. As I said in my first post, I am asking why, not how to do this, just 
trying to understand the logic of pd so I can use it better.

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] providing object-lists for old deken packages

2021-03-02 Thread cyrille henry

pmpd is maintained!!!


Le 02/03/2021 à 10:31, Lucas Cordiviola a écrit :

On 3/2/2021 4:26 AM, IOhannes m zmoelnig wrote:

so I would need a list of libraries to import. 


There might be more but these are not maintained AFAIK:

adaptive
arraysize
bassemu~
boids
chaos
ekext
hexloader
log
markex
mediasettings
motex
PDContainer
pddp
pmpd
cxc
ext13
windowing
pmpd
moocow


--

Mensaje telepatico asistido por maquinas.

On 3/2/2021 4:26 AM, IOhannes m zmoelnig wrote:

On 3/1/21 10:16 PM, Roman Haefeli wrote:

If there are libraries only available with the v0.0-extended version,
then I propose to give them a version proper, compile them for the
architectures in use*today*  and put that to Deken, along with an
objects file.


and first migrate those libraries to github.
i probably could do a batch import (from https://git.puredata.info) of all 
those libraries into the https://github.com/pd-externals/ namespace.

however, a number of libs are actively maintained in their own namespaces, and 
I think those should be left alone.

so I would need a list of libraries to import.

fmgdar
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Image from shader back to Gem

2021-02-15 Thread cyrille henry



Le 15/02/2021 à 10:46, oliver a écrit :

cyrille henry wrote:

What I understand from the original question was how to feed an image generated 
with a shader to pix_movement.
So one need an image, not a texture.
I'm afraid pix_snap is the only solution.


on a more general note:

it would be great to have something like a public [GEM-shader] archive, 
probably something like pdpatchrepo.info

should we open a new category there ?
or maybe that already exists and i missed it ?
anybody else on this list that has some GEM shaders to share ?


lot's have already been send on this list!



i have the feeling that a lot of people using GEM "roll their own" shaders  (i, for one, 
did) and it would be a great thing to join forces, so one doesn't have to reinvent the wheel when 
looking for a simple "brightness/contrast" shader ...

funny, this one can be found in 
pd/help/browser/Gem/exemples/10.glsl/01.simple_texture.pd




my own technical knowledge about shader scripting is close to non-existant, but 
i succeeded in adapting stuff found on the net, so that it loads as a shader in 
GEM. basic stuff only, mixers etc ...


it's quite easy to use shader from shadertoy, at least when it's a single pass 
rendering.




since csaba's original post talks about cropping/rotating a texture created 
from a MATLAB shader (would be also great to share !), one possibility could be 
to feed this texture into another shader.

or modify the curent shader!



i tried my clumsy hands on a quick and dirty adaption of MAX's [rota] shader, 
and even though it loads succesfully, it's obviously wrong as the resulting 
texture seems to be 1x1 dimension. i'm sure the error is somewhere in the .vert 
part.

or texturing mode (rectangular or not)

cheers
c



as i said, i got no deep insight into shader scripting, but maybe this can help 
somebody who has

best

oliver



Cheers
c

Le 15/02/2021 à 08:39, IOhannes m zmoelnig a écrit :

On 2/14/21 9:52 PM, Miller Puckette via Pd-list wrote:

I think the question is - within a shader, can you 'snap' an image to
a texture so that it doesn't have to go back and forth between the
GPU and CPU?  I'm curious too... I guess there must be a way to do this...



[pix_snap2tex]
or, preferably [gemframebuffer].

gfamsdr
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Image from shader back to Gem

2021-02-15 Thread cyrille henry

you can replace [pix_draw] with [pix_texture] and [rectangle 16 9]
But I don't think I understand the question.

cheers
c


Le 15/02/2021 à 10:44, Csaba Láng a écrit :

I am totally lost, I attach my shader and the patch which I made the screenshot 
of at the beginning of this thread.
Could someone show me how to achieve the texture on a rectangle 16 9 so I can 
rotate and crop it and not only as a mask, as it is now in the patch.

Probably totally easy just cannot figure out how to add the pix_snap or 
pix_snap2tex

On Mon, Feb 15, 2021 at 10:04 AM cyrille henry mailto:c...@chnry.net>> wrote:

What I understand from the original question was how to feed an image 
generated with a shader to pix_movement.
So one need an image, not a texture.
I'm afraid pix_snap is the only solution.

Cheers
c

Le 15/02/2021 à 08:39, IOhannes m zmoelnig a écrit :
 > On 2/14/21 9:52 PM, Miller Puckette via Pd-list wrote:
 >> I think the question is - within a shader, can you 'snap' an image to
 >> a texture so that it doesn't have to go back and forth between the
 >> GPU and CPU?  I'm curious too... I guess there must be a way to do 
this...
 >
 >
 > [pix_snap2tex]
 > or, preferably [gemframebuffer].
 >
 > gfamsdr
 > IOhannes
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Image from shader back to Gem

2021-02-15 Thread cyrille henry

What I understand from the original question was how to feed an image generated 
with a shader to pix_movement.
So one need an image, not a texture.
I'm afraid pix_snap is the only solution.

Cheers
c

Le 15/02/2021 à 08:39, IOhannes m zmoelnig a écrit :

On 2/14/21 9:52 PM, Miller Puckette via Pd-list wrote:

I think the question is - within a shader, can you 'snap' an image to
a texture so that it doesn't have to go back and forth between the
GPU and CPU?  I'm curious too... I guess there must be a way to do this...



[pix_snap2tex]
or, preferably [gemframebuffer].

gfamsdr
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Image from shader back to Gem

2021-02-14 Thread cyrille henry

hello,
have a look at pix_snap
(be aware that this is a relatively slow process)

cheers
C


Le 14/02/2021 à 17:29, Csaba Láng a écrit :

Dear List,

I am using a camera with a fisheye lens for motion detection.
The distortion had to be corrected with a shader (method from Matlab) but now I 
need to rotate the image and crop it with pix_crop plus analyze the frames with 
pix_movement.
How can I get back the image to Gem?
In my patch gemframebuffer send the image to the shader but not a clue how I 
could ise the pix_ objects again.

Screenshot 2021-02-14 at 17.27.12.png

This is the corrected image from the camera after shader
Grid corrected.jpeg

Let me know please where I miss something.

Best,

Popesz




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] aconnectgui

2021-02-05 Thread cyrille henry
 20 0 41 0;
#X connect 20 0 42 0;
#X connect 22 0 21 0;
#X connect 23 0 20 2;
#X connect 23 1 20 3;
#X connect 24 0 26 1;
#X connect 25 0 28 0;
#X connect 26 0 36 0;
#X connect 28 0 26 0;
#X connect 29 0 27 0;
#X connect 30 0 27 0;
#X connect 31 0 32 0;
#X connect 31 1 32 1;
#X connect 32 0 33 0;
#X connect 33 0 125 0;
#X connect 34 0 39 0;
#X connect 34 0 45 0;
#X connect 35 0 34 0;
#X connect 35 1 34 1;
#X connect 36 0 38 0;
#X connect 36 1 30 0;
#X connect 38 0 29 0;
#X connect 39 0 38 1;
#X connect 39 0 49 0;
#X connect 40 0 21 0;
#X connect 41 0 22 0;
#X connect 42 0 40 0;
#X connect 43 0 41 1;
#X connect 44 0 42 1;
#X connect 45 0 44 0;
#X connect 45 0 43 0;
#X connect 47 0 34 0;
#X connect 48 0 46 0;
#X connect 49 0 50 0;
#X connect 50 0 48 0;
#X connect 51 0 56 0;
#X connect 52 0 51 0;
#X connect 53 0 54 0;
#X connect 53 1 54 1;
#X connect 53 2 57 0;
#X connect 53 3 57 1;
#X connect 54 0 55 0;
#X connect 56 0 58 0;
#X connect 56 1 53 0;
#X connect 57 0 61 0;
#X connect 58 0 60 0;
#X connect 59 0 58 1;
#X connect 60 0 65 0;
#X connect 62 0 64 0;
#X connect 64 0 60 1;
#X connect 65 0 63 0;
#X connect 67 0 68 0;
#X connect 69 0 70 0;
#X connect 70 0 106 0;
#X connect 71 0 2 0;
#X connect 71 1 3 0;
#X connect 73 0 103 0;
#X connect 74 0 1 0;
#X connect 74 1 5 0;
#X connect 75 0 78 0;
#X connect 76 0 75 0;
#X connect 77 0 76 0;
#X connect 77 1 12 0;
#X connect 78 0 14 0;
#X connect 79 0 71 0;
#X connect 80 0 52 0;
#X connect 80 0 126 0;
#X connect 80 1 74 0;
#X connect 80 1 77 0;
#X connect 80 2 118 0;
#X connect 80 3 99 0;
#X connect 80 4 88 0;
#X connect 80 5 67 0;
#X connect 81 0 89 0;
#X connect 82 0 81 0;
#X connect 83 0 84 0;
#X connect 83 0 87 0;
#X connect 84 0 83 1;
#X connect 84 0 116 0;
#X connect 85 0 83 1;
#X connect 87 0 121 0;
#X connect 88 0 82 0;
#X connect 88 1 85 0;
#X connect 89 0 91 0;
#X connect 90 0 88 0;
#X connect 91 0 83 0;
#X connect 92 0 102 0;
#X connect 93 0 92 0;
#X connect 94 0 95 0;
#X connect 94 0 98 0;
#X connect 95 0 94 1;
#X connect 96 0 94 1;
#X connect 98 0 122 0;
#X connect 99 0 93 0;
#X connect 99 1 96 0;
#X connect 100 0 99 0;
#X connect 101 0 94 0;
#X connect 102 0 101 0;
#X connect 103 0 108 0;
#X connect 104 0 74 0;
#X connect 105 0 86 0;
#X connect 106 0 110 0;
#X connect 107 0 8 0;
#X connect 107 1 69 0;
#X connect 107 2 106 1;
#X connect 108 0 111 0;
#X connect 109 0 15 0;
#X connect 109 1 73 0;
#X connect 109 2 108 1;
#X connect 110 0 66 0;
#X connect 111 0 72 0;
#X connect 112 0 64 1;
#X connect 113 0 28 1;
#X connect 117 0 118 1;
#X connect 118 0 119 0;
#X connect 119 0 120 0;
#X connect 120 0 124 0;
#X connect 121 0 105 0;
#X connect 122 0 123 0;
#X connect 123 0 97 0;
#X connect 124 0 115 0;
#X connect 125 0 34 0;
#X connect 125 1 35 0;
#X restore 35 18 pd reload;
#X text 13 41 reload if new alsa midi device are created \, or if connection
are created somwhere else., f 44;
#X text 11 91 Select a source device \, then bang a destination device
to create a connectioin. Shift click to destroy the connection;
#X text 11 128 Cyrille Henry 2021;
#X connect 0 0 1 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [OT]Re: Preset management for Pd Vanilla

2021-01-21 Thread cyrille henry

here we are :
https://xkcd.com/927/


Le 21/01/2021 à 20:48, Antoine Rousseau a écrit :

You can also have a look to my "AutoPreset" system. It's available from deken. 
It's rather old, but that's what I use every day...

Le jeu. 21 janv. 2021 à 19:39, Alexandre Torres Porres mailto:por...@gmail.com>> a écrit :

Em qui., 21 de jan. de 2021 às 15:09, Alexandre Torres Porres mailto:por...@gmail.com>> escreveu:

I now included "import" and "export" functions so [savestate] can be 
used in conjunction


Just making clear this design allows each instance to be saved with separate presets 
in a parent patch. Not that I find it crucial. I guess that 2 sharing the same preset 
bank should be fine for most cases. So using a file to load and save inside the 
abstraction (as it was possible before) was kinda fine. So this is where I start to think 
I could be compromising my beloved "KISS" principle... but I was already 
thinking import/export was nice to allow people to store these things in the patch rather 
than a file, so it's cool. It's versatile and still simple enough.

___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] hidpi linux

2020-10-05 Thread cyrille henry

hello,
I had a problem with hidpi screen on linux (ubuntu mate, 20.04):

everything looks good using a 4K screen, everything is also ok when using only 
one 1920x1080 screen, but pd (and only pd) use very big font when using both 
screen in the same time.
The solution was to set dpi with : "xrandr --dpi 80" in a terminal
this fix pd resolution.
I just send this information here since there are few mail about hidpi in this 
list with no answer.

hope it will help other
cheers
Cyrille



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] fast way to convert two 8 bit data to one 16 bit data in big lists ?

2020-09-25 Thread cyrille henry

hello,

if you don't mind using eternals, you can put all data in a table, then use 
tab_downsample from nusmuk_utils to create 2 tables with MSB and LSB, then the 
iem_tab library will provide the other mathematical object to multiply 1st 
table by 256 and add the other one.
It should perform very efficiently.

cheers
c


Le 25/09/2020 à 00:30, Benjamin ~ b01 a écrit :

hi,

I'm looking for a fast way to convert two 8 bit data to one 16 bit data
in big lists
a device send continuously packets of 16 000 bytes threw the network to
udpreceive
at the moment, to reconstitute from two bytes a 16 bit value, I'm using
a list-drip and a counter to discriminate the MSB and LSB and do the
*256 and + operation
the aim is to feed a table with the result (see attached) and produce
sound from it
it works with packets of 2 000 bytes but pd freeze with bigger packets
I'm wondering if there is a better way to achieve this ?

thk
b


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] packed floats to select object changes the select value

2020-09-21 Thread cyrille henry

hello,

why don't you just use [route] ?

cheers

Le 21/09/2020 à 02:52, Matt Davey a écrit :

Here’s my proposal:

If a sel object is created with arguments, add a list method to truncate 
incoming lists to the first item.

If a sel object is created without any arguments, behaviour stays the way it 
currently is.

Would that work?

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] deken and pd -noprefs

2020-08-25 Thread cyrille henry

ah! I just realise that the deken plugin in ~/Documents/pd is also useless with 
pd 0.50.0.
Cheers
c



Le 25/08/2020 à 12:08, IOhannes m zmoelnig a écrit :

On 25.08.20 10:35, cyrille henry wrote:

why did the new plugin did not overwrite the old one, just like without
this flag?


iirc, there's some logic built into Pd to prevent double loading of plugins.

(this does not effect the built-in deken, as it comes under a slightly
different filename and/or because the "built-in plugins" bypass the
protection)

gfmnasdr
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] deken and pd -noprefs

2020-08-25 Thread cyrille henry

Thanks for your mail. I do use pd 0.50.0, but you are right: it's not the same 
deken version with or without the -noprefs flag.

the old deken plugin was in ~/pd-externals
the new was in ~/Document/pd/externals
I removed the old plugin, now pd find the new one with or without the -noprefs 
flag.

I was not aware that ~/pd-externals was a default search path even if it's not 
listed in the preference dialogue and that this path was used even with 
-noprefs.

There is still something strange : When using pd -noprefs now that I remove the 
old deken, pd can still find the new deken, so ~/Document/pd/externals is still 
in the search path. Since this 2 paths are searched with the -noprefs flag, why 
did the new plugin did not overwrite the old one, just like without this flag?

Anyway, it's working now.

thanks for your help
cheers
c

Le 25/08/2020 à 09:36, IOhannes m zmoelnig a écrit :

On 24.08.20 17:20, cyrille henry wrote:

i'm on ubuntu linux 18.04
pd 0.51.0


are you sure about the Pd-version?

my interpretation of the issue you see is:

0. there has been a single change to the deken package format; the
minimum deken version required for the new package format is deken-0.3.0.
luckily, the deken-server knows about this; if it detects that you are
using an older version of deken, it will always suggest to upgrade deken
first.
it  tries hard to nudge the user into upgrading deken (without actually
forcing them). this is why you get a capital letter warning "MINIMUM
VERSION REQUIRED FOR NEW PACKAGES".
this is really true: if you are using an old version of deken, you will
not see any new-style packages (because deken cannot ectract them anyhow).

1. you are using an older version of Pd, that comes with deken<<0.3.1
(sidenote: Ubuntu-18.04 comes with Pd-0.48-1 preinstalled [1]; Pd-0.48-1
includes deken-0.2.4 [2]

2. a while ago, you have followed the instructions and installed the
updated deken package.
now updating deken does not overwrite the existing source code in the Pd
application folder, but instead installs a gui-plugin (in the usual
path, where deken installs stuff).
when you start Pd, it will first load the included (outdated)
deken-plugin, and then load the plugin (there's a version check that
prevents an older plugin to overwrite the included one).
so you end up with a new and shiny deken plugin that can find and
install all the nifty nusmuk packages.

3. however, when starting Pd with "-noprefs", you are telling Pd to not
take the "usual" extra-folder into account, where you (or rather: deken)
installed the updated deken-plugin.
this usual extra folder is probably "~/Documents/Pd" or some
self-defined folder (as the usual-usual extra folders like
~/.local/lib/pd/extra are searched regardless of the "-noprefs" flag).
so the updated deken-plugin is neither found nor loaded, sending you
back to square 1 and you can no longer find the new-style deken packages.


there's a couple of ways to fix the problem:
- include the /path/to/the/deken-plugin/ manually in your start-up flags
(e.g. ~/Documents/Pd/deken-plugin/, so you don't get the full
~/Documents/Pd/ search-path but only the portion that you want)
- manually include an updated version of deken into the
application-specific extra folder (it should go e.g into
/usr/lib/pd/extra(deken-plugin/)


to conclude: i don't see this as a bug in deken (nor Pd).
(esp. there's nothing *fixable*; new versions of deken (and Pd, which
include a newer version of deken) don't have the problem.


gfmasdr
IOhannes


[1] https://packages.ubuntu.com/bionic/puredata-gui
[2] https://github.com/pure-data/pure-data/blob/0.48-1/tcl/pd_deken.tcl#L62


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] deken and pd -noprefs

2020-08-24 Thread cyrille henry

i'm on ubuntu linux 18.04
pd 0.51.0

Le 24/08/2020 à 17:11, Christof Ressi a écrit :

FWIW, I cannot reproduce this here on Windows. "-noprefs" doesn't make a 
difference for Deken and I can see all the libraries you've mentioned.

What is your system?

Christof

On 24.08.2020 16:29, cyrille henry wrote:

ok, my guess are probably wrong, you can ignore them.
the fact are :
starting "pd -noprefs", a deken search for nusmuk gives me :

deken-plugin/0.5.0 (Deken externals downloader)
Uploaded by zmoelnig @ 2018-06-05 21:38:10

deken-plugin/0.4.1 (Deken externals downloader)
Uploaded by zmoelnig @ 2018-04-05 11:59:59

deken-plugin/0.3.1 (Deken externals downloader - MINIMUM VERSION REQUIRED FOR 
NEW PACKAGES)
Uploaded by zmoelnig @ 2018-04-05 12:00:26

it's not the desired result.



starting "pd", a deken search for nusmuk gives me :

nusmuk-utils[v2015](Darwin-amd64-32)(Darwin-i386-32)(Linux-amd64-32)(Windows-i386-32)(Sources).dek
Mis en ligne par 'chnry' le : 2019-03-13 10:12:20

nusmuk-audio[v2015](Darwin-amd64-32)(Darwin-i386-32)(Linux-amd64-32)(Linux-i386-32)(Windows-i386-32)(Sources).dek
Mis en ligne par 'chnry' le : 2019-03-13 10:11:12

nusmuk-utils[v2019](Darwin-amd64-32)(Darwin-i386-32)(Sources).dek
Mis en ligne par 'chnry' le : 2019-04-03 16:53:21

nusmuk-utils[v2015](Windows-amd64-32)(Sources).dek
Mis en ligne par 'lucarda' le : 2019-03-15 21:15:54

nusmuk-audio[v2015](Windows-amd64-32)(Sources).dek
Mis en ligne par 'lucarda' le : 2019-03-15 21:13:43

it's the desired result.
can someone else confirm this behaviour?

I also tried pmpd, shmem and various other libs, with the same kind of result 
in both case (with and without -noprefs flag)

cheers


Le 24/08/2020 à 16:16, IOhannes m zmoelnig a écrit :

On 24.08.20 15:16, cyrille henry wrote:

Hello,
Is it the desired behaviours that deken did not find externals when used
with "pd -noprefs" ?
It look like deken propose only already downloaded externals, but not
the one on the server.


hmm, that would be weird as deken does not keep track of installed
externals.



I suppose a part of deken is not loaded when pd is started with -noprefs
flag, but is that really what we want?


hmm, that would be weird as well.
i'm not aware of any deken component that would interact with "-noprefs"
(actually i think that deken - being run only on the GUI-side)
completely ignores the "-noprefs" flag, for good or bad)

could you post a complete search-string and the desired and actual
result (which externals are you searching; which results to you get;
which results did you expect?) ...1


(if not, I'll fill a bug report)


...either here on the list or in new bugreport.


gfsdmar
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] deken and pd -noprefs

2020-08-24 Thread cyrille henry

ok, my guess are probably wrong, you can ignore them.
the fact are :
starting "pd -noprefs", a deken search for nusmuk gives me :

deken-plugin/0.5.0 (Deken externals downloader)
Uploaded by zmoelnig @ 2018-06-05 21:38:10

deken-plugin/0.4.1 (Deken externals downloader)
Uploaded by zmoelnig @ 2018-04-05 11:59:59

deken-plugin/0.3.1 (Deken externals downloader - MINIMUM VERSION REQUIRED FOR 
NEW PACKAGES)
Uploaded by zmoelnig @ 2018-04-05 12:00:26

it's not the desired result.



starting "pd", a deken search for nusmuk gives me :

nusmuk-utils[v2015](Darwin-amd64-32)(Darwin-i386-32)(Linux-amd64-32)(Windows-i386-32)(Sources).dek
Mis en ligne par 'chnry' le : 2019-03-13 10:12:20

nusmuk-audio[v2015](Darwin-amd64-32)(Darwin-i386-32)(Linux-amd64-32)(Linux-i386-32)(Windows-i386-32)(Sources).dek
Mis en ligne par 'chnry' le : 2019-03-13 10:11:12

nusmuk-utils[v2019](Darwin-amd64-32)(Darwin-i386-32)(Sources).dek
Mis en ligne par 'chnry' le : 2019-04-03 16:53:21

nusmuk-utils[v2015](Windows-amd64-32)(Sources).dek
Mis en ligne par 'lucarda' le : 2019-03-15 21:15:54

nusmuk-audio[v2015](Windows-amd64-32)(Sources).dek
Mis en ligne par 'lucarda' le : 2019-03-15 21:13:43

it's the desired result.
can someone else confirm this behaviour?

I also tried pmpd, shmem and various other libs, with the same kind of result 
in both case (with and without -noprefs flag)

cheers


Le 24/08/2020 à 16:16, IOhannes m zmoelnig a écrit :

On 24.08.20 15:16, cyrille henry wrote:

Hello,
Is it the desired behaviours that deken did not find externals when used
with "pd -noprefs" ?
It look like deken propose only already downloaded externals, but not
the one on the server.


hmm, that would be weird as deken does not keep track of installed
externals.



I suppose a part of deken is not loaded when pd is started with -noprefs
flag, but is that really what we want?


hmm, that would be weird as well.
i'm not aware of any deken component that would interact with "-noprefs"
(actually i think that deken - being run only on the GUI-side)
completely ignores the "-noprefs" flag, for good or bad)

could you post a complete search-string and the desired and actual
result (which externals are you searching; which results to you get;
which results did you expect?) ...1


(if not, I'll fill a bug report)


...either here on the list or in new bugreport.


gfsdmar
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] deken and pd -noprefs

2020-08-24 Thread cyrille henry

Hello,
Is it the desired behaviours that deken did not find externals when used with "pd 
-noprefs" ?
It look like deken propose only already downloaded externals, but not the one 
on the server.

I suppose a part of deken is not loaded when pd is started with -noprefs flag, 
but is that really what we want?
(if not, I'll fill a bug report)

cheers
Cyrille



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Problem with old complex gem patch in new computer

2020-06-03 Thread cyrille henry

hello,
According to the error, I think your problem is that the shader is not loaded. 
This is maybee because it can only be loaded after the gemwin creation. It's 
possible that few years ago it was possible to load them with a loadbang.

cheers
c


Le 03/06/2020 à 07:27, Ronni Montoya a écrit :

Hi, im trying to run a very old gem patch i did more than 10 years ago in a new 
computer. It open without problems but all i can see black window with some 
noise i cant control anything.

When i try look for last error i get:

Glsl_program :cant link zero shaders.


Im not been using pd the last 5 or 6 years. So im out of data. Is there any big 
chance in gem or pd i should know? Any idea why is not working?

Im using pd 0.50.2 64 bit in windows 10

Thanks

R.

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [GEM] output gemwin to video file workaround using ffmpeg on macos

2020-05-29 Thread cyrille henry

hello,
The open GL rendering is made in the GPU. grabbing the images by the CPU in 
order to compress them and to record them in the HDD is a slow operation.
I think some software are able to compress the image in the GPU in order to 
grab a smaller file, but Gem don't.
So, there is not a lot's of solution, and you already found them.

I use pix_record when I need a correct quality of a small video. I use mjpa 
with good result.

When I need better quality, I use pix_writer. Usually this can not be made in 
real time. I.E : I create a process that render exactly what I want, without 
human interaction. (For live performance, I record all human interaction in 
tables or texts file during the performance, then I use this data to play again 
the same performance)
Then, It's possible to record both image annd sound in the same time. Even if pd will not 
be sync with real (external) time, the time inside pd will still stay consistent. I.E : 
even if there are lot's of audio dropout and the recording fps is 1/2 of the real fps, pd 
will still record a perfect audio file that will be perfectly sync with the video. You 
just need to start the audio and video recording with the same "bang".


cheers
Cyrille

Le 28/05/2020 à 22:33, ffdd cchh a écrit :

Hi everyone,

Is it possible to grab the OpenGL stream with ffmpeg and save to a video file? 
If so, could anyone point in the right direction as to how to capture the 
stream opened by Gem?

The reason I ask this is that I am looking for ways to render video frames to a 
file and I have not managed a good result using neither [pix_record] nor 
[pix_writer].

With [pix_record] I have systematically tried all codecs and colorspaces and I 
had no luck.

With [pix_writer], I did manage high quality frames with the correct colorspace 
which I then concatenated into a video (with ffmpeg). The drawback I have with 
[pix_writer] is the time it takes to write, which really complicates audio and 
video synching.

Thanks!!

Fede
--
fdch.github.io 

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] changing line width in Gem

2020-04-16 Thread cyrille henry



Le 16/04/2020 à 18:17, Antoine Rousseau a écrit :

is there any chance to change the width of the lines when you send the
message [draw line( to any of the geometrical objects?


use: [width $1(
1 to 10 (but no more...)

the max limit depend on your hardware. It's not a software limitation...

cheers
c




  Antoine Rousseau
http://www.metalu.net  __ http://www.metaluachahuter.com/ 




Le jeu. 16 avr. 2020 à 17:44, Csaba Láng mailto:langcs...@gmail.com>> a écrit :

Perfect, thanks a lot!

On Thu, Apr 16, 2020 at 4:41 PM rep mailto:pie...@314r.net>> wrote:

Hi Popesz

Le 2020-04-16 13:35, Csaba Láng a écrit :
 > Dear list,
 >
 > is there any chance to change the width of the lines when you send 
the
 > message [draw line( to any of the geometrical objects?

dont know with [draw line(

but you can use [GEMglPolygonMode] with [GEMglLineWidth]
see attached patch
this solution works with [model] too

 > I think it is 1px by default, but looking for a solution to make it
 > bigger.

here, I can set it from 1 to 10 (but no more) pixels

Pierre

___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] changing line width in Gem

2020-04-16 Thread cyrille henry

hello,

you can use the openGL command glLineWidth directlly with gem object 
[GEMglLineWidth]

but some (all?) primitive may reset this value. If so, you can send a [width 4< 
message to this primitive.

Cheers
C

Le 16/04/2020 à 13:35, Csaba Láng a écrit :

Dear list,

is there any chance to change the width of the lines when you send the message 
[draw line( to any of the geometrical objects?
I think it is 1px by default, but looking for a solution to make it bigger.

Thanks in advance,

Popesz

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] what happens when you send signals between 0..1 instead -1..1 to dac?

2020-03-02 Thread cyrille henry



Le 02/03/2020 à 04:42, Fede Camara Halac a écrit :
...
You might use your DAC to send control voltages for a modular synthesizer, for example. 


I have never tried this, but I guess it might be an edge case, and quite an 
interesting one.


(un)fortunately, most soundcard are DC filtered. This will not work, unless you 
have a very specific sound card.

This also mean than adding a hip~ 5 is not mandatory in most situation.

cheers



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] shmem and bigger buffer size

2020-02-10 Thread cyrille henry

increase audio buffer size?


Le 10/02/2020 à 12:38, iftah gabbai a écrit :

so i tested it with linux and it works great, my only problem right now is that 
i get an audible glitch when i setmem /dumpmem on a 576 samples size 
buffer, i tried breaking the setting / dumping to smaller chunks but it only 
got worse, is there any workaround?

thanks!

On Sat, Feb 1, 2020 at 11:44 AM cyrille henry mailto:c...@chnry.net>> wrote:

yes, I did write that. But Miller implemented a binary transfer from pd to 
pd~ so the native solution must be lot's more efficient now. I did not test if 
shmem is still faster.

Yes, using shmem_send~ and shmem_receive~ will add 1 more block latency on 
top of pd~ latency.

cheers


Le 01/02/2020 à 10:32, iftah gabbai a écrit :
 > @cyrille, i have another question if i may, i saw somewhere in the list 
that you write that streaming audio from pd to a subprocess with shmem is much 
more efficient in terms of cpu usage, is it still the case? also if i understand 
correctly from the docs i will then have latency of one block size + fifo right?
 >
 > On Sat 1. Feb 2020 at 10:29, iftah gabbai mailto:ift@gmail.com> 
<mailto:ift@gmail.com <mailto:ift@gmail.com>>> wrote:
 >
 >     @chris, thank you for that, very good piece of info!
 >
 >     On Fri 31. Jan 2020 at 20:03, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>> wrote:
 >
 >
 >
 >         Le 31/01/2020 à 18:30, iftah gabbai a écrit :
 >          > so it is confirmed to work on linux? if so than great :)
 >         it's working on my computer!
 >         c
 >
 >
 >          >
 >          > On Fri 31. Jan 2020 at 13:58, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>>> wrote:
 >          >
 >          >     I don't know why it fail on mac. You can try to split in 
smaller table, like you suggested.
 >          >     But you should also test it on linux first since it's 
your main target.
 >          >
 >          >     c
 >          >
 >          >     Le 30/01/2020 à 19:55, iftah gabbai a écrit :
 >          >      > im building on mac os 10.12 and intending to run on 
linux(arm), i haven’t tested on linux, the problems im having are on mac,
 >          >      >
 >          >      > thanks!
 >          >      >
 >          >      > On Thu 30. Jan 2020 at 17:47, cyrille henry mailto:c...@chnry.net> <mailto:c...@chnry.net 
<mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>> <mailto:c...@chnry.net 
<mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net 
<mailto:c...@chnry.net>>>>> wrote:
 >          >      >
 >          >      >     what is your OS?
 >          >      >
 >          >      >     Le 30/01/2020 à 17:10, iftah gabbai a écrit :
 >          >      >      > hey C, i have 16gb of ram, and if i did not 
completely messed up my calcs i tried to allocate 2 min of 96khz (11.520.000)
 >          >      >      >
 >          >      >      > thanks again!
 >          >      >      >
 >          >      >      > On Thu 30. Jan 2020 at 17:06, cyrille henry mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net 
<mailto:c...@chnry.net>>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>>> 
<mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>> <mailto:c...@chnry.net 
<mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>>>>> wrote:
 >          >      >      >
 >          >      >      >     hello,
 >          >      >  

Re: [PD] get average luminance of the camera

2020-02-04 Thread cyrille henry

did you try [pix_resize 1 1] ?
cheers


Le 04/02/2020 à 14:17, enrike a écrit :

hi

Is it possible to get the average luminance of the camera input using GEM?

I am exploring pix_data but as far as I can see it only works with individual 
pixels. If I could average or reduce the color information from the camera to a 
single color, then I think I could just take the pix_data grey value of any 
pixel. But I am not sure this can be done. I am checking different pix_ objects 
but I dont see how I could get this to work. Any tips?


thanks

enrike



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] shmem and bigger buffer size

2020-02-01 Thread cyrille henry

yes, I did write that. But Miller implemented a binary transfer from pd to pd~ 
so the native solution must be lot's more efficient now. I did not test if 
shmem is still faster.

Yes, using shmem_send~ and shmem_receive~ will add 1 more block latency on top 
of pd~ latency.

cheers


Le 01/02/2020 à 10:32, iftah gabbai a écrit :

@cyrille, i have another question if i may, i saw somewhere in the list that 
you write that streaming audio from pd to a subprocess with shmem is much more 
efficient in terms of cpu usage, is it still the case? also if i understand 
correctly from the docs i will then have latency of one block size + fifo right?

On Sat 1. Feb 2020 at 10:29, iftah gabbai mailto:ift@gmail.com>> wrote:

@chris, thank you for that, very good piece of info!

On Fri 31. Jan 2020 at 20:03, cyrille henry mailto:c...@chnry.net>> wrote:



Le 31/01/2020 à 18:30, iftah gabbai a écrit :
 > so it is confirmed to work on linux? if so than great :)
it's working on my computer!
c


 >
 > On Fri 31. Jan 2020 at 13:58, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>> wrote:
 >
 >     I don't know why it fail on mac. You can try to split in smaller 
table, like you suggested.
 >     But you should also test it on linux first since it's your main 
target.
 >
 >     c
 >
 >     Le 30/01/2020 à 19:55, iftah gabbai a écrit :
 >      > im building on mac os 10.12 and intending to run on 
linux(arm), i haven’t tested on linux, the problems im having are on mac,
 >      >
 >      > thanks!
 >      >
 >      > On Thu 30. Jan 2020 at 17:47, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>>> wrote:
 >      >
 >      >     what is your OS?
 >      >
 >      >     Le 30/01/2020 à 17:10, iftah gabbai a écrit :
 >      >      > hey C, i have 16gb of ram, and if i did not completely 
messed up my calcs i tried to allocate 2 min of 96khz (11.520.000)
 >      >      >
 >      >      > thanks again!
 >      >      >
 >      >      > On Thu 30. Jan 2020 at 17:06, cyrille henry mailto:c...@chnry.net> <mailto:c...@chnry.net 
<mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>>> <mailto:c...@chnry.net 
<mailto:c...@chnry.net> <mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> <mailto:c...@chnry.net 
<mailto:c...@chnry.net>>>>> wrote:
 >      >      >
 >      >      >     hello,
 >      >      >
 >      >      >     Do you have enough free memory on your computer?
 >      >      >     I just test on y computer, I can reproduce this 
error as soon as I ask an allocation bigger than the available memory on my hardware.
 >      >      >     (between 500 000 000 and 1 000 000 000 points)
 >      >      >
 >      >      >     cheers
 >      >      >     Cyrille
 >      >      >
 >      >      >     Le 30/01/2020 à 12:11, iftah gabbai a écrit :
 >      >      >      > ...perhaps i should elaborate, im trying to 
dump an array in the size of 11 520 000(2 min of 96 khz audio) to another instance of PD, 
is it possible at all or do i have to break it to smaller chunks?
 >      >      >      >
 >      >      >      > On Thu, Jan 30, 2020 at 12:01 PM iftah gabbai mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>> <mailto:ift@gmail.com <mailto:ift@gmail.com> 
<mailto:ift@gmail.com <mailto:ift@gmail.com>>> <mailto:ift@gmail.com <mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>> <mailto:ift@gmail.com <mailto:ift@gmail.com> 
<mailto:ift@gmail.com <mailto:ift@gmail.com>>>> <mailto:ift@gmail.com <mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>> <mailto:ift@gmail.com <mailto:ift@gmail.com> 
<mailto:ift@gmail.com <mailto:ift@gmail.com>>> <mailto:ift@gmail.com <mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gma

Re: [PD] shmem and bigger buffer size

2020-01-31 Thread cyrille henry



Le 31/01/2020 à 18:30, iftah gabbai a écrit :

so it is confirmed to work on linux? if so than great :)

it's working on my computer!
c




On Fri 31. Jan 2020 at 13:58, cyrille henry mailto:c...@chnry.net>> wrote:

I don't know why it fail on mac. You can try to split in smaller table, 
like you suggested.
But you should also test it on linux first since it's your main target.

c

Le 30/01/2020 à 19:55, iftah gabbai a écrit :
 > im building on mac os 10.12 and intending to run on linux(arm), i 
haven’t tested on linux, the problems im having are on mac,
 >
 > thanks!
 >
 > On Thu 30. Jan 2020 at 17:47, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>> wrote:
 >
 >     what is your OS?
 >
 >     Le 30/01/2020 à 17:10, iftah gabbai a écrit :
 >      > hey C, i have 16gb of ram, and if i did not completely messed up 
my calcs i tried to allocate 2 min of 96khz (11.520.000)
 >      >
 >      > thanks again!
     >      >
 >      > On Thu 30. Jan 2020 at 17:06, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>> <mailto:c...@chnry.net <mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>>> wrote:
 >      >
 >      >     hello,
 >      >
 >      >     Do you have enough free memory on your computer?
 >      >     I just test on y computer, I can reproduce this error as soon 
as I ask an allocation bigger than the available memory on my hardware.
 >      >     (between 500 000 000 and 1 000 000 000 points)
 >      >
 >      >     cheers
 >      >     Cyrille
 >      >
 >      >     Le 30/01/2020 à 12:11, iftah gabbai a écrit :
 >      >      > ...perhaps i should elaborate, im trying to dump an array 
in the size of 11 520 000(2 min of 96 khz audio) to another instance of PD, is it 
possible at all or do i have to break it to smaller chunks?
 >      >      >
 >      >      > On Thu, Jan 30, 2020 at 12:01 PM iftah gabbai mailto:ift@gmail.com> <mailto:ift@gmail.com 
<mailto:ift@gmail.com>> <mailto:ift@gmail.com <mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>>> 
<mailto:ift@gmail.com <mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>> <mailto:ift@gmail.com 
<mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>>>>> wrote:
 >      >      >
 >      >      >     hello all, ive been experimenting with shmem (the latest one i 
could find in deken), it works fine as long as i use very small arrays, as soon as i try to use 
bigger arrays ( havent checked where the breakpoint is but more than approx 40) it doesnt and 
it returns "could not allocate shmem memory Id"
 >      >      >
 >      >      >     i wonder if im doing something wrong or if its a known 
thing?
 >      >      >
 >      >      >
 >      >      >     thanks!
 >      >      >
 >      >      >
 >      >      > ___
 >      >      > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> <mailto:Pd-list@lists.iem.at 
<mailto:Pd-list@lists.iem.at>> <mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> 
<mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at>>> mailing list
 >      >      > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >      >      >
 >      >
 >      >
 >      >
 >      >     ___
 >      > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> <mailto:Pd-list@lists.iem.at 
<mailto:Pd-list@lists.iem.at>> <mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> 
<mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at>>> mailing list
 >      >     UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >      >
 >      >
 >      > ___
 >      > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> 
<mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at>> mailing list
 >      > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >      >
 >
 >
 >
 > 

Re: [PD] shmem and bigger buffer size

2020-01-31 Thread cyrille henry

I don't know why it fail on mac. You can try to split in smaller table, like 
you suggested.
But you should also test it on linux first since it's your main target.

c

Le 30/01/2020 à 19:55, iftah gabbai a écrit :

im building on mac os 10.12 and intending to run on linux(arm), i haven’t 
tested on linux, the problems im having are on mac,

thanks!

On Thu 30. Jan 2020 at 17:47, cyrille henry mailto:c...@chnry.net>> wrote:

what is your OS?

Le 30/01/2020 à 17:10, iftah gabbai a écrit :
 > hey C, i have 16gb of ram, and if i did not completely messed up my 
calcs i tried to allocate 2 min of 96khz (11.520.000)
 >
 > thanks again!
 >
 > On Thu 30. Jan 2020 at 17:06, cyrille henry mailto:c...@chnry.net> 
<mailto:c...@chnry.net <mailto:c...@chnry.net>>> wrote:
 >
 >     hello,
 >
 >     Do you have enough free memory on your computer?
 >     I just test on y computer, I can reproduce this error as soon as I 
ask an allocation bigger than the available memory on my hardware.
 >     (between 500 000 000 and 1 000 000 000 points)
 >
 >     cheers
 >     Cyrille
 >
 >     Le 30/01/2020 à 12:11, iftah gabbai a écrit :
 >      > ...perhaps i should elaborate, im trying to dump an array in the 
size of 11 520 000(2 min of 96 khz audio) to another instance of PD, is it possible 
at all or do i have to break it to smaller chunks?
 >      >
 >      > On Thu, Jan 30, 2020 at 12:01 PM iftah gabbai mailto:ift@gmail.com> 
<mailto:ift@gmail.com <mailto:ift@gmail.com>> <mailto:ift@gmail.com <mailto:ift@gmail.com> 
<mailto:ift@gmail.com <mailto:ift@gmail.com>>>> wrote:
 >      >
 >      >     hello all, ive been experimenting with shmem (the latest one i could 
find in deken), it works fine as long as i use very small arrays, as soon as i try to use 
bigger arrays ( havent checked where the breakpoint is but more than approx 40) it doesnt 
and it returns "could not allocate shmem memory Id"
 >      >
 >      >     i wonder if im doing something wrong or if its a known thing?
 >      >
 >      >
 >      >     thanks!
 >      >
 >      >
 >      > ___
 >      > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> 
<mailto:Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at>> mailing list
 >      > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >      >
 >
 >
 >
 >     ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> <mailto:Pd-list@lists.iem.at 
<mailto:Pd-list@lists.iem.at>> mailing list
 >     UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] shmem and bigger buffer size

2020-01-30 Thread cyrille henry

what is your OS?

Le 30/01/2020 à 17:10, iftah gabbai a écrit :

hey C, i have 16gb of ram, and if i did not completely messed up my calcs i 
tried to allocate 2 min of 96khz (11.520.000)

thanks again!

On Thu 30. Jan 2020 at 17:06, cyrille henry mailto:c...@chnry.net>> wrote:

hello,

Do you have enough free memory on your computer?
I just test on y computer, I can reproduce this error as soon as I ask an 
allocation bigger than the available memory on my hardware.
(between 500 000 000 and 1 000 000 000 points)

cheers
Cyrille

Le 30/01/2020 à 12:11, iftah gabbai a écrit :
 > ...perhaps i should elaborate, im trying to dump an array in the size of 
11 520 000(2 min of 96 khz audio) to another instance of PD, is it possible at all 
or do i have to break it to smaller chunks?
 >
 > On Thu, Jan 30, 2020 at 12:01 PM iftah gabbai mailto:ift@gmail.com> <mailto:ift@gmail.com <mailto:ift@gmail.com>>> 
wrote:
 >
 >     hello all, ive been experimenting with shmem (the latest one i could find in 
deken), it works fine as long as i use very small arrays, as soon as i try to use bigger 
arrays ( havent checked where the breakpoint is but more than approx 40) it doesnt and 
it returns "could not allocate shmem memory Id"
 >
 >     i wonder if im doing something wrong or if its a known thing?
 >
 >
 >     thanks!
 >
 >
 > ___
 > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
 > UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
 >



___
Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] shmem and bigger buffer size

2020-01-30 Thread cyrille henry

hello,

Do you have enough free memory on your computer?
I just test on y computer, I can reproduce this error as soon as I ask an 
allocation bigger than the available memory on my hardware.
(between 500 000 000 and 1 000 000 000 points)

cheers
Cyrille

Le 30/01/2020 à 12:11, iftah gabbai a écrit :

...perhaps i should elaborate, im trying to dump an array in the size of 11 520 
000(2 min of 96 khz audio) to another instance of PD, is it possible at all or 
do i have to break it to smaller chunks?

On Thu, Jan 30, 2020 at 12:01 PM iftah gabbai mailto:ift@gmail.com>> wrote:

hello all, ive been experimenting with shmem (the latest one i could find in deken), 
it works fine as long as i use very small arrays, as soon as i try to use bigger arrays ( 
havent checked where the breakpoint is but more than approx 40) it doesnt and it 
returns "could not allocate shmem memory Id"

i wonder if im doing something wrong or if its a known thing?


thanks!


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] pd~ binary for max/msp

2020-01-29 Thread cyrille henry

most redefinition are a conflict between liboscia and m_pd.h
I would try to remove liboscia from your compilled path.

But I don't know if m_ph.h should be included :
it is removed for max from pd~ source thanks to a #define line 54 :
#ifdef PD
#include "m_pd.h"
#include "s_stuff.h"
static t_class *pd_tilde_class;
#define PDERROR pd_error(x,
#endif

but it's included from "binarymsg.c" (pd~.c, line 104)

cheers
c


Le 29/01/2020 à 10:04, Antoine Villeret a écrit :

Hi,

I just give a try without much success.
There are lots of symbol redefinition errors.
Here is the full output : 
https://gist.github.com/avilleret/19bfb74c84cc49b27bd8610545748044
I need some hint to go further with this.

Cheers

a


Le mar. 28 janv. 2020 à 09:52, Alexandre Torres Porres mailto:por...@gmail.com>> a écrit :



Em dom., 26 de jan. de 2020 às 08:58, Miller Puckette via Pd-list 
mailto:pd-list@lists.iem.at>> escreveu:

I was doing that for a while but stopped (it was a lot of trouble 
tracking all
the changes in MacOS and Max at the time; perhaps this is easier now).  
I
won't be able to get to a Mac with Max until later this week, but if 
nobody
else can do it first I can give it a try.

It's a fun object - you can pretend to be using Max but do the heavy 
lifting
in Pd - you can use GEM, etc., too.)


I always thought this was an amazing idea, would love to try it out!
___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] pd~ binary for max/msp

2020-01-27 Thread cyrille henry



Le 26/01/2020 à 17:56, Miller Puckette via Pd-list a écrit :

I was doing that for a while but stopped (it was a lot of trouble tracking all
the changes in MacOS and Max at the time; perhaps this is easier now).  I
won't be able to get to a Mac with Max until later this week, but if nobody
else can do it first I can give it a try.


thanks! That would be nice.


It's a fun object - you can pretend to be using Max but do the heavy lifting
in Pd - you can use GEM, etc., too.)

that's the aim, since I don't know any other way to do heavy lifting in max. ;-)

cheers
Cyrille



cheers
Miller

On Sun, Jan 26, 2020 at 11:58:37AM +0100, cyrille henry wrote:

Hello,
Does anyone know where I can find the pd~ object compiled for max/MSP on OSX?

I don't have any apple computer, nor max/MSP, but I have to work on a project 
that should run on this configuration.
pd~ source code is made to be compiled for max, so I hope I can use it but 
can't find any binary online.

thanks
Cyrille



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] pd~ binary for max/msp

2020-01-26 Thread cyrille henry

Hello,
Does anyone know where I can find the pd~ object compiled for max/MSP on OSX?

I don't have any apple computer, nor max/MSP, but I have to work on a project 
that should run on this configuration.
pd~ source code is made to be compiled for max, so I hope I can use it but 
can't find any binary online.

thanks
Cyrille



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] configurable short-cut: WAS Re: find last error brings up subpatch or abstraction, but how to find parent?

2019-11-27 Thread cyrille henry



Le 26/11/2019 à 12:15, IOhannes m zmölnig a écrit :

On 11/25/19 9:00 AM, Roman Haefeli wrote:

Personally, I use this so often it would warrant its own keyboard
shortcut.


i use this so seldomly, that i wouldn't have thought about adding a
keyboard shortcut.

anyhow: i think the way forward is to make the shortcuts
user-configurable, so everybody can map whatever they prefer to any
menu-option.


I personally use pd on lot's of different computer, including computers that 
are not mine.
having user-configurable shortcut can be nice, but having default shortcut that 
works for 90% of users seem more important.

Cheers
Cyrille



fdsamr
IOhannes


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] opening patch from pd message

2019-11-26 Thread cyrille henry

helo,

I don't understand why most people use send and receive object all the time 
exept when sending message to pd.

I think > [;
pd open $1.pd /path-topatch;(
 is very confusing.

having :
[open $1.pd /path-topatch;(
  |
[send pd]
is lot's more logic.

moreover, you can add a print and see what you are doing.
In this situation, you would notice that $1 is not convertet to cat.
(an error in pd log would also help to find the problem).


anyway, replace [cat< by [symbol cat< and it will work.

best
Cyrille


Le 26/11/2019 à 15:12, Csaba Láng a écrit :

Dear list,

I want to open from a pd patch a pd patch withe the message:

[;
pd open $1.pd /path-topatch;(

With simple naming of the patches such as numbers, works beautifully.
However if the name is a word, I cannot open them. What kind of command should 
I send to this message to make it work?

just to be clear, if I want to open cat.pd, a message [cat( will not make it 
happen.

Thanks for any hints!

Best,
Popesz

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] sharing buffers across processes

2019-11-15 Thread cyrille henry

look at shmem, in deken.
cheers
c


Le 15/11/2019 à 11:31, iftah gabbai a écrit :

hi all, is there a way to share buffers throughout pd~ subprocesses?
thanks and have a great weekend!

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Raspberry Pi: Loading Samples RAM problem

2019-11-11 Thread cyrille henry



Le 11/11/2019 à 19:53, Jakob Laue a écrit :

Okay,
now I found some time to look at Giulios patch and I think I understood it :P 
(So many $'s in there :P)
So, what actually happens in that patch is that on [loadbang] we read 32768 
samples into an array using soundfiler.
Then when the file should be played, we do play the first 32768 samples using 
[tabplay~] and simultaneously load the rest of the file using [readsf~]. Then, 
when [tabplay~] is done playing the first bit of the sample, we send a [1( to 
[readsf~] to start playing the rest of the file.
I don't have any audio pops playing eight samples simultaneously, even using 
the cheap hdmi-to-cinch-converter as my audio interface (which caused more pops 
in comparison to the Scarlett USB interface while trying olivers patch). Also, 
I don't have to adjust Pd's audio settings. I can use the standard settings 
(44100, 64 blocksize, 25 msec) and I don't get audio pops, which is good.

But there is one thing that I realised: The wav-files are not played at 
original speed. They are all recorded in 122 bpm. When I play them with Giulois 
patch, the samples are played quite slowly, at around 111 bpm.


look like the sample are recorded at 48KHz and play at 44100.


In a later version of my sample player, I want to be able to change the 
bpm/tempo in which the samples are played, so I will need to have some 
mechanism for changing this. Using e.g. [phasor~] to play samples, this should 
work, but I don't know if it will be possible to do this using Giulios 
approach. In the help file of [tabplay~], it says that samples are played with 
no transposition, so maybe a transposition will not be possible to implement?! 
On the other hand, it says that [tabplay~] does not have the 
interpolation-artefacts that [tabread4~] has, which I would have, if I used a 
[phasor~] approach.


if you want to change the tempo, you need to somehow interpolate the samples...

best


All the best, Jakob
*Gesendet:* Dienstag, 05. November 2019 um 15:40 Uhr
*Von:* "oliver" 
*An:* Kein Empfänger
*Cc:* Pd-List 
*Betreff:* Re: [PD] Raspberry Pi: Loading Samples RAM problem
Jakob Laue wrote:
 > Okay,
 > finally I found some time to try some stuff out. First, I gave Olivers
 > examples a try.
 > I made a patch with eight [ol_sfplay~] objects to simulate my sample
 > player and tested this patch on my old Raspi 2
 > and also a Raspi 3. I also tested two different audio interfaces: a
 > Scarlett 2i4 USB audio interface and a HDMI-to-CINCH-Converter running
 > on the 2835 ALSA driver.
 > The best result was achieved by the Raspberry Pi 3 with the Scarlett
 > audio interface. I used
 > - block length of 64 from Pd's preferences
 > - buffersize of 512 and 1024 for [ol_sfplay~]
 > I have no pops and Pd does not freeze.
 > When I use the same configurations with the hdmi-to-cinch-converter and
 > alsa, I get audio pops.

please also consider using even 2048 as buffersize for [ol_sfplay~]. AND
you might want to increase PD's audio delay with the "-audiobuf" startup
flag.

try "-audiobuf 120" or higher and work your way down from there.

i remember using this method on a PI2 with an 8 track wav-file and
really had to increase those values to get a smooth playback.

it worked alright in the end but then i had no video-traffic ...

in general, use a PI3 if possible

best

oliver



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Vanilla method for symbol -> float

2019-10-12 Thread cyrille henry

hello,

you can use [fudiparse] better than [list tosymbol] to convert it directlly to 
a number.
cheers
c


Le 12/10/2019 à 09:01, João Pais a écrit :

Hi list,

I was trying something without succes, and couldn't find any documentation for 
it as well.


I wanted to split the symbol 2/4 to separate the numbers on both sides of the / 
. No problem using [list fromsymbol] and [list tosymbol] in doing that. But, 
afterwards I can't find a way of turning the symbol back to a float, except 
using an external. Is there any special hack somewhere for this?


Best,

JOao




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [SPAM] RE: [SPAM] [pd~] and sharing sample tables

2019-09-22 Thread cyrille henry



Le 22/09/2019 à 17:48, Ingo a écrit :

Thanks a lot, Cyrille!

I'll have to see howthis works and how I will get my 10,000+ tables to work
with this.
Looks like I might have to do one by one or am I wrong?

Computer have been invented to automate repetitive task. I don't know what you 
have to do, but I'm sure you can find a way not doing it one by one.


C



Ingo



-Original Message-
From: Pd-list [mailto:pd-list-boun...@lists.iem.at] On Behalf Of cyrille
henry
Sent: Sunday, September 22, 2019 2:35 PM
To: pd-list@lists.iem.at
Subject: Re: [PD] [SPAM] [pd~] and sharing sample tables

hello,


Le 22/09/2019   13:49, Ingo a  crit :

Hi everybody,

I have 3 questions about using the [pd~] object in an efficient way.
I'm trying to spread some heavy sample voices over multiple processor

cores.


1)
How can I read from common sample tables (or other parameter tables as
well) without having to load all sample (1 GB of samples) multiple times?
In the back of my head I think I heard about a "share memory" library
but couldn't find anything so far.

have a look at shmem, in deken.



2)
How can I assign a specific [pd~] process to a certain core?
Or does Pd automatically assign a new [pd~] process to another core?
It would obviously not improve anything if both patches were running
on the same cpu core .


This is what the OS is made for. In my experience, it just work.



3)
Is there a way that the [pd~] subprocess can receive the [send]
objects directly from the main process without having to resend each
individual send/receive object to the inlet of the sub process and
without having to build a receive object and then resend it by
prepending a header that can resend everything within the sub process?


No.
but this workaround can be nicely hidden in an abstraction.
you can create a [mysend] abstraction that is composed by a [send $1] and a
[list prepend $1] connected to a [send to_my_pd_tilde_object] etc...




I'm having a fairly large amount (185) of sends/receive objects and
tables (way more than 10,000 tables!).
Anything that might cut down the work and makes it more efficient to
run would be great!


you can search and replace all "send" to "mysend" on a pd patch using any
text editor.

cheers
C




Thanks a lot!
Ingo





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list








___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


  1   2   3   4   >