LiteRtAudio
Represents audio data that can be preprocessed before being fed into a LiteRT model.
This class provides common audio operations such as resampling and converting audio data into a normalized FloatArray.
Functions
Link copied to clipboard
Returns a copy of this audio data resampled to the target sample rate.
Link copied to clipboard
Returns the audio data as a FloatArray.
Link copied to clipboard
Converts the audio to mono if it has multiple channels.