Package wellen.dsp
Class Crossfader
java.lang.Object
wellen.dsp.Crossfader
- All Implemented Interfaces:
DSPNodeOutput
-
Field Summary
Modifier and TypeFieldDescriptionfloat
the crossfade value where a value of 0 means Input A at 100% and Input B at 0%, a value of 0.5 means Input A at 50% and Input B at 50%, and a value of 1 means Input A at 0% and Input B at 100%. -
Constructor Summary
-
Method Summary
-
Field Details
-
ratio
public float ratiothe crossfade value where a value of 0 means Input A at 100% and Input B at 0%, a value of 0.5 means Input A at 50% and Input B at 50%, and a value of 1 means Input A at 0% and Input B at 100%. -
signal_a
-
signal_b
-
-
Constructor Details
-
Crossfader
public Crossfader()
-
-
Method Details
-
output
public float output()Description copied from interface:DSPNodeOutput
returns the output signal.- Specified by:
output
in interfaceDSPNodeOutput
- Returns:
- processed signal
-