Macro for detecting the last n voices that have been activated
This one is for Holden who specified the problem. This is at least the beginning of a solution.
LastNVoices is a macro that specifies the last N Voices that have been turned on. Works with a maximum of 8 voices. Filters out duplicate on events, so if voice 2 goes on twice in a row, specification of last N voices is unaffected.
You would use this macro to control a polyphonic sampler, if you want some sort of control event to affect only the last n voices that have played, or vice versa.
V- number, 1 to 8, of voice that has been turned on, send this number to the macro whenever a voice goes on
For each voice 1-8, outputs 1 to 8 are true if the voice is amongst the last N, false otherwise.
Macro reinitializes with each GSR.
Comes with a testbed instrument. Start with AllOff, then click on the VoiceOn button and watch the lights track the last N notes that have been turned on.
This is an old school r4 macro.