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

# README

aiff codec

GoDoc Go Report Card Coverage Status Build Status

Support for int PCM data wrapped in aiff format. AIFC/sowt format supported.

See GoDoc for more details and examples.

# Packages

No description provided by the author

# Functions

AppleNoteToPitch returns the pitch for the stored note.
AppleScaleToString converts the scale information into a string representation.
NewDecoder creates a new reader reading the given reader and pushing audio data to the given channel.
NewEncoder creates a new encoder to create a new aiff file.

# Variables

COMMID is the common chunk ID.
No description provided by the author
Debug is a flag that can be turned on to see more logs.
ErrFmtNotSupported is a generic error reporting an unknown format.
ErrUnexpectedData is a generic error reporting that the parser encountered unexpected data.
No description provided by the author

# Structs

AppleMetadata is a list of custom fields sometimes set by Apple specific progams such as Logic.
Chunk is a struct representing a data chunk the reader is shared with the container but convenience methods are provided.
Decoder is the wrapper structure for the AIFF container.
Encoder encodes LPCM data into an aiff content.