com.frinika.contrib.boblang
Class BezierSynth
java.lang.Object
com.frinika.contrib.boblang.BezierSynth
public class BezierSynth
- extends java.lang.Object
Bezier Wave 3.2
An object of this class is a synthesizer for a single note played on
the keyboard.
- Version:
- 7 April 2003
- Author:
- Bob Lang
Constructor Summary |
BezierSynth(int inMidiPitch,
BezierParams inParams)
Constructor to create a new Bezier wave of the specified frequency. |
Method Summary |
int |
getSample(int sampleNumber)
Calculate the value of the sound sample with the given index number |
void |
printParams()
Diagnostic print of the Bezier parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_AMPLITUDE
public static final int MAX_AMPLITUDE
- See Also:
- Constant Field Values
MAX_PITCH
public static final int MAX_PITCH
- See Also:
- Constant Field Values
HIGH_PITCH
public static final int HIGH_PITCH
- See Also:
- Constant Field Values
LOW_PITCH
public static final int LOW_PITCH
- See Also:
- Constant Field Values
AMP_STEADY
public static final int AMP_STEADY
- See Also:
- Constant Field Values
AMP_RISE_FALL
public static final int AMP_RISE_FALL
- See Also:
- Constant Field Values
AMP_RISING
public static final int AMP_RISING
- See Also:
- Constant Field Values
AMP_FALLING
public static final int AMP_FALLING
- See Also:
- Constant Field Values
BezierSynth
public BezierSynth(int inMidiPitch,
BezierParams inParams)
- Constructor to create a new Bezier wave of the specified frequency.
printParams
public void printParams()
- Diagnostic print of the Bezier parameters
getSample
public final int getSample(int sampleNumber)
- Calculate the value of the sound sample with the given index number