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

    What usePlayedAnswer returns.

    interface UsePlayedAnswerResult {
        answer: PlayedAnswer | null;
        error: Error | null;
        giveUp: () => void;
        level: number;
        marks: (PlayedNoteMark | null)[];
        status: PlayedAnswerStatus;
    }
    Index

    Properties

    answer: PlayedAnswer | null

    The judged answer, once there is one

    error: Error | null
    giveUp: () => void

    End now: the notes not played count as missing

    level: number

    Microphone level 0–1 while listening

    marks: (PlayedNoteMark | null)[]

    How each note to play has been played so far, by its place in play.notes; null for a note not reached yet