Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ADPCMToPCM ¶
func PCMtoADPCM ¶
Types ¶
type OkiRomEntry ¶
type OkiRomEntry struct {
// contains filtered or unexported fields
}
type Wav ¶
type Wav struct {
// contains filtered or unexported fields
}
func LoadWav ¶
Great WAV format description http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html http://soundfile.sapp.org/doc/WaveFormat/
type WaveFmt ¶
type WaveFmt struct { Subchunk1ID string // Must be "fmt " Subchunk1Size uint32 // 16 for PCM AudioFormat uint16 // PCM = 1 NumChannels uint16 // Mono 1, Stereo = 2, SampleRate uint32 // 44100 for CD-Quality ByteRate uint32 // SampleRate * NumChannels * BitsPerSample / 8 BlockAlign uint16 // NumChannels * BitsPerSample / 8 (number of bytes per sample) BitsPerSample uint16 // 8 bits, 16 bits.. }
type WaveHeader ¶
Click to show internal directories.
Click to hide internal directories.