spessasynth_core documentation
    Preparing search index...

    Variable ModulatorControllerSourcesConst

    ModulatorControllerSources: {
        channelPressure: 13;
        link: 127;
        noController: 0;
        noteOnKeyNum: 3;
        noteOnVelocity: 2;
        pitchWheel: 14;
        pitchWheelRange: 16;
        polyPressure: 10;
    } = ...

    All SF2 Modulator controller sources. These values are mapped on the range from 0 to 1 (or -1 to 1 for bipolar transform) with the transform specified.

    Type Declaration

    • ReadonlychannelPressure: 13

      Current channel pressure on the channel.

    • Unsupported and discarded if encountered.

    • ReadonlynoController: 0

      Value is equal to 1.

    • ReadonlynoteOnKeyNum: 3

      MIDI note number of the note on event associated with the voice.

    • ReadonlynoteOnVelocity: 2

      Velocity of the note on event associated with the voice.

    • ReadonlypitchWheel: 14

      The current pitch wheel value on the channel.

    • ReadonlypitchWheelRange: 16

      The current pitch wheel range (where 1 means 127 semitones) on the channel.

    • ReadonlypolyPressure: 10

      Current poly pressure on the same note as the voice.