org.tritonus.share.midi
Class MidiUtils
java.lang.Object
org.tritonus.share.midi.MidiUtils
- public class MidiUtils
- extends Object
Helper methods for reading and writing MIDI files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MidiUtils
public MidiUtils()
getUnsignedInteger
public static int getUnsignedInteger(byte b)
get14bitValue
public static int get14bitValue(int nLSB,
int nMSB)
get14bitMSB
public static int get14bitMSB(int nValue)
get14bitLSB
public static int get14bitLSB(int nValue)
getVariableLengthQuantity
public static byte[] getVariableLengthQuantity(long lValue)
writeVariableLengthQuantity
public static int writeVariableLengthQuantity(long lValue,
OutputStream outputStream)
throws IOException
- Throws:
IOException