public class DrumWoodFM extends Circuit implements UnitVoice
| Modifier and Type | Field and Description |
|---|---|
UnitInputPort |
frequency |
UnitInputPort |
index |
UnitInputPort |
mcratio |
UnitInputPort |
modRange |
FALSE, TRUE| Constructor and Description |
|---|
DrumWoodFM() |
| Modifier and Type | Method and Description |
|---|---|
UnitOutputPort |
getOutput() |
static VoiceDescription |
getVoiceDescription() |
void |
noteOff(TimeStamp timeStamp) |
void |
noteOn(double freq,
double ampl,
TimeStamp timeStamp)
Play whatever you consider to be a note on this voice.
|
void |
usePreset(int presetIndex) |
add, flattenOutputs, generate, setEnabled, setSynthesisEngineaddPort, addPort, convertHalfLifeToMultiplier, generate, getCircuit, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, isEnabled, pullData, setCircuit, setFrameRate, setPort, start, start, stop, stopequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUnitGenerator, setPortpublic UnitInputPort mcratio
public UnitInputPort index
public UnitInputPort modRange
public UnitInputPort frequency
public void noteOn(double freq,
double ampl,
TimeStamp timeStamp)
UnitVoicepublic UnitOutputPort getOutput()
getOutput in interface UnitSourcepublic void usePreset(int presetIndex)
public static VoiceDescription getVoiceDescription()