|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfugue.Layer
public class Layer
Represents layer changes. A Layer allows multiple sounds to be played at the same time on a single track (also known as a voice), without those notes being specified as a chord. This is particularly helpful when sing Track 9, the percussion track, so multiple percussion sounds can occur at the same time.
Constructor Summary | |
---|---|
Layer(byte layer)
Creates a new Layer object, with the specified layer number. |
Method Summary | |
---|---|
byte |
getLayer()
Returns the layer used in this object |
java.lang.String |
getMusicString()
Returns the Music String representing this element and all of its settings. |
void |
setLayer(byte layer)
Sets the value of the layer for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Layer(byte layer)
layer
- the number of the layer to useMethod Detail |
---|
public void setLayer(byte layer)
layer
- the number of the layer to usepublic byte getLayer()
public java.lang.String getMusicString()
L
layer-number
getMusicString
in interface JFugueElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |