|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.palserv.XMidi.MX
public class MX
Convert a midi file to an XMidi (XML) file.
This class can be used in two ways:
MX mx = new MX(args);
mx.midiToXMidi();
Constructor Summary | |
---|---|
MX(java.lang.String[] args)
public constructor Takes "command line" arguments. |
Method Summary | |
---|---|
ByteLen |
deltaToInt(byte[] b,
int offset)
convert delta time to byte array a delta time is expressed as a byte array, length unknown (4 or less) |
static void |
main(java.lang.String[] args)
main routine, executed from command line. |
void |
midiToXMidi()
convert a midi file to an XMidi (XML) file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MX(java.lang.String[] args)
Util.getCmdLine
method for details.
Also, see the main package description
for details about external parsers.
args
- - command line arguments (as in main)Method Detail |
---|
public void midiToXMidi()
public static void main(java.lang.String[] args)
Util.getCmdLine
method for details of the command line arguments
args
- - command line argumentspublic ByteLen deltaToInt(byte[] b, int offset)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |