public class MultiChannelScopeProbeUnit extends UnitGenerator
Modifier and Type | Field and Description |
---|---|
UnitInputPort |
input |
UnitInputPort |
trigger |
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 |
---|
MultiChannelScopeProbeUnit(int numChannels,
TriggerModel triggerModel) |
Modifier and Type | Method and Description |
---|---|
void |
arm(double time,
java.lang.Runnable callback)
Arm the probe at a future time.
|
void |
generate(int start,
int limit)
Perform essential synthesis function.
|
int |
getFramesCaptured() |
int |
getFramesPerBuffer() |
int |
getPostTriggerSize() |
float |
getSample(int bufferIndex,
int sampleIndex) |
int |
getTriggerIndex() |
addPort, 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, stop
public UnitInputPort input
public UnitInputPort trigger
public MultiChannelScopeProbeUnit(int numChannels, TriggerModel triggerModel)
public void arm(double time, java.lang.Runnable callback)
public void generate(int start, int limit)
UnitGenerator
generate
in class UnitGenerator
start
- offset into port bufferslimit
- limit offset into port buffers for looppublic float getSample(int bufferIndex, int sampleIndex)
public int getTriggerIndex()
public int getFramesCaptured()
public int getFramesPerBuffer()
public int getPostTriggerSize()