Package com.softsynth.midifile
Class MIDIStandard
java.lang.Object
com.softsynth.midifile.MIDIStandard
public class MIDIStandard
extends java.lang.Object
MIDI Standard Information
- Author:
- Phil Burk (C) 1999 SoftSynth.com
-
Field Summary
Fields Modifier and Type Field Description static intCHANNEL_AFTERTOUCHstatic intCONTROL_CHANGEstatic intMETA_CHANNEL_PREFIXstatic intMETA_COPYRIGHTstatic intMETA_CUE_POINTstatic intMETA_END_OF_TRACKstatic intMETA_EVENTstatic intMETA_INSTRUMENT_NAMEstatic intMETA_KEY_SIGNATUREstatic intMETA_LYRICstatic intMETA_MARKERstatic intMETA_SEQUENCE_NAMEstatic intMETA_SEQUENCE_NUMBERstatic intMETA_SET_TEMPOstatic intMETA_SMPTE_OFFSETstatic intMETA_TEXT_EVENTstatic intMETA_TIME_SIGNATUREstatic intMThd_IDMIDI File chunk IDsstatic intMTrk_IDstatic intNOTE_OFFstatic intNOTE_ONstatic intPITCH_BENDstatic java.lang.String[]pitchNamesstatic intPOLYPHONIC_AFTERTOUCHstatic intPROGRAM_CHANGE -
Constructor Summary
Constructors Constructor Description MIDIStandard() -
Method Summary
Modifier and Type Method Description static java.lang.StringmessageToString(int command, int data1, int data2)static java.lang.StringpitchToString(int pitch)Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MThd_ID
public static final int MThd_IDMIDI 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 Details
-
MIDIStandard
public MIDIStandard()
-
-
Method Details
-
pitchToString
public static java.lang.String pitchToString(int pitch) -
messageToString
public static java.lang.String messageToString(int command, int data1, int data2)
-