Minim index
Name EffectsChain
Examples
None available
Description An EffectsChain is a list of {@link AudioEffect AudioEffects} that gives you the ability to enable and disable effects, as you would in a typical DAW. When you add an effect, it is added to the end of the chain and is enabled. When you remove an effect, effects further down the chain are moved up a slot. EffectsChain is itself an AudioEffect, so you can easily create groups of effects that can be enabled/disabled together by putting them in an EffectsChain and then adding that chain to an Effectable as a single effect. EffectsChain is fully synchronized so that it is not possible to add and remove effects while processing is taking place.
Constructors
EffectsChain();
Methods
add ( )   Adds e to the end of the chain.

clear ( )   Removes all effects from the effect chain.

contains ( )   Returns true if e is in this chain

disable ( )   Disables e if it is in the chain.

disableAll ( )   Disables all effects in the chain.

enable ( )   Enables e if it is in the chain.

enableAll ( )   Enables all effects in the chain.

get ( )   Gets the ith effect in the chain.

hasEnabled ( )   Returns true if at least one effect in the chain is enabled.

isEnabled ( )   Returns true if e is in the chain and is enabled.

process ( )   Sends sampL and sampR to each effect in the chain, in order. The two float arrays should correspond to the left and right channels of a stereo signal.

remove ( )   Removes and returns the ith effect from the chain.

size ( )   Returns the number of effects in the chain.

Usage Web & Application
Related