@Deprecated
public interface AudioEffect
AudioEffect
is anything that can process one or two float
arrays. Typically it is going to be some kind of time-based process because
the float arrays passed to it will be consecutive chunks of audio data. The
effect is expected to modify these arrays in such a way that the values
remain in the range [-1, 1]. All of the effects included with Minim implement
this interface and all you need to do to write your own effects is to create
a class that implements this interface and then add an instance of it to an
anything that is Effectable
, such as an AudioOutput
.
This interface is Deprecated and will likely be removed from a future version
of Minim. We now recommend implementing your effects by extending UGen
.
Modifier and Type | Method and Description |
---|---|
void |
process(float[] signal)
Deprecated.
Processes
signal in some way. |
void |
process(float[] sigLeft,
float[] sigRight)
Deprecated.
Processes
sigLeft and sigRight in some way. |
void process(float[] signal)
signal
in some way.signal
- an array of audio samples, representing a mono sound stream.void process(float[] sigLeft, float[] sigRight)
sigLeft
and sigRight
in some way.sigLeft
- an array of audio samples, representing the left channel of a
stereo sound streamsigRight
- an array of audio samples, representing the right channel of a
stereo sound stream