Categorygithub.com/go-audio/wav
modulepackage
1.1.0
Repository: https://github.com/go-audio/wav.git
Documentation: pkg.go.dev

# README

wav codec

GoDoc Go Report Card Coverage Status Build Status

Wav audio file encoder and decoder. See GoDoc for more details.

# Packages

# Functions

DecodeCueChunk decodes the optional cue chunk and extracts cue points.
DecodeListChunk decodes a LIST chunk.
DecodeSamplerChunk decodes a smpl chunk and put the data in Decoder.Metadata.SamplerInfo.
NewDecoder creates a decoder for the passed wav reader.
NewEncoder creates a new encoder to create a new wav file.

# Variables

CIDCue is the chunk ID for the cue chunk.
CIDINFO is the chunk ID for an INFO chunk.
CIDList is the chunk ID for a LIST chunk.
CIDSmpl is the chunk ID for a smpl chunk.
ErrPCMChunkNotFound indicates a bad audio file without data.

# Structs

CuePoint defines an offset which marks a noteworthy sections of the audio content.
Decoder handles the decoding of wav files.
Encoder encodes LPCM data into a wav containter.
Metadata represents optional metadata added to the wav file.
SampleLoop indicates a loop and its properties within the audio file.
SamplerInfo is extra metadata pertinent to a sampler type usage.