public abstract class UnitStreamWriter extends UnitGenerator implements UnitSink
Modifier and Type | Field and Description |
---|---|
UnitInputPort |
input |
protected AudioOutputStream |
outputStream |
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, synthesisEngine, TRUE, VERY_SMALL_FLOAT
Constructor and Description |
---|
UnitStreamWriter() |
Modifier and Type | Method and Description |
---|---|
UnitInputPort |
getInput() |
AudioOutputStream |
getOutputStream() |
boolean |
isStartRequired()
This unit won't do anything unless you start() it.
|
void |
setOutputStream(AudioOutputStream outputStream) |
addPort, addPort, autoStop, convertHalfLifeToMultiplier, convertTimeToRate, flattenOutputs, generate, generate, getCircuit, getFramePeriod, getFrameRate, getId, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, incrementWrapPhase, isEnabled, printConnections, printConnections, printConnections, pullData, setCircuit, setEnabled, setFrameRate, setPort, setSynthesisEngine, start, start, start, stop, stop, stop
protected AudioOutputStream outputStream
public UnitInputPort input
public AudioOutputStream getOutputStream()
public void setOutputStream(AudioOutputStream outputStream)
public boolean isStartRequired()
isStartRequired
in class UnitGenerator
public UnitInputPort getInput()