Hiyve Components - v1.0.0
    Preparing search index...

    Interface TuneQuestionsSettings

    How read-a-tune cards are made: the tune, and the questions asked about it.

    interface TuneQuestionsSettings {
        bars: number;
        clef: Clef;
        count: number;
        dynamics: readonly string[];
        highestMidi: number;
        keys: readonly string[];
        lowestMidi: number;
        questions: readonly TuneQuestionKind[];
        signs: readonly TuneSign[];
        speedChanges?: readonly string[];
        tempos: readonly string[];
        timeSignatures: readonly `${number}/${number}`[];
        values: readonly NoteValue[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    bars: number

    Bars in the tune, 2 to 4

    clef: Clef
    count: number

    Questions on each card, 2 to 4, as many as the tune allows (default: 3)

    dynamics: readonly string[]

    dynamic: the dynamics written, as term codes (default: p, mf, f)

    highestMidi: number

    The highest

    keys: readonly string[]

    The keys to draw from, as 'G:major' codes; a minor key's tune uses its natural minor, its 7th raised just before the end

    lowestMidi: number

    The lowest note the tune may use, as a MIDI number

    questions: readonly TuneQuestionKind[]

    The kinds of question that may be asked; one given twice may be asked twice, about different things (default: beats, highest, lowest, noteName)

    signs: readonly TuneSign[]

    The signs it may carry, one to three of them on each tune (default: none). speed writes changes of speed where music puts them: rit. or rall. into the last bars, or before a tempo brings the first speed back; accel. where it speeds up, then a tempo. daCapo shapes the whole tune as D.C. al Fine on three or four bars: a first part ending on the tonic at Fine, a second ending on the dominant, then back to the start

    speedChanges?: readonly string[]

    speed: the changes of speed that may be written, as term codes (default: ritardando, rallentando, accelerando and aTempo)

    tempos: readonly string[]

    tempo: the tempo words written, as term codes (default: Andante, Moderato, Allegro)

    timeSignatures: readonly `${number}/${number}`[]
    values: readonly NoteValue[]

    The note values (and rests) the bars are made of; pairs of eighths with eighthPair, a dotted quarter with the eighth after it with dottedQuarter and eighth