public class PitchToFrequency extends PowerOfTwo
input, outputFALSE, PORT_NAME_AMPLITUDE, PORT_NAME_CUTOFF, PORT_NAME_FREQUENCY, PORT_NAME_FREQUENCY_SCALER, PORT_NAME_INPUT, PORT_NAME_OUTPUT, PORT_NAME_PAN, PORT_NAME_PHASE, PORT_NAME_PRESSURE, PORT_NAME_TIMBRE, PORT_NAME_TIME, synthesisEngine, TRUE, VERY_SMALL_FLOAT| Constructor and Description |
|---|
PitchToFrequency() |
| Modifier and Type | Method and Description |
|---|---|
double |
adjustInput(double in)
Convert from MIDI pitch to an octave offset from Concert A.
|
double |
adjustOutput(double out)
Convert scaler to a frequency relative to Concert A.
|
generateaddPort, addPort, autoStop, convertHalfLifeToMultiplier, convertTimeToRate, flattenOutputs, generate, getCircuit, getFramePeriod, getFrameRate, getId, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, incrementWrapPhase, isEnabled, isStartRequired, printConnections, printConnections, printConnections, pullData, setCircuit, setEnabled, setFrameRate, setPort, setSynthesisEngine, start, start, start, stop, stop, stoppublic double adjustInput(double in)
adjustInput in class PowerOfTwopublic double adjustOutput(double out)
adjustOutput in class PowerOfTwo