com.perisic.sound
Class VoiceAssignment
java.lang.Object
com.perisic.sound.VoiceAssignment
public class VoiceAssignment
- extends java.lang.Object
The set of five voices that define the composition.
Copyright:(c) Marc Conrad, Tim French 2006; Usage of the works is
permitted provided that this instrument is retained with the works,
so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
- Author:
- Marc
Constructor Summary |
VoiceAssignment(java.util.Random rG)
Construction of a set of five voices bass, medium, sopran, high and
veryHigh based on the random number generator rG. |
Method Summary |
Voice[] |
getVoices()
The array contains the five voices in the order
{ veryHigh, high, sopran, medium, bass } |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VoiceAssignment
public VoiceAssignment(java.util.Random rG)
- Construction of a set of five voices bass, medium, sopran, high and
veryHigh based on the random number generator rG.
- Parameters:
rG
-
getVoices
public Voice[] getVoices()
- The array contains the five voices in the order
{ veryHigh, high, sopran, medium, bass }
- Returns:
- an array of the five voices.