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 with an independent trigger input.


Field Summary
 UnitInputPort input
           
 UnitInputPort trigger
           
 
Fields inherited from class com.jsyn.unitgen.UnitGenerator
FALSE, TRUE
 
Constructor Summary
MultiChannelScopeProbeUnit(int numChannels, TriggerModel triggerModel)
           
 
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 getFramesCaptured()
           
 int getFramesPerBuffer()
           
 int getPostTriggerSize()
           
 float getSample(int bufferIndex, int sampleIndex)
           
 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,
                                  TriggerModel triggerModel)
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

getSample

public float getSample(int bufferIndex,
                       int sampleIndex)

getTriggerIndex

public int getTriggerIndex()

getFramesCaptured

public int getFramesCaptured()

getFramesPerBuffer

public int getFramesPerBuffer()

getPostTriggerSize

public int getPostTriggerSize()