- All Known Implementing Classes:
- Oscillator, PinkNoise, PulseWave, SawWave, SignalChain, SineWave, Sink, SquareWave, Summer, TriangleWave, UGenSignal, WhiteNoise
public interface AudioSignal
If you want to write an audio generating class to work with Minim, you must
implement the AudioSignal
interface. Your only responsibility
is to fill either a single float buffer or two float buffers with values in
the range of [-1, 1]. The AudioOutput
to which you add your
signal will handle the mixing of multiple signals. There may be values in the
arrays when you receive them, left over from the previous signal in a
SignalChain
, but you can disregard them (or use them if
you're feeling crazy like that).
- Author:
- Damien Di Fede