|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.fx.AbstractEffect
com.groovemanager.sampled.fx.Flanger
A Chorus/Flanger Effect. The processing code is derived from the one given in the book "Digital Audio with Java" by Craig A. Lindley.
| Field Summary | |
|---|---|
private BypassControl |
bypassControl
|
private float[][] |
delayBuffer
|
private int |
delayBufferSize
|
private DelayTimeControl |
delayControl
|
private DryWetControl |
dryWetControl
|
private FeedbackControl |
feedbackControl
|
private InvertFeedbackControl |
invertControl
|
private LFODepthControl |
lfoDepthControl
|
private LFOFrequencyControl |
lfoFreqControl
|
private int |
readIndex
|
private int |
sampleNumber
|
private double |
step
|
private double |
sweepValue
|
private LFOWaveFormControl |
waveFormControl
|
private int |
writeIndex
|
| Fields inherited from class com.groovemanager.sampled.fx.AbstractEffect |
|---|
sampleRate |
| Constructor Summary | |
|---|---|
Flanger()
|
|
| Method Summary | |
|---|---|
javax.sound.sampled.Control |
getControl(javax.sound.sampled.Control.Type type)
Get a Control of the desired type from this effect |
javax.sound.sampled.Control[] |
getControls()
Get the set of Controls for manipulation of this effect´s parameters |
boolean |
isControlSupported(javax.sound.sampled.Control.Type type)
Ask this effect, if it supports a Control of the given type |
boolean |
isUndoable()
Ask this Effect, if it can provide an Undo-Effect |
void |
open(float sampleRate)
Start the effect processing with the given sample rate. |
void |
process(java.nio.FloatBuffer[] in,
java.nio.FloatBuffer[] out)
Process a buffer of audio data. |
Effect |
undoEffect()
If undo is supported, this method should return an Effect that can bring the processed audio data into the state it had before processing by applying it to the processed audio data. |
| Methods inherited from class com.groovemanager.sampled.fx.AbstractEffect |
|---|
analyze, close, getName, isAnalyzing, isOpen, needsAnalysis, startAnalysis, stopAnalysis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BypassControl bypassControl
private float[][] delayBuffer
private int delayBufferSize
private DelayTimeControl delayControl
private DryWetControl dryWetControl
private FeedbackControl feedbackControl
private InvertFeedbackControl invertControl
private LFODepthControl lfoDepthControl
private LFOFrequencyControl lfoFreqControl
private int readIndex
private int sampleNumber
private double step
private double sweepValue
private LFOWaveFormControl waveFormControl
private int writeIndex
| Constructor Detail |
|---|
public Flanger()
| Method Detail |
|---|
public javax.sound.sampled.Control getControl(javax.sound.sampled.Control.Type type)
Effect
getControl in interface EffectgetControl in class AbstractEffecttype - The type of the Control
null.Effect.getControl(javax.sound.sampled.Control.Type)public javax.sound.sampled.Control[] getControls()
Effect
getControls in interface EffectgetControls in class AbstractEffectEffect.getControls()public boolean isControlSupported(javax.sound.sampled.Control.Type type)
Effect
isControlSupported in interface EffectisControlSupported in class AbstractEffecttype - The type of Control to ask for
Effect.isControlSupported(javax.sound.sampled.Control.Type)public boolean isUndoable()
Effect
isUndoable in interface EffectisUndoable in class AbstractEffectundoEffect() will return a valid Undo-Effect, false
otherwiseEffect.isUndoable()public void open(float sampleRate)
Effectprocess() and not necessarily by a final call to
close(). An Effect instance can be opened, closed and
re-opened unlimited times.
open in interface Effectopen in class AbstractEffectsampleRate - The samplerate of the audio data to processEffect.open(float)
public void process(java.nio.FloatBuffer[] in,
java.nio.FloatBuffer[] out)
Effect
process in interface Effectprocess in class AbstractEffectin - Array of two FloatBuffers containing the audio data to be
processed for the left (index [0]) and the right (index [1]) channel.out - Array of two FloatBuffers into which the processed audio
data should be written during this method.Effect.process(java.nio.FloatBuffer[], java.nio.FloatBuffer[])public Effect undoEffect()
Effect
undoEffect in interface EffectundoEffect in class AbstractEffectEffect.undoEffect()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||