Debounce and Poly notein re-order

Oct 21, 2013 at 8:05am

Debounce and Poly notein re-order

I am trying to sort the order in which a group of 4 polyphonic notes arrive. I am using zl sort to sort in ascending order, but there seems to be a lot of bounce which alters the result when letting go of the keys (note offs) It could be MIDI controller. Having spent most of my time with MSP I fear it might be a simple MAX solution but do not seem to find an object to debounce the keys. Any help would be welcome. Thanks

<code>

– Pasted Max Patch, click to expand. –

</code>

#268616
Oct 21, 2013 at 8:50am

I seem to have managed to cure it, but why stripnote doesn’t work earier up in the chain puzzles me. I have resorted to 4 of them and this registers the pitches in ascending order without any glitch bounces in the result.

Maybe there is a more elegant way, this seems to work.

<code>

– Pasted Max Patch, click to expand. –

</code>

#268622
Oct 21, 2013 at 9:01am

In your original patch replacing the second [pack] with [pak] may solve your problem.

<code>

– Pasted Max Patch, click to expand. –

</code>

#268623
Oct 21, 2013 at 9:23am

Rick, many thanks, [Pak] did the trick.

#268626
Oct 22, 2013 at 12:14am

without any glitch bounces in the result.

______________________________________________
Fut 14 Coins

#268706

You must be logged in to reply to this topic.