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

# README

audiotools

GoDoc Build Status

Generic tools to deal with audio content. The goal of this repo is to provide a list of abstraction for common cases while developers can always reach directly to the specific audio packages.

An example of such tools would be to guess the format of an audio file, as shown here

# Functions

FileFormat returns the known format of the passed path.
HeaderFormat is looking at the header of a file and trying to guess the format.

# Variables

Aiff is the Audio Interchange File Format.
ErrInvalidPath indicates that the path is..
MIDI is the MIDI format.
Mp3 is the audio mpeg/3 format.
Unknown means that this library couldn't detect the format type.
VideoMP4 is the video mp4 format.
Wav is the Waveform Audio File Format (WAVE, or more commonly known as WAV due to its filename extension).

# Type aliases

Format is the audio format canonical name.