Bug with Poly.

Contents:


Instructions:

  1. Load the patch, with a MIDI keyboard attached.
  2. Press 6-note (or more) chords simultaneously
  3. Observe L = lowest MIDI value you are pressing.
  4. Observe X = the MIDI value in the "pd 1poly" window.
  5. If L=X, goto step 2
  6. If L != X, release notes until only the lowest valued note L remains.  
  7. You will see that there will be one note indicated in the "pd 6poly" window, but others will be off. 
I believe if I am using [poly 1 0]
(1 note poly, note stealing=off)
and if there is a note still being pressed,
under no circumstances should there silence.

In other words, if there are N notes being played on the controller,
under all circumstances, with [poly P 0], where P <= N
the output output should match the keys pressed.

I feel the best way to deal with this is by adding another inlet/startup parameter for poly,
namely, mode:

1=highest note priority
2=lowest note priority
3=order received priority
4=reverse order received priority (not sure why this would be needed, but seems necessary for completeness)

Thanks!
BH
WilliamAHuston@gmail.com
5/15/2016

CLICK ON IMAGE TO MAKE FULL SIZE:


poly bug