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

    Type Alias BassLineOptions

    Options controlling generateBassLine.

    type BassLineOptions = {
        segments: BassSegment[];
        key: KeyScale;
        ts?: TimeSignature;
        style?: BassStyle;
        octave?: number;
        seed?: number;
    }
    Index
    segments: BassSegment[]

    Chord placement to follow; need not be pre-sorted.

    Key/scale context, used for diatonic approach tones in walking.

    Time signature; used for metric accents.

    { numerator: 4, denominator: 4 }

    style?: BassStyle

    Bass-line idiom.

    'root'

    octave?: number

    Target register as a base MIDI octave; roots land around octave*12+12.

    2
    
    seed?: number

    Seed for the deterministic PRNG.

    0