|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jsyn.unitgen.UnitGenerator
com.jsyn.unitgen.UnitOscillator
com.jsyn.unitgen.SineOscillator
com.jsyn.unitgen.SineOscillatorPhaseModulated
public class SineOscillatorPhaseModulated
Sine oscillator with a phase modulation input. Phase modulation is similar to frequency modulation but is easier to use in some ways.
output = sin(PI * (phase + modulation) )
Field Summary | |
---|---|
UnitInputPort |
modulation
|
Fields inherited from class com.jsyn.unitgen.UnitOscillator |
---|
amplitude, DEFAULT_AMPLITUDE, DEFAULT_FREQUENCY, frequency, output, phase |
Fields inherited from class com.jsyn.unitgen.UnitGenerator |
---|
FALSE, TRUE |
Constructor Summary | |
---|---|
SineOscillatorPhaseModulated()
|
Method Summary | |
---|---|
void |
generate(int start,
int limit)
Perform essential synthesis function. |
Methods inherited from class com.jsyn.unitgen.UnitOscillator |
---|
convertFrequencyToPhaseIncrement, getOutput, noteOff, noteOff, noteOn, noteOn |
Methods inherited from class com.jsyn.unitgen.UnitGenerator |
---|
addPort, convertHalfLifeToMultiplier, flattenOutputs, generate, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, isEnabled, pullData, setCircuit, setFrameRate, setSynthesisEngine, start, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public UnitInputPort modulation
Constructor Detail |
---|
public SineOscillatorPhaseModulated()
Method Detail |
---|
public void generate(int start, int limit)
UnitGenerator
generate
in class SineOscillator
start
- offset into port bufferslimit
- limit offset into port buffers for loop
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |