jmsltutorial
Class MutationMeanTransform

java.lang.Object
  extended by com.softsynth.jmsl.score.BinaryCopyBufferTransform
      extended by jmsltutorial.MutationMeanTransform

public class MutationMeanTransform
extends BinaryCopyBufferTransform

MutationMeanTransform
The resulting melody is the pitch mean and duration mean of the two sources, specifically:

Author:
Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
MutationMeanTransform()
           
 
Method Summary
 double getMutationIndex()
           
 void operate(CopyBuffer fromBuffer1, CopyBuffer fromBuffer2, CopyBuffer toBuffer)
          Operate on CopyBuffer source1 & source2, sending result to CopyBuffer result.
 void setMutationIndex(double m)
           
 
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

MutationMeanTransform

public MutationMeanTransform()
Method Detail

setMutationIndex

public void setMutationIndex(double m)

getMutationIndex

public double getMutationIndex()

operate

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

Specified by:
operate in class BinaryCopyBufferTransform