package
0.0.0-20240411020228-c5379f9b5b61
Repository: https://github.com/mattetti/audio.git
Documentation: pkg.go.dev

# Packages

filters implement easy to use audio filters.
No description provided by the author

# Functions

BitCrush reduces the resolution of the sample to the target bit depth Note that bit crusher effects are usually made of this feature + a decimator.
Decimate drops samples to switch to a lower sample rate.
FullWaveRectifier to make all signal positive See https://en.wikipedia.org/wiki/Rectifier#Full-wave_rectification.
MonoDownmix converts the buffer to a mono buffer by downmixing the channels together.
MonoRMS converts the buffer to mono and apply an RMS treatment.
NominalScale converts the input to a -1.0 / +1.0 scale.
NormalizeMax sets the max value to 1 and normalize the rest of the data.
PCMScale converts a buffer with audio content from -1 to 1 into the PCM scale based on the buffer's bitdepth.
Quantize quantizes the audio signal to match the target bitDepth.
Resample down or up samples the buffer.

# Variables

No description provided by the author
No description provided by the author