spessasynth_core documentation
    Preparing search index...

    Interface SF2Channel

    Represents a channel in an SF2-compatible synthesizer. Its data is used for computing Modulators.

    interface SF2Channel {
        midiControllers: Int16Array;
        midiParameters: {
            pitchWheel: number;
            pitchWheelRange: number;
            pressure: number;
        };
        polyPressures: Uint8Array;
    }
    Index
    midiControllers: Int16Array

    All MIDI controller values for modulation.

    midiParameters: {
        pitchWheel: number;
        pitchWheelRange: number;
        pressure: number;
    }

    Other MIDI parameters.

    Type Declaration

    • pitchWheel: number

      0-16,383

    • pitchWheelRange: number

      Semitones, can be a floating point number.

    • pressure: number

      Channel Pressure.

    polyPressures: Uint8Array

    Poly Pressures for all 128 notes.