feed Audio Samples
Feed audio samples to the session.
Accepts any sample rate and resamples internally to 16kHz.
All feature extraction (pitch detection, HPCP extraction) is delegated to the LiveEvaluator via processAudioFrame.
Parameters
samples
Mono audio samples (normalized -1.0 to 1.0)
sample Rate
Sample rate of the input audio in Hz (default: 16000)
capture Timestamp Nanos
Monotonic-nanoseconds wall-clock time at which the LAST sample in samples was captured at the mic, in the same domain as AudioTimestamp.nanoTime / com.musicmuni.voxatrace.internal.platform.nowMonotonicNanos. Used to map the buffer to player audible time via the OS audio engine's hardware clock. Pass 0 in offline / manual-feed contexts where no live recorder is involved — the anchor will fall back to the session clock.