@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias DrumStroke

    DrumStroke: GridEvent & {
        voice: DrumVoice;
        duration?: number;
        articulation?: Articulation;
        limb?: Limb;
    }

    One stroke of a pattern, on the bar's sixteenth grid.

    Velocity is a factor of the passage's base velocity rather than a MIDI number, so the same figure sits right in a verse and in a chorus.

    Type Declaration

    • voice: DrumVoice
    • Optionalduration?: number

      Sounding length in quarter-note beats; one sixteenth when absent.

    • Optionalarticulation?: Articulation
    • Optionallimb?: Limb

      Which limb plays the stroke, where the figure depends on it.