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

    Interface TieOrSlurCard

    Two or three notes with a curve over them, with whether the curve is a tie or a slur to choose.

    interface TieOrSlurCard {
        answer: TieOrSlur;
        barAfter?: number;
        choices: TieOrSlur[];
        clef: Clef;
        kind: "tieOrSlur";
        notes: Pitch[];
        values: NoteValue[];
    }
    Index

    Properties

    answer: TieOrSlur
    barAfter?: number

    A bar line drawn after this note (its place in notes), the curve crossing it; absent when there is none

    choices: TieOrSlur[]

    Always ['tie', 'slur'], in that order, so the two answers stay in the same place card after card

    clef: Clef
    kind: "tieOrSlur"
    notes: Pitch[]

    The notes under the curve, left to right: two of the same pitch for a tie, two or three of different pitches for a slur

    values: NoteValue[]

    How long each note is written: the same values whichever the answer, so they never give it away