net.sf.jack4j
Class JackMidiEvent

java.lang.Object
  extended by 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

Constructor Summary
JackMidiEvent(int time, byte[] data)
           
 
Method Summary
 byte[] getData()
           
 int getTime()
           
 void setData(byte[] data)
           
 void setTime(int time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JackMidiEvent

public JackMidiEvent(int time,
                     byte[] data)
Method Detail

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.