Class BandPassUnitSink
java.lang.Object
com.jsyn.unitgen.UnitGenerator
com.jsyn.unitgen.Circuit
com.softsynth.jmsl.jsyn2.unitvoices.BandPassUnitSink
- All Implemented Interfaces:
com.jsyn.unitgen.UnitSink,com.jsyn.unitgen.UnitSource,com.jsyn.unitgen.UnitVoice
public class BandPassUnitSink
extends com.jsyn.unitgen.Circuit
implements com.jsyn.unitgen.UnitVoice, com.jsyn.unitgen.UnitSink
Signal processing. This Circuit implements UnitSink so you can connect other
signals to it. Used to demonstrate signal processing instrument. Applies
bandpass filter to input signal.
- Author:
- Nick Didkovsky, (c) 2016 all rights reserved
- See Also:
SignalProcessingScore2
-
Field Summary
Fields Modifier and Type Field Description com.jsyn.ports.UnitInputPortamplitudecom.jsyn.ports.UnitInputPortfrequencycom.jsyn.ports.UnitInputPortQFields 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 BandPassUnitSink() -
Method Summary
Methods inherited from class com.jsyn.unitgen.Circuit
add, addPortAlias, flattenOutputs, generate, getPortByName, setEnabled, setFrameRate, setSynthesisEngine, usePresetMethods 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, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jsyn.unitgen.UnitSink
getUnitGenerator, start, start, stop, stopMethods inherited from interface com.jsyn.unitgen.UnitVoice
getUnitGenerator, setPort, usePreset
-
Field Details
-
Q
public com.jsyn.ports.UnitInputPort Q -
frequency
public com.jsyn.ports.UnitInputPort frequency -
amplitude
public com.jsyn.ports.UnitInputPort amplitude
-
-
Constructor Details
-
BandPassUnitSink
public BandPassUnitSink()
-
-
Method Details
-
getOutput
public com.jsyn.ports.UnitOutputPort getOutput()- Specified by:
getOutputin interfacecom.jsyn.unitgen.UnitSource
-
getInput
public com.jsyn.ports.UnitInputPort getInput()- Specified by:
getInputin interfacecom.jsyn.unitgen.UnitSink
-