prepareSession

suspend fun prepareSession()

Prepare the session for practice.

Loads reference audio and creates the LiveEvaluator for scoring. Call this before startPracticingSegment.

This is a suspend function that runs heavy work on a background dispatcher. The UI remains responsive while preparation happens.

Note: Reference audio must be 16kHz. Use SonixDecoder with default settings to decode audio files (it returns 16kHz by default).