ddf.minim.ugens
Class Sink

java.lang.Object
  extended by ddf.minim.ugens.UGen
      extended by ddf.minim.ugens.Summer
          extended by ddf.minim.ugens.Sink
All Implemented Interfaces:
AudioSignal

public class Sink
extends Summer

A Sink is similar to a Summer, but instead of summing all of the UGens patched to it, it simply ticks them and only generates silence. This is useful if you have a UGen that needs to be ticked but that shouldn't be generating audio, such as an EnvelopeFollower.

Author:
Damien Di Fede

Nested Class Summary
 
Nested classes/interfaces inherited from class ddf.minim.ugens.UGen
UGen.InputType, UGen.UGenInput
 
Constructor Summary
Sink()
           
 
Method Summary
protected  void processSampleFrame(float[] in, float[] out)
           
 
Methods inherited from class ddf.minim.ugens.Summer
addInput, generate, generate, removeInput, sampleRateChanged, uGenerate
 
Methods inherited from class ddf.minim.ugens.UGen
getLastValues, patch, patch, patch, printInputs, sampleRate, setAudioChannelCount, setSampleRate, tick, unpatch, unpatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sink

public Sink()
Method Detail

processSampleFrame

protected void processSampleFrame(float[] in,
                                  float[] out)
Overrides:
processSampleFrame in class Summer