frustbite library

Pure-Dart audio library backed by Rust.

Classes

AudioCover
Embedded cover art.
AudioEdit
A lazy list of editing operations on a Frustbite, started with Frustbite.edit or Frustbite.concat.
AudioInfo
Description of an opened audio source.
AudioPcm
Fully decoded audio: interleaved f32 samples.
AudioTags
Metadata tags of an audio source. Missing values are null.
Frustbite
An opened audio source, backed by Rust on native and web platforms.
SilenceRange
A silent stretch found by Frustbite.detectSilence: [start, end).
Waveform
Amplitude summary for drawing, channel-major.

Enums

AudioCodec
Codec of the audio stream.
AudioContainer
Container format of an audio source.
FrustbiteErrorCode
Result of every fallible Frustbite function.
WaveformMode
How a waveform bucket's amplitude is computed.
WavFormat
Sample format of a written WAV file.

Exceptions / Errors

DecodingException
The audio data is corrupt or does not match the expected format.
FrustbiteException
Base class of every error reported by the Frustbite engine.
FrustbiteIoException
An underlying read failed.
InvalidParameterException
A parameter is out of range.
InvalidPathException
The path is empty, malformed or does not exist.
UnknownFrustbiteException
Internal or unclassified failure (invalid pointer, unknown code).
UnsupportedFormatException
The audio format is not recognised or not enabled in this build.