jmsltutorial
Class MutationMeanTransform
java.lang.Object
com.softsynth.jmsl.score.BinaryCopyBufferTransform
jmsltutorial.MutationMeanTransform
public class MutationMeanTransform
- extends BinaryCopyBufferTransform
MutationMeanTransform
The resulting melody is the pitch mean and duration mean of the two sources, specifically:
- the pitch of the resulting Noten = mean pitch of Aux1Noten and Aux2Noten
- the duration of the resulting Noten = mean duration of Aux1Noten and Aux2Noten
- Author:
- Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved
Field Summary |
static java.lang.String |
copyright
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final java.lang.String copyright
- See Also:
- Constant Field Values
MutationMeanTransform
public MutationMeanTransform()
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