Documentation ¶
Overview ¶
Package wav provides functionality to handle .wav files and .wav encoded data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFormat ¶ added in v3.4.0
Read reads a WAV header from the provided reader, returning the PCM format and leaving the PCM data in the reader available for consumption.
Types ¶
type Data ¶
type Data struct { ChunkSize uint32 // L Subchunk1Size uint32 // L AudioFormat uint16 // L NumChannels uint16 // L SampleRate uint32 // L ByteRate uint32 // L BlockAlign uint16 // L BitsPerSample uint16 // L Subchunk2Size uint32 // L Data []byte // L // contains filtered or unexported fields }
Data stores the raw information contained in a wav file
Click to show internal directories.
Click to hide internal directories.