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

    Return value of usePracticeSession.

    interface UsePracticeSessionResult {
        beatsPerBar: number;
        clearLatest: () => void;
        handlePlaybackEnded: () => void;
        latest: TakeResult | null;
        live: UseLivePerformanceResult;
        metronome: UseMetronomeResult;
        noteStyles: ReadonlyMap<string, MusicXmlNoteStyle>;
        position: MusicXmlPlayerPosition | null;
        recorder: UseTakeRecorderResult;
        takeNote: string | null;
    }
    Index

    Properties

    beatsPerBar: number

    Beats in a bar of the score

    clearLatest: () => void

    Forget the latest take, so the card shows live feedback again

    handlePlaybackEnded: () => void

    Wire to the score player's onPlaybackEnded, so a playback-paced take ends with the track

    latest: TakeResult | null

    The most recent finished take, graded

    The live session, for a live readout

    The metronome, for a beat display

    noteStyles: ReadonlyMap<string, MusicXmlNoteStyle>

    The score viewer's styles: live verdicts while a take runs, the final grade's markings once it is in

    position: MusicXmlPlayerPosition | null

    Where the score viewer's position line belongs, or null while the score's own playback leads

    The recorder behind the session, for a record button

    takeNote: string | null

    What the take is doing: counting in, anchoring, ending; null when there is nothing to say