Package org.jjazz.midi.api
Class MidiConst
java.lang.Object
org.jjazz.midi.api.MidiConst
Midi Constants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Pulsation Per Quarter --static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fixed sequencer reference tempo in BPM.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkChorus
(int v) static boolean
checkMidiChannel
(int c) static boolean
checkPanoramic
(int p) static boolean
checkReverb
(int v) static boolean
checkVolume
(int v) static String[]
A String array (size=82) with percussion name for each note pitch.static String[]
-
Field Details
-
PPQ_RESOLUTION
public static final int PPQ_RESOLUTIONPulsation Per Quarter --- See Also:
-
SEQUENCER_REF_TEMPO
public static final int SEQUENCER_REF_TEMPOFixed sequencer reference tempo in BPM.To enable interactive tempo changes during playback, sequencer tempo is set to a fixed value so that we can use Sequencer.setTempoFactor() instead of Sequencer.setTempoInBPM().
- See Also:
-
CTRL_CHG_BANK_SELECT_MSB
public static final int CTRL_CHG_BANK_SELECT_MSB- See Also:
-
CTRL_CHG_MODULATION_MSB
public static final int CTRL_CHG_MODULATION_MSB- See Also:
-
CTRL_CHG_VOLUME_MSB
public static final int CTRL_CHG_VOLUME_MSB- See Also:
-
CTRL_CHG_PAN_MSB
public static final int CTRL_CHG_PAN_MSB- See Also:
-
CTRL_CHG_EXPRESSION_MSB
public static final int CTRL_CHG_EXPRESSION_MSB- See Also:
-
CTRL_CHG_BANK_SELECT_LSB
public static final int CTRL_CHG_BANK_SELECT_LSB- See Also:
-
CTRL_CHG_SUSTAIN
public static final int CTRL_CHG_SUSTAIN- See Also:
-
CTRL_CHG_REVERB_DEPTH
public static final int CTRL_CHG_REVERB_DEPTH- See Also:
-
CTRL_CHG_CHORUS_DEPTH
public static final int CTRL_CHG_CHORUS_DEPTH- See Also:
-
CTRL_CHG_JJAZZ_TEMPO_FACTOR
public static final int CTRL_CHG_JJAZZ_TEMPO_FACTOR- See Also:
-
CTRL_CHG_ALL_SOUND_OFF
public static final int CTRL_CHG_ALL_SOUND_OFF- See Also:
-
CTRL_CHG_RESET_ALL_CONTROLLERS
public static final int CTRL_CHG_RESET_ALL_CONTROLLERS- See Also:
-
CTRL_CHG_ALL_NOTES_OFF
public static final int CTRL_CHG_ALL_NOTES_OFF- See Also:
-
META_TEXT
public static final int META_TEXT- See Also:
-
META_COPYRIGHT
public static final int META_COPYRIGHT- See Also:
-
META_TRACKNAME
public static final int META_TRACKNAME- See Also:
-
META_INSTRUMENT
public static final int META_INSTRUMENT- See Also:
-
META_LYRICS
public static final int META_LYRICS- See Also:
-
META_MARKER
public static final int META_MARKER- See Also:
-
META_END_OF_TRACK
public static final int META_END_OF_TRACK- See Also:
-
META_TEMPO
public static final int META_TEMPO- See Also:
-
META_TIME_SIGNATURE
public static final int META_TIME_SIGNATURE- See Also:
-
VOLUME_MIN
public static final int VOLUME_MIN- See Also:
-
VOLUME_STD
public static final int VOLUME_STD- See Also:
-
VOLUME_MAX
public static final int VOLUME_MAX- See Also:
-
PANORAMIC_MIN
public static final int PANORAMIC_MIN- See Also:
-
PANORAMIC_STD
public static final int PANORAMIC_STD- See Also:
-
PANORAMIC_MAX
public static final int PANORAMIC_MAX- See Also:
-
CHORUS_MIN
public static final int CHORUS_MIN- See Also:
-
CHORUS_STD
public static final int CHORUS_STD- See Also:
-
CHORUS_MAX
public static final int CHORUS_MAX- See Also:
-
REVERB_MIN
public static final int REVERB_MIN- See Also:
-
REVERB_STD
public static final int REVERB_STD- See Also:
-
REVERB_MAX
public static final int REVERB_MAX- See Also:
-
CHANNEL_MIN
public static final int CHANNEL_MIN- See Also:
-
CHANNEL_MAX
public static final int CHANNEL_MAX- See Also:
-
CHANNEL_DRUMS
public static final int CHANNEL_DRUMS- See Also:
-
ACOUSTIC_BASS_DRUM
public static final int ACOUSTIC_BASS_DRUM- See Also:
-
BASS_DRUM_1
public static final int BASS_DRUM_1- See Also:
-
SIDE_STICK
public static final int SIDE_STICK- See Also:
-
ACOUSTIC_SNARE
public static final int ACOUSTIC_SNARE- See Also:
-
HAND_CLAP
public static final int HAND_CLAP- See Also:
-
ELECTRIC_SNARE
public static final int ELECTRIC_SNARE- See Also:
-
LOW_FLOOR_TOM
public static final int LOW_FLOOR_TOM- See Also:
-
CLOSED_HI_HAT
public static final int CLOSED_HI_HAT- See Also:
-
HIGH_FLOOR_TOM
public static final int HIGH_FLOOR_TOM- See Also:
-
PEDAL_HI_HAT
public static final int PEDAL_HI_HAT- See Also:
-
LOW_TOM
public static final int LOW_TOM- See Also:
-
OPEN_HI_HAT
public static final int OPEN_HI_HAT- See Also:
-
LOW_MID_TOM
public static final int LOW_MID_TOM- See Also:
-
HI_MID_TOM
public static final int HI_MID_TOM- See Also:
-
CRASH_CYMBAL_1
public static final int CRASH_CYMBAL_1- See Also:
-
HIGH_TOM
public static final int HIGH_TOM- See Also:
-
RIDE_CYMBAL_1
public static final int RIDE_CYMBAL_1- See Also:
-
CHINESE_CYMBAL
public static final int CHINESE_CYMBAL- See Also:
-
RIDE_BELL
public static final int RIDE_BELL- See Also:
-
TAMBOURINE
public static final int TAMBOURINE- See Also:
-
SPLASH_CYMBAL
public static final int SPLASH_CYMBAL- See Also:
-
COWBELL
public static final int COWBELL- See Also:
-
CRASH_CYMBAL_2
public static final int CRASH_CYMBAL_2- See Also:
-
VIBRASLAP
public static final int VIBRASLAP- See Also:
-
RIDE_CYMBAL_2
public static final int RIDE_CYMBAL_2- See Also:
-
HI_BONGO
public static final int HI_BONGO- See Also:
-
LOW_BONGO
public static final int LOW_BONGO- See Also:
-
MUTE_HI_CONGA
public static final int MUTE_HI_CONGA- See Also:
-
OPEN_HI_CONGA
public static final int OPEN_HI_CONGA- See Also:
-
LOW_CONGA
public static final int LOW_CONGA- See Also:
-
HIGH_TIMBALE
public static final int HIGH_TIMBALE- See Also:
-
LOW_TIMBALE
public static final int LOW_TIMBALE- See Also:
-
HIGH_AGOGO
public static final int HIGH_AGOGO- See Also:
-
LOW_AGOGO
public static final int LOW_AGOGO- See Also:
-
CABASA
public static final int CABASA- See Also:
-
MARACAS
public static final int MARACAS- See Also:
-
SHORT_WHISTLE
public static final int SHORT_WHISTLE- See Also:
-
LONG_WHISTLE
public static final int LONG_WHISTLE- See Also:
-
SHORT_GUIRO
public static final int SHORT_GUIRO- See Also:
-
LONG_GUIRO
public static final int LONG_GUIRO- See Also:
-
CLAVES
public static final int CLAVES- See Also:
-
HI_WOOD_SECTION
public static final int HI_WOOD_SECTION- See Also:
-
LOW_WOOD_SECTION
public static final int LOW_WOOD_SECTION- See Also:
-
MUTE_CUICA
public static final int MUTE_CUICA- See Also:
-
OPEN_CUICA
public static final int OPEN_CUICA- See Also:
-
MUTE_TRIANGLE
public static final int MUTE_TRIANGLE- See Also:
-
OPEN_TRIANGLE
public static final int OPEN_TRIANGLE- See Also:
-
-
Constructor Details
-
MidiConst
public MidiConst()
-
-
Method Details
-
getGMPercussions
- Returns:
- An array with the 47 GM percussion names.
-
getGMPercussionMap
A String array (size=82) with percussion name for each note pitch.Names start at pitch 35 until 81, so for index < 35 array contains null values. E.g. getGMPercussionMap()[35] = "Acoustic Bass Drum" @return
-
checkPanoramic
public static boolean checkPanoramic(int p) -
checkReverb
public static boolean checkReverb(int v) -
checkChorus
public static boolean checkChorus(int v) -
checkVolume
public static boolean checkVolume(int v) -
checkMidiChannel
public static boolean checkMidiChannel(int c)
-