whisper_pcm_to_mel method
Convert RAW PCM audio to log mel spectrogram. The resulting spectrogram is stored inside the default state of the provided whisper context. Returns 0 on success
Implementation
int whisper_pcm_to_mel(
ffi.Pointer<whisper_context> ctx,
ffi.Pointer<ffi.Float> samples,
int n_samples,
int n_threads,
) {
return _whisper_pcm_to_mel(
ctx,
samples,
n_samples,
n_threads,
);
}