Page tree
Skip to end of metadata
Go to start of metadata

Description

Continuous controller events are determined by their controller number. Controller numbers from 0 to 127 follow the MIDI specification. Controller numbers above 127 are additional controllers that are specific to HALion.

To limit a function to the continuous controllers of the MIDI specification, use an if statement. See example below.

Available in: Processor.

Additional Controllers

Controllers like aftertouch, pitch bend and other special controllers are determined by controller numbers above 127.

NumberController
128Aftertouch
129Pitchbend
130Controller A
131Controller B
132Controller C
133Controller D
134Controller E
135Controller F
136Controller G
137Controller H
138reserved for polyhonic Velocity
139reserved for polyhonic Note Expression Custom 1
140reserved for polyhonic Note Expression Custom 2
141reserved for polyhonic Note Expression Custom 3
142reserved for polyhonic Note Expression Custom 4
143reserved for polyhonic Note Expression Custom 5
144reserved for polyhonic Note Expression Custom 6
145reserved for polyhonic Note Expression Custom 7
146reserved for polyhonic Note Expression Custom 8
147RPN Pitch Bend Range
148RPN Channel Fine Tuning (value range -8191 to 8191 equals -100 to 100 cent)
149RPN Channel Coarse Tuning (value range -64 to 63 equals -64 to 63 semitones)
150RPN Tuning Program Change
151RPN Tuning Bank Select
152RPN Modulation Depth Range

The function onController will not be called by controllers 138 to 146. They are reserved for the polyphonic sources note-on velocity and note expression custom 1-8. You can use the callback functions onNote and onNoteExpression instead.

Example

-- exclude MIDI mode messages and other special controllers
function onController(event)
    if event.controller < 120 then
        print("Controller #: "..event.controller..", Value: "..event.value)
        postEvent(event)
    end
end

3 Comments

    1. Hello Sabine,

      note on velocity and note expression custom 1-8 are separate modulation sources in the modulation matrix. Therefore, it should say "polyphonic sources" and not "polyphonic source's", right?

      Please have another look. Thanks!

  1. alles klar, wenn es Plural ist, muss es so...