audio

package
v0.0.0-...-3e8481c Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatError

type FormatError struct {
	Field string
	Value interface{}
}

func NewFormatError

func NewFormatError(field string, value interface{}) FormatError

func (FormatError) Error

func (e FormatError) Error() string

type Sound

type Sound struct {
	Rate uint32
	Data [][]float32
}

func ReadWav

func ReadWav(f io.Reader) (*Sound, error)

func ReadWavFile

func ReadWavFile(fName string) (*Sound, error)

Jump to

Keyboard shortcuts

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