Where the running tempo places a stream time in the score, for a smooth cursor
End the session and grade it; the next input starts a new one
A session is running: input has arrived and finish() has not been called
Where the score viewer's position line belongs, for MusicXmlPlayer's
position: under a set tempo a line gliding at the beat (the viewer
animates it between renders); otherwise on the note expected next; null
before anything has been played
Feed a captured audio chunk (wire to useTakeRecorder's onAudioChunk)
Feed a MIDI event (wire to onMidiEvent); only note-ons matter
The graded session, once finished
Discard the session and its results
Judge the next session against a set tempo, or follow the performer
again with null. Call it before the session's first input — from the
recorder's onRecordingStarted, once the metronome has started.
The latest state, or null before the first input of a session
The set tempo the next session will be judged against, or null to follow the performer
Return value of
useLivePerformance.