com.jsyn.scope
Class MultiChannelScopeProbeUnit

java.lang.Object
  extended by com.jsyn.unitgen.UnitGenerator
      extended by com.jsyn.scope.MultiChannelScopeProbeUnit

public class MultiChannelScopeProbeUnit
extends UnitGenerator

Multi-channel scope probe.


Field Summary
 UnitInputPort input
           
 UnitInputPort trigger
           
 
Fields inherited from class com.jsyn.unitgen.UnitGenerator
FALSE, TRUE
 
Constructor Summary
MultiChannelScopeProbeUnit(int numChannels)
           
 
Method Summary
 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 getBaseIndex()
           
 float[] getBuffer(int index)
           
 int getFramesCaptured()
           
 int getFramesPerBuffer()
           
 int getPostTriggerSize()
           
 int getTriggerIndex()
           
 
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

input

public UnitInputPort input

trigger

public UnitInputPort trigger
Constructor Detail

MultiChannelScopeProbeUnit

public MultiChannelScopeProbeUnit(int numChannels)
Method Detail

arm

public void arm(double time,
                java.lang.Runnable callback)
Arm the probe at a future time.


generate

public void generate(int start,
                     int limit)
Description copied from class: UnitGenerator
Perform essential synthesis function.

Specified by:
generate in class UnitGenerator
Parameters:
start - offset into port buffers
limit - limit offset into port buffers for loop

getBuffer

public float[] getBuffer(int index)

getTriggerIndex

public int getTriggerIndex()

getFramesPerBuffer

public int getFramesPerBuffer()

getBaseIndex

public int getBaseIndex()

getFramesCaptured

public int getFramesCaptured()

getPostTriggerSize

public int getPostTriggerSize()