Help please with poly ~

Lota's icon

I not so understand with object poly ~ and so, in the attached patch management of duration of the note is born "outside", polyphony - 4 voices, and turns out that that not clear when I press a key only the first note sounds during specified time. Other three on 200 мс. (time established inside of a patch.
In general can as that badly I explain but if to look in a patch you will understand.
If you will help my pleasure there will be no borders.
Excuse me please for my awful English language.

181.Desktop.zip
zip
jonnyfive's icon

Hi Rapoon: poly~ can be a tough egg but you are cracking it, keep it up ;)

a couple things:

1st: the reason you only get one note of the desired length is you have to choose which voice you are sending messages to with the target message, the default is 1, so only the first voice gets the '2000' into its second inlet. 'target 0' sends messages to all voices.

2nd the midinote object handles a couple things for you i would recommend using it, but it needs velocity, so use I added a makenote too.

Finally you don't need to manually create the amp-envelope you can use [adsr~].

you pretty much got it tho keep on it, mate!

-j5

Max Patch
Copy patch and select New From Clipboard in Max.

'test.maxpat'

Max Patch
Copy patch and select New From Clipboard in Max.

'synth.maxpat'

Lota's icon

Hi jonnyfive, many thanks for that that have assisted, i is very grateful )