Description
Enumerator to identify the different voice group steal modes.
Available in: Controller.
Voice Group Steal Modes
The voice group steal modes can be determined with these names or indices:
Index | Name |
1 | StealMode.lastNotePriority |
2 | StealMode.firstNotePriority |
3 | StealMode.lowNotePriority |
4 | StealMode.highNotePriority |
5 | StealMode.stealLowestAmplitude |
6 | StealMode.stealReleasedNotes |
Example
-- Activate the voice groups for the parent layer.
layer = this.parent
layer:setParameter("VoiceManager.Voice Management", 1) -- Set Voice Manager to "On".
layer:setParameter("VoiceManager.VoiceGroups", true) -- Activate the Voice Groups.
voiceGroups = layer:getParameter("VoiceManager.VoiceGroupsData")
for i = 1, 128 do
voiceGroups[i].maxPolyphony = 4 -- Set the max polyphony to 4.
voiceGroups[i].exclusiveGroup = 0 -- Set the exclusive group to "Off".
voiceGroups[i].stealMode = StealMode.lastNotePriority -- Set the steal mode to "Last Note Priority".
end
layer:setParameter("VoiceManager.VoiceGroupsData", voiceGroups)
See Also: VoiceGroupsData Table
1 Comment
Sabine Pfeifer
proofread done