create

fun create(config: VocalRangeSessionConfig = VocalRangeSessionConfig(), detector: CalibraPitch.Detector): VocalRangeSession

Create a session with configuration and detector.

Session takes ownership of the detector and will release it when the session is released.

Return

Configured VocalRangeSession instance

Parameters

config

Session configuration (default: auto-flow enabled)

detector

Pitch detector (required). Session takes ownership.