package
0.0.0-20240411020228-c5379f9b5b61
Repository: https://github.com/mattetti/audio.git
Documentation: pkg.go.dev
# Packages
generator example.
# Functions
NewOsc returns a new oscillator, note that if you change the phase offset of the returned osc, you also need to set the CurrentPhaseAngle.
Triangle takes an input value from -Pi to Pi and returns a value between -1 and 1.
Sine takes an input value from -Pi to Pi and returns a value between -1 and 1.
Square takes an input value from -Pi to Pi and returns -1 or 1.
Triangle takes an input value from -Pi to Pi and returns a value between -1 and 1.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
2.
0.
3.
1.
# Type aliases
WaveType is an alias type for the type of waveforms that can be generated.