wavex v0.12.0 Wavex

Read LPCM WAVE data.

Link to this section Summary

Functions

The duration of a wave file in seconds

Map over the data of a %Wavex{} value

Read LPCM WAVE data

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

Link to this function duration(wavex)
duration(t()) :: number()

The duration of a wave file in seconds.

Link to this function map(wave, function)
map(t(), (integer() -> integer())) :: t()

Map over the data of a %Wavex{} value.

Link to this function read(binary)
read(binary()) :: {:ok, t()} | {:error, Wavex.Error.t()}

Read LPCM WAVE data.