wav

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package wav provides functionality to handle .wav files and .wav encoded data.

This package may be imported solely to register wavs as a parseable file type within oak:

import (
    _ "github.com/oakmound/oak/v4/audio/format/wav"
)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(r io.Reader) (pcm.Reader, error)

Load reads a WAV header from a reader, parsing it's PCM format and returning a pcm Reader for the data following the header. It will error if the reader does not contain enough data to fill a WAV header. It does not validate that the WAV header makes sense.

Types

This section is empty.

Jump to

Keyboard shortcuts

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