Allocate notes to different voices
Name | Type | Opt | Description |
---|---|---|---|
number-of-voices and steal-mode (0 or non-zero) | int | opt | The first argument sets the number of voices to which poly can allocate notes (thus limiting the number of notes poly can hold at one time). If there is no argument present, poly can hold 16 notes. If there is no second argument, or if the second argument is , poly sends any notes it cannot hold out the rightmost outlet. If there is a second argument not equal to 0, poly steals voices: when poly receives more notes than it has voices, it turns off the note it has held the longest and puts the new note in its place. |
number-of-voices and steal-mode (0 or non-zero) | float | opt | Converted to | .
int | pitch-value [int] |
In left inlet: The number is treated as the pitch value of pitch-velocity pair and the note is sent out. |
(inlet1) | velocity-value [int] |
In right inlet: The number is stored as the velocity to be paired with numbers received in the left inlet. |
stop | In left inlet: Immediately sends note-offs for all the notes currently being held by poly, freeing all voices. |