@Deprecated public interface AudioEffect
AudioEffectis 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
This interface is Deprecated and will likely be removed from a future version
of Minim. We now recommend implementing your effects by extending
void process(float signal)
signalin some way.
signal- an array of audio samples, representing a mono sound stream.
void process(float sigLeft, float sigRight)
sigRightin some way.
sigLeft- an array of audio samples, representing the left channel of a stereo sound stream
sigRight- an array of audio samples, representing the right channel of a stereo sound stream