com.jsyn.unitgen
Class ChannelIn

java.lang.Object
  extended by com.jsyn.unitgen.UnitGenerator
      extended by com.jsyn.unitgen.ChannelIn

public class ChannelIn
extends UnitGenerator

Provides access to one channel of the audio input.

See Also:
ChannelOut

Field Summary
 UnitOutputPort output
           
 
Fields inherited from class com.jsyn.unitgen.UnitGenerator
FALSE, TRUE
 
Constructor Summary
ChannelIn()
           
 
Method Summary
 void generate(int start, int limit)
          Perform essential synthesis function.
 int getChannelIndex()
           
 void setChannelIndex(int channelIndex)
           
 
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

output

public UnitOutputPort output
Constructor Detail

ChannelIn

public ChannelIn()
Method Detail

getChannelIndex

public int getChannelIndex()

setChannelIndex

public void setChannelIndex(int channelIndex)

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