Documentation ¶
Index ¶
Constants ¶
View Source
const ( WaveFormatPCM WaveFormat = 0x0001 WaveFormatIEEEFloat = 0x0003 WaveFormatALaw = 0x0006 WaveFormatMULaw = 0x0007 WaveFormatExtensible = 0xFFFE )
WaveFormat wave format tag
Variables ¶
This section is empty.
Functions ¶
func GetSampleParser ¶
func GetSampleParser(bitsPerSample uint16, waveFormat WaveFormat) (func([]byte) float64, error)
GetSampleParser get sample parser
Types ¶
type StereoData ¶
StereoData stereo data
type Wav ¶
type Wav struct { WaveFormat WaveFormat NumChannels uint16 SampleRate uint32 BitsPerSample uint16 DataChuckSize uint32 Data []byte }
Wav struct
type WaveFormat ¶
type WaveFormat uint16
WaveFormat type
func (WaveFormat) String ¶
func (f WaveFormat) String() string
Click to show internal directories.
Click to hide internal directories.