@libraz/libcantus - v0.9.3
    Preparing search index...

    Type Alias DrumsOptions

    Options controlling generateDrums.

    type DrumsOptions = {
        bars: number;
        bpm: number;
        style: GrooveStyle;
        section: Section;
        density: number;
        fills?: boolean;
        feel?: GrooveFeel;
        role?: DrumRole;
        seed?: number;
        nextSection?: Section;
        euclideanKick?: EuclideanKick;
    }
    Index
    bars: number
    bpm: number
    section: Section
    density: number
    fills?: boolean

    Replace the final bar with a fill.

    false
    
    feel?: GrooveFeel
    role?: DrumRole

    Voicing role; 'fxOnly' suppresses the main kick/snare/ghost/fill voices.

    'full'

    seed?: number

    Seed for the deterministic PRNG.

    0
    
    nextSection?: Section

    Section the final-bar fill leads into. Shapes which fill archetype is chosen (into-chorus and out-of-intro fills differ from generic ones). Defaults to section, i.e. a within-section fill.

    euclideanKick?: EuclideanKick

    When set, the kick follows this Euclidean rhythm instead of the style/section pattern, giving direct access to evenly spread onsets.