module Soundtouch:sig..end
Soundtouch is a library to change tempo or pitch of sound.
type t
A converter.
val make : int -> int -> tCreate a new soundtouch converte with given number of channels and samplerate.
val get_version_string : t -> stringSoundtouch library version.
val get_version_id : t -> intSoundtouch library version identifier.
val set_rate : t -> float -> unitSet playing rate (default is 1., smaller means slower).
val set_tempo : t -> float -> unitSet tempo (default 1., smaller means slower).
val set_pitch : t -> float -> unitSet pitch (default 1., smaller means lower).
val put_samples_ni : t -> float array array -> int -> int -> unitPut samples (in a non-interleaved format) with given offset in array and number of samples.
val get_available_samples : t -> intNumber of available output samples.
val get_samples_ni : t -> float array array -> int -> int -> intRetreive samples (in a non-interleaved format).
val flush : t -> unitFlush the last samples from the processing pipeline to the output.
val clear : t -> unitClear all samples in output and internal processing buffers.
module BPM:sig..end
Tempo (beats-per-minute) detection.