wavex v0.14.1 Wavex
Read LPCM WAVE data.
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %Wavex{
bae: Wavex.Chunk.BAE.t() | nil,
data: Wavex.Chunk.Data.t(),
format: Wavex.Chunk.Format.t(),
riff: Wavex.Chunk.RIFF.t()
}
Link to this section Functions
The duration of a wave file in seconds.
Map over the data of a Wavex value.
Link to this function
read(binary)
read(binary()) :: {:ok, t()} | {:error, Wavex.Error.BlockAlignMismatch.t() | Wavex.Error.ByteRateMismatch.t() | Wavex.Error.MissingChunks.t() | Wavex.Error.RIFFSizeMismatch.t() | Wavex.Error.UnexpectedEOF.t() | Wavex.Error.UnexpectedFormatSize.t() | Wavex.Error.UnexpectedFourCC.t() | Wavex.Error.UnreadableDate.t() | Wavex.Error.UnreadableTime.t() | Wavex.Error.UnsupportedBitrate.t() | Wavex.Error.UnsupportedFormat.t() | Wavex.Error.ZeroChannels.t()}
Read LPCM WAVE data.