net.sf.jack4j
Class JackMidiEvent
java.lang.Object
net.sf.jack4j.JackMidiEvent
public class JackMidiEvent
- extends java.lang.Object
MIDI event that can be processed by Jack.
The class only contains time (frame number since "the zero time"), and raw
MIDI data represented as byte array.
- Author:
- repa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JackMidiEvent
public JackMidiEvent(int time,
byte[] data)
getTime
public int getTime()
- Returns:
- the time
setTime
public void setTime(int time)
- Parameters:
time
- the time to set
getData
public byte[] getData()
- Returns:
- the data
setData
public void setData(byte[] data)
- Parameters:
data
- the data to set
Copyright © 2008 Ondrej Par. All Rights Reserved.