jazz.core
Class ManipulationPitch
java.lang.Object
|
+--jazz.core.ManipulationPitch
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class ManipulationPitch
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
index
protected int index
start
protected boolean start
device
protected Device device
ManipulationPitch
public ManipulationPitch(Device d,
int index,
boolean start)
toPitch
public Pitch toPitch()
- Cast to a regular pitch. Note that this is a copy, not a reference.
adjustOctave
public void adjustOctave(int octaveOffset)
setDevice
public void setDevice(Device d)
setIndex
public void setIndex(int i)
canStart
public boolean canStart()
setCanStart
public void setCanStart(boolean start)
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object