wavreader

package module
v0.0.0-...-f49019a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2021 License: MIT Imports: 4 Imported by: 3

README

go-wavreader

Go module to read from WAV (RIFF) audio file.

Documentation

Index

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 ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL