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

    Type Alias ResolvedContext

    A context with everything resolved: dials validated, tempo and ceiling settled, and a positional source ready for each part.

    type ResolvedContext = {
        seed: number;
        rhythmic: number | undefined;
        harmonic: number | undefined;
        ornament: number | undefined;
        difficulty: number | undefined;
        bpm: number | undefined;
        algorithmVersion: number;
        instrument: (part: string) => InstrumentProfile | undefined;
        vocabulary: readonly Vocabulary<unknown>[];
        part: (name: string) => Draw;
    }
    Index
    seed: number
    rhythmic: number | undefined

    Requested rhythmic density, or undefined when the caller named none.

    harmonic: number | undefined

    Requested harmonic richness, or undefined when the caller named none.

    ornament: number | undefined

    Requested ornament density, or undefined when the caller named none.

    difficulty: number | undefined

    The difficulty ceiling, or undefined for no ceiling.

    bpm: number | undefined

    Tempo in BPM, or undefined when the caller named none.

    algorithmVersion: number

    The resolved algorithm version.

    instrument: (part: string) => InstrumentProfile | undefined

    The profile written for a part, if one was named for it.

    vocabulary: readonly Vocabulary<unknown>[]

    The figures the caller brought, validated; empty when it brought none.

    part: (name: string) => Draw

    The position-addressed samplers for a part.