spessasynth_core documentation
    Preparing search index...

    Class ModulatorSource

    Represents a single Modulator source.

    Index

    This field specifies how the minimum value approaches the maximum value.

    The index of the source. It can point to one of the MIDI controllers or one of the predefined sources, depending on the 'isCC' flag.

    isBipolar: boolean

    If this field is set to false, the controller should be mapped with a minimum value of 0 and a maximum value of 1. This is also called Unipolar. Thus, it behaves similar to the Modulation Wheel controller of the MIDI specification.

    If this field is set to true, the controller should be mapped with a minimum value of -1 and a maximum value of 1. This is also called Bipolar. Thus, it behaves similar to the Pitch Wheel controller of the MIDI specification.

    isCC: boolean

    If this field is set to true, the MIDI Controller Palette is selected. The ‘index’ field value corresponds to one of the 128 MIDI Continuous Controller messages as defined in the MIDI specification.

    isNegative: boolean

    If this field is set true, the direction of the controller should be from the maximum value to the minimum value. So, for example, if the controller source is Key Number, then a Key Number value of 0 corresponds to the maximum possible controller output, and the Key Number value of 127 corresponds to the minimum possible controller input.