Note off using poly~

danstaff88's icon

Having a little bit of trouble getting my notes to stop before the next one begins. Im not using poly to make a synth it is more of a sequencer type project im working on and i can't seem to apply the same technique you would use when using midi data.

what im doing it triggering audio with groove which is inside poly poly, the points on the function object control when an audio file is triggered.

The audio isnt cutting off before the next point triggers the sound again.

Any help with this?

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

Here is my poly object

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

And here is what is inside the poly its called basic

Im not sure if iv given the right parts of my patch, if not let me know.

There is also the top part of my patch which contains the function but i dont think i need to post that.

Thanks

Dan

danstaff88's icon

Sorry to bump this but im sure it simply i just cant see past my own stupidity!

It think what i need to do is use the counter in my patch to somehow calculate the time between 1 number and the next which is stored in coll object. Anyone got any tips for this?

Thanks and sorry again about the bump.

pid's icon

you need to study msp tutorial number 21. you are trying to do what poly~ already does for you. adapt the patch(es) in tut 21 for your needs. groove~ can be tricky in a poly~. use the startloop message and the stop message and a constant sig~ 1., use 'thispoly', consider play~, consider adsr~. good luck.