README ¶ go-wavreader Go module to read from WAV (RIFF) audio file. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Reader func New(r io.ReaderAt) (*Reader, error) func (r *Reader) At(ch uint, offset uint64) (float32, error) func (r *Reader) Chans() uint16 func (r *Reader) Duration() time.Duration func (r *Reader) Len() uint64 func (r *Reader) Rate() uint32 func (r *Reader) Slice(sl, sr uint64) (*Reader, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Reader ¶ type Reader struct { // contains filtered or unexported fields } Reader ... func New ¶ func New(r io.ReaderAt) (*Reader, error) New ... func (*Reader) At ¶ func (r *Reader) At(ch uint, offset uint64) (float32, error) At ... func (*Reader) Chans ¶ func (r *Reader) Chans() uint16 Chans ... func (*Reader) Duration ¶ func (r *Reader) Duration() time.Duration Duration ... func (*Reader) Len ¶ func (r *Reader) Len() uint64 Len ... func (*Reader) Rate ¶ func (r *Reader) Rate() uint32 Rate ... func (*Reader) Slice ¶ func (r *Reader) Slice(sl, sr uint64) (*Reader, error) Slice ... Source Files ¶ View all Source files binary.go wavreader.go Click to show internal directories. Click to hide internal directories.