Companion

object Companion

Functions

Link copied to clipboard
fun create(samaSamplePath: String, beatSamplePath: String, bpm: Float = 120.0f, beatsPerCycle: Int = 4): SonixMetronome

Zero-config factory - creates metronome with default settings.

Link copied to clipboard
fun renderClickTrack(samaSamplePath: String, beatSamplePath: String, bpm: Float, beatsPerCycle: Int, durationMs: Int, sampleRate: Int = 16000): AudioRawData?

Render a fixed-length click track to PCM for sample-locked playback.