Forums > MaxMSP

Debounce and Poly notein re-order


October 21, 2013 | 8:05 am

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>

October 21, 2013 | 8:50 am

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>

October 21, 2013 | 9:01 am

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

<code>

— Pasted Max Patch, click to expand. —

</code>

October 21, 2013 | 9:23 am

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

October 22, 2013 | 12:14 am

without any glitch bounces in the result.

______________________________________________
Fut 14 Coins

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP