|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.niffty.PartDescriptionOverride
A PartDescriptionOverride has a MIDI channel, MIDI cable and transpose. A PartDescriptionOverride's scope depends on the chunk type on which it appears.
Constructor Summary | |
PartDescriptionOverride()
Creates new PartDescriptionOverride with all zero values |
|
PartDescriptionOverride(int midiChannel,
int midiCable,
int transpose)
Creates new PartDescriptionOverride with the given values. |
Method Summary | |
int |
getMidiCable()
Return the MIDI cable value, or -1 specifies none. |
int |
getMidiChannel()
Return the MIDI channel value, or -1 specifies none. |
int |
getTranspose()
Return the transpose value. |
java.lang.String |
toString()
Returns string as "(MIDI channel:value, MIDI cable:value, transpose:value)" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PartDescriptionOverride()
public PartDescriptionOverride(int midiChannel, int midiCable, int transpose)
midiChannel
- the MIDI channel. Use -1 to specify none.midiCable
- the MIDI cable. Use -1 to specify none.transpose
- Number of halfsteps to transpose this part during playbackMethod Detail |
public int getMidiChannel()
public int getMidiCable()
public int getTranspose()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |