Package jmslexamples.jsyn2.unitvoices
Class FMPair
java.lang.Object
com.jsyn.unitgen.UnitGenerator
com.jsyn.unitgen.Circuit
jmslexamples.jsyn2.unitvoices.FMPair
- All Implemented Interfaces:
com.jsyn.unitgen.UnitSource
public class FMPair
extends com.jsyn.unitgen.Circuit
implements com.jsyn.unitgen.UnitSource
Classic FM Pair. Modified from the JSyn 1 version by Andrew Gram
- Author:
- Nick Didkovsky
-
Field Summary
Fields Modifier and Type Field Description com.jsyn.ports.UnitInputPort
caramplitude
com.jsyn.ports.UnitInputPort
carfrequency
com.jsyn.ports.UnitInputPort
modamplitude
com.jsyn.ports.UnitInputPort
modfrequency
Fields inherited from class com.jsyn.unitgen.UnitGenerator
FALSE, 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, TRUE
-
Constructor Summary
Constructors Constructor Description FMPair()
-
Method Summary
Methods inherited from class com.jsyn.unitgen.Circuit
add, addPortAlias, flattenOutputs, generate, getPortByName, setEnabled, setFrameRate, setSynthesisEngine, usePreset
Methods inherited from class com.jsyn.unitgen.UnitGenerator
addPort, addPort, convertHalfLifeToMultiplier, generate, getCircuit, getFramePeriod, getFrameRate, getId, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, isEnabled, isStartRequired, printConnections, printConnections, printConnections, pullData, setCircuit, setPort, start, start, start, stop, stop, stop
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.jsyn.unitgen.UnitSource
getUnitGenerator
-
Field Details
-
modfrequency
public com.jsyn.ports.UnitInputPort modfrequency -
modamplitude
public com.jsyn.ports.UnitInputPort modamplitude -
carfrequency
public com.jsyn.ports.UnitInputPort carfrequency -
caramplitude
public com.jsyn.ports.UnitInputPort caramplitude
-
-
Constructor Details
-
FMPair
public FMPair()
-
-
Method Details
-
getOutput
public com.jsyn.ports.UnitOutputPort getOutput()- Specified by:
getOutput
in interfacecom.jsyn.unitgen.UnitSource
-
main
public static void main(java.lang.String[] args)
-