public final class PWheel extends java.lang.Object implements VoiceEvt, java.lang.Cloneable
| Constructor and Description |
|---|
PWheel()
Public constructor for creating a default (empty) pitch wheel event
|
PWheel(int value,
short midiChannel,
int time)
Public constructor for creating a pitch wheel event with pitch wheel value
midi channel and time
|
| Modifier and Type | Method and Description |
|---|---|
Event |
copy()
Makes a copy of an event
|
short |
getID()
Retrieve an events id
|
short |
getMidiChannel()
Return pitch wheel events MIDI channel
|
int |
getTime()
Return pitch wheel events time
|
int |
getValue()
Return pitch wheel events pitch wheel value
|
void |
print()
Print this events data in a System.out.println format
|
int |
read(java.io.DataInputStream dis)
read in event data from disk
|
void |
setMidiChannel(short midiChannel)
Set pitch wheel events MIDI channel
|
void |
setTime(int time)
Set pitch wheel events time
|
void |
setValue(int value)
Set pitch wheel events pitch wheel value
|
int |
write(java.io.DataOutputStream dos)
write out event data to disk
|
public PWheel()
public PWheel(int value,
short midiChannel,
int time)
public int getValue()
public void setValue(int value)
public short getMidiChannel()
getMidiChannel in interface VoiceEvtpublic void setMidiChannel(short midiChannel)
setMidiChannel in interface VoiceEvtpublic int getTime()
public void setTime(int time)
public short getID()
Eventpublic int write(java.io.DataOutputStream dos)
throws java.io.IOException
Eventpublic int read(java.io.DataInputStream dis)
throws java.io.IOException
Eventpublic Event copy() throws java.lang.CloneNotSupportedException
Event