com.softsynth.midifile
Class MIDIStandard

java.lang.Object
  extended by com.softsynth.midifile.MIDIStandard

public class MIDIStandard
extends java.lang.Object

MIDI Standard Information

Author:
Phil Burk (C) 1999 SoftSynth.com

Field Summary
static int CHANNEL_AFTERTOUCH
           
static int CONTROL_CHANGE
           
static int META_CHANNEL_PREFIX
           
static int META_COPYRIGHT
           
static int META_CUE_POINT
           
static int META_END_OF_TRACK
           
static int META_EVENT
           
static int META_INSTRUMENT_NAME
           
static int META_KEY_SIGNATURE
           
static int META_LYRIC
           
static int META_MARKER
           
static int META_SEQUENCE_NAME
           
static int META_SEQUENCE_NUMBER
           
static int META_SET_TEMPO
           
static int META_SMPTE_OFFSET
           
static int META_TEXT_EVENT
           
static int META_TIME_SIGNATURE
           
static int MThd_ID
          MIDI File chunk IDs
static int MTrk_ID
           
static int NOTE_OFF
           
static int NOTE_ON
           
static int PITCH_BEND
           
static java.lang.String[] pitchNames
           
static int POLYPHONIC_AFTERTOUCH
           
static int PROGRAM_CHANGE
           
 
Constructor Summary
MIDIStandard()
           
 
Method Summary
static java.lang.String messageToString(int command, int data1, int data2)
           
static java.lang.String pitchToString(int pitch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MThd_ID

public static final int MThd_ID
MIDI File chunk IDs

See Also:
Constant Field Values

MTrk_ID

public static final int MTrk_ID
See Also:
Constant Field Values

NOTE_OFF

public static final int NOTE_OFF
See Also:
Constant Field Values

NOTE_ON

public static final int NOTE_ON
See Also:
Constant Field Values

POLYPHONIC_AFTERTOUCH

public static final int POLYPHONIC_AFTERTOUCH
See Also:
Constant Field Values

CONTROL_CHANGE

public static final int CONTROL_CHANGE
See Also:
Constant Field Values

PROGRAM_CHANGE

public static final int PROGRAM_CHANGE
See Also:
Constant Field Values

CHANNEL_AFTERTOUCH

public static final int CHANNEL_AFTERTOUCH
See Also:
Constant Field Values

PITCH_BEND

public static final int PITCH_BEND
See Also:
Constant Field Values

META_EVENT

public static final int META_EVENT
See Also:
Constant Field Values

META_SEQUENCE_NUMBER

public static final int META_SEQUENCE_NUMBER
See Also:
Constant Field Values

META_TEXT_EVENT

public static final int META_TEXT_EVENT
See Also:
Constant Field Values

META_COPYRIGHT

public static final int META_COPYRIGHT
See Also:
Constant Field Values

META_SEQUENCE_NAME

public static final int META_SEQUENCE_NAME
See Also:
Constant Field Values

META_INSTRUMENT_NAME

public static final int META_INSTRUMENT_NAME
See Also:
Constant Field Values

META_LYRIC

public static final int META_LYRIC
See Also:
Constant Field Values

META_MARKER

public static final int META_MARKER
See Also:
Constant Field Values

META_CUE_POINT

public static final int META_CUE_POINT
See Also:
Constant Field Values

META_CHANNEL_PREFIX

public static final int META_CHANNEL_PREFIX
See Also:
Constant Field Values

META_END_OF_TRACK

public static final int META_END_OF_TRACK
See Also:
Constant Field Values

META_SET_TEMPO

public static final int META_SET_TEMPO
See Also:
Constant Field Values

META_SMPTE_OFFSET

public static final int META_SMPTE_OFFSET
See Also:
Constant Field Values

META_TIME_SIGNATURE

public static final int META_TIME_SIGNATURE
See Also:
Constant Field Values

META_KEY_SIGNATURE

public static final int META_KEY_SIGNATURE
See Also:
Constant Field Values

pitchNames

public static final java.lang.String[] pitchNames
Constructor Detail

MIDIStandard

public MIDIStandard()
Method Detail

pitchToString

public static java.lang.String pitchToString(int pitch)

messageToString

public static java.lang.String messageToString(int command,
                                               int data1,
                                               int data2)