spessasynth_core documentation
    Preparing search index...

    Type Alias ChannelDrumModification

    ChannelDrumModification: Map<
        number,
        ClearableParameter<
            { [P in keyof DrumParameter]?: ClearableParameter<DrumParameter[P]> },
        >,
    >

    All drum note modifications for a single channel.

    • Key: the MIDI drum key/note number to modify.
    • value:
      • "clear" - all drum parameter changes for this note are removed.
      • object - partial parameter changes for this note:
        • Key: drum parameter name.
        • value:
          • "clear" - all changes for this parameter are removed.
          • specific value - clear + insert a message setting this at the channel's first note on.