|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perisic.sound.VoiceAssignment
public class VoiceAssignment
The set of five voices that define the composition.
Copyright:(c) Marc Conrad, Tim French 2006-2010; 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.
Constructor Summary | |
---|---|
VoiceAssignment(long seed,
double x,
double y)
Construction of a set of five voices bass, medium, sopran, high and veryHigh based on a seed and coordinates in an x-y plane. |
|
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 |
Constructor Detail |
---|
public VoiceAssignment(long seed, double x, double y)
seed
- the seed for the random number generatorx
- x-coordinatey
- y-coordinatepublic VoiceAssignment(java.util.Random rG)
rG
- Method Detail |
---|
public Voice[] getVoices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |