com.softsynth.jmsl.score
Class RandomInterleaveTransform

java.lang.Object
  extended bycom.softsynth.jmsl.score.BinaryCopyBufferTransform
      extended bycom.softsynth.jmsl.score.RandomInterleaveTransform

public class RandomInterleaveTransform
extends BinaryCopyBufferTransform

BinaryCopyBufferTransformation.
Operate on two copy buffers, send output to a third copyBuffer. Presumably, the third is Score.copyBuffer which is used by paste() JMSL Notation Project

Author:
Nick Didkovsky , copyright 2000 Nick Didkovsky

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
RandomInterleaveTransform()
           
 
Method Summary
 void operate(CopyBuffer fromBuffer1, CopyBuffer fromBuffer2, CopyBuffer toBuffer)
          Operate on CopyBuffer source1 & source2, sending result to CopyBuffer result.
 
Methods inherited from class com.softsynth.jmsl.score.BinaryCopyBufferTransform
getName, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values
Constructor Detail

RandomInterleaveTransform

public RandomInterleaveTransform()
Method Detail

operate

public void operate(CopyBuffer fromBuffer1,
                    CopyBuffer fromBuffer2,
                    CopyBuffer toBuffer)
Operate on CopyBuffer source1 & source2, sending result to CopyBuffer result. Don't forget to result.removeAllElements() first!

Example:

// interleave

Specified by:
operate in class BinaryCopyBufferTransform