|
|
|
Definition at line 49 of file midi.h.
00050 { 00051 NOTE_OFF =0x80, 00052 NOTE_ON =0x90, 00053 POLY_PRESSURE =0xa0, 00054 CONTROL_CHANGE =0xb0, 00055 PROGRAM_CHANGE =0xc0, 00056 CHANNEL_PRESSURE=0xd0, 00057 PITCH_BEND =0xe0, 00058 SYSEX_START =0xf0, 00059 MTC =0xf1, 00060 SONG_POSITION =0xf2, 00061 SONG_SELECT =0xf3, 00062 TUNE_REQUEST =0xf6, 00063 SYSEX_END =0xf7, 00064 RESET =0xff, // 0xff never used as reset in a MIDIMessage 00065 META_EVENT =0xff // 0xff is for non MIDI messages 00066 }; |
|
Definition at line 74 of file midi.h.
00075 { 00076 TIMING_CLOCK =0xf8, 00077 MEASURE_END =0xf9, // proposed measure end byte 00078 START =0xfa, 00079 CONTINUE =0xfb, 00080 STOP =0xfc, 00081 ACTIVE_SENSE =0xfe 00082 }; |
|
Definition at line 89 of file midi.h.
00090 { 00091 C_LSB =0x20, // add this to a non-switch controller 00092 // to access the LSB. 00093 00094 C_GM_BANK =0x00, // general midi bank select 00095 C_MODULATION =0x01, // modulation 00096 C_BREATH =0x02, // breath controller 00097 C_FOOT =0x04, // foot controller 00098 C_PORTA_TIME =0x05, // portamento time 00099 C_DATA_ENTRY =0x06, // data entry value 00100 C_MAIN_VOLUME =0x07, // main volume control 00101 C_BALANCE =0x08, // balance control 00102 C_PAN =0x0a, // panpot stereo control 00103 C_EXPRESSION =0x0b, // expression control 00104 C_GENERAL_1 =0x10, // general purpose controller 1 00105 C_GENERAL_2 =0x11, // general purpose controller 2 00106 C_GENERAL_3 =0x12, // general purpose controller 3 00107 C_GENERAL_4 =0x13, // general purpose controller 4 00108 00109 C_DAMPER =0x40, // hold pedal (sustain) 00110 C_PORTA =0x41, // portamento switch 00111 C_SOSTENUTO =0x42, // sostenuto switch 00112 C_SOFT_PEDAL =0x43, // soft pedal 00113 C_HOLD_2 =0x45, // hold pedal 2 00114 00115 C_GENERAL_5 =0x50, // general purpose controller 5 00116 C_GENERAL_6 =0x51, // general purpose controller 6 00117 C_GENERAL_7 =0x52, // general purpose controller 7 00118 C_GENERAL_8 =0x53, // general purpose controller 8 00119 00120 C_EFFECT_DEPTH =0x5b, // external effects depth 00121 C_TREMELO_DEPTH =0x5c, // tremelo depth 00122 C_CHORUS_DEPTH =0x5d, // chorus depth 00123 C_CELESTE_DEPTH =0x5e, // celeste (detune) depth 00124 C_PHASER_DEPTH =0x5f, // phaser effect depth 00125 00126 C_DATA_INC =0x60, // increment data value 00127 C_DATA_DEC =0x61, // decrement data value 00128 00129 C_NONRPN_LSB =0x62, // non registered parameter LSB 00130 C_NONRPN_MSB =0x63, // non registered parameter MSB 00131 00132 C_RPN_LSB =0x64, // registered parameter LSB 00133 C_RPN_MSB =0x65, // registered parameter MSB 00134 00135 00136 00137 C_RESET =0x79, // reset all controllers 00138 00139 C_LOCAL =0x79, // local control on/off 00140 C_ALL_NOTES_OFF =0x7a, // all notes off 00141 C_OMNI_OFF =0x7c, // omni off, all notes off 00142 C_OMNI_ON =0x7d, // omni on, all notes off 00143 C_MONO =0x7e, // mono on, all notes off 00144 C_POLY =0x7f // poly on, all notes off 00145 }; |
|
Definition at line 152 of file midi.h.
00153 { 00154 RPN_BEND_WIDTH =0x00, // bender sensitivity 00155 RPN_FINE_TUNE =0x01, // fine tuning 00156 RPN_COARSE_TUNE =0x02 // coarse tuning 00157 }; |
|
Definition at line 170 of file midi.h.
00171 { 00172 META_SEQUENCE_NUMBER =0x00, // value=16 bits. type 2 files 00173 00174 META_GENERIC_TEXT =0x01, // value=16 bits, text item # 00175 META_COPYRIGHT =0x02, // value=17 bits, text item # 00176 META_INSTRUMENT_NAME =0x03, 00177 META_TRACK_NAME =0x04, 00178 META_LYRIC_TEXT =0x05, 00179 META_MARKER_TEXT =0x06, 00180 META_CUE_TEXT =0x07, 00181 00182 META_OUTPUT_CABLE =0x21, 00183 META_TRACK_LOOP =0x2E, 00184 META_DATA_END =0x2f, 00185 META_END_OF_TRACK =0x2F, 00186 META_TEMPO =0x51, // value=16 bits, tempo(bpm)*256 00187 META_SMPTE =0x54, // what for? 00188 META_TIMESIG =0x58, // value=num, denom 00189 META_KEYSIG =0x59, // value=# of sharps/flats, major/minor 00190 META_BEAT_MARKER =0x7e, 00191 META_SEQUENCER_SPECIFIC =0x7F, 00192 META_NO_OPERATION =0x7f 00193 00194 }; |
|
Definition at line 41 of file keysig.h.
00042 { 00043 ACCFlat=0, 00044 ACCNatural, 00045 ACCSharp 00046 }; |
|
Definition at line 268 of file showcontrol.h.
00269 { 00270 MIDI_SC_GO = 0x01, 00271 MIDI_SC_STOP = 0x02, 00272 MIDI_SC_RESUME = 0x03, 00273 MIDI_SC_TIMED_GO = 0x04, 00274 MIDI_SC_LOAD = 0x05, 00275 MIDI_SC_SET = 0x06, 00276 MIDI_SC_FIRE = 0x07, 00277 MIDI_SC_ALL_OFF = 0x08, 00278 MIDI_SC_RESTORE = 0x09, 00279 MIDI_SC_RESET = 0x0a, 00280 MIDI_SC_GO_OFF = 0x0b, 00281 MIDI_SC_GO_JAM = 0x10, 00282 MIDI_SC_STANDBY_PLUS = 0x11, 00283 MIDI_SC_STANDBY_MINUS = 0x12, 00284 MIDI_SC_SEQUENCE_PLUS = 0x13, 00285 MIDI_SC_SEQUENCE_MINUS = 0x14, 00286 MIDI_SC_START_CLOCK = 0x15, 00287 MIDI_SC_STOP_CLOCK = 0x16, 00288 MIDI_SC_ZERO_CLOCK = 0x17, 00289 MIDI_SC_SET_CLOCK = 0x18, 00290 MIDI_SC_MTC_CHASE_ON = 0x19, 00291 MIDI_SC_MTC_CHASE_OFF = 0x1a, 00292 MIDI_SC_OPEN_Q_LIST = 0x1b, 00293 MIDI_SC_CLOSE_Q_LIST = 0x1c, 00294 MIDI_SC_OPEN_Q_PATH = 0x1d, 00295 MIDI_SC_CLOSE_Q_PATH = 0x1e 00296 }; |
|
Definition at line 52 of file smpte.h.
00053 { 00054 SAMPLE_32000=0, 00055 SAMPLE_44056, 00056 SAMPLE_44100, 00057 SAMPLE_47952, 00058 SAMPLE_48000, 00059 SAMPLE_48048 00060 }; |
|
Definition at line 40 of file smpte.h.
00041 { 00042 SMPTE_RATE_24=0, 00043 SMPTE_RATE_25, 00044 SMPTE_RATE_2997, 00045 SMPTE_RATE_2997DF, 00046 SMPTE_RATE_30, 00047 SMPTE_RATE_30DF 00048 }; |
|
Definition at line 7 of file jdkmidi_advancedsequencer.cpp.
00008 { 00009 unsigned char *s = (unsigned char *)s_; 00010 while( *s ) 00011 { 00012 if( *s==0xd2 || *s==0xd3 ) 00013 { 00014 *s='"'; 00015 } 00016 else if( *s==0xd5 ) 00017 { 00018 *s='\''; 00019 } 00020 else if( *s>=0x80 ) 00021 { 00022 *s = ' '; 00023 } 00024 s++; 00025 } 00026 } |
|
Definition at line 205 of file midi.h. References lut_msglen.
00206 { 00207 return lut_msglen[stat>>4]; 00208 } |
|
Definition at line 235 of file midi.h.
00236 { return (note/12)-1; }
|
|
Definition at line 95 of file smpte.h. References smpte_sample_rates.
00096 { 00097 extern const double smpte_sample_rates[]; 00098 00099 return smpte_sample_rates[(int)r]; 00100 } |
|
Definition at line 109 of file smpte.h. References smpte_sample_rates_long.
00110 { 00111 // return the sample rate as a long word of the frequency times 10. 00112 00113 extern const long smpte_sample_rates_long[]; 00114 return smpte_sample_rates_long[(int)r]; 00115 } |
|
Definition at line 69 of file smpte.h. References smpte_smpte_rates.
00070 { 00071 extern const double smpte_smpte_rates[]; 00072 00073 return smpte_smpte_rates[(int)r]; 00074 } |
|
Definition at line 82 of file smpte.h. References smpte_smpte_rates_long.
00083 { 00084 extern const double smpte_smpte_rates_long[]; 00085 00086 return (long)smpte_smpte_rates_long[(int)r]; 00087 } |
|
Definition at line 210 of file midi.h. References lut_sysmsglen.
00211 { 00212 return lut_sysmsglen[stat-0xf0]; 00213 } |
|
Definition at line 225 of file midi.h. References lut_is_white.
00226 { 00227 return !lut_is_white[ note%12 ]; 00228 } |
|
Definition at line 220 of file midi.h. References lut_is_white.
00221 { 00222 return lut_is_white[ note%12 ]; 00223 } |
|
Definition at line 224 of file smpte.h.
00225 {
00226 SMPTE c(a);
00227
00228 c+=b;
00229 return c;
00230 }
|
|
Definition at line 258 of file showcontrol.h. References ulong, and jdkmidi::MIDICue::v1.
00259 {
00260 MIDICue result(v + c.v1 );
00261
00262 return result;
00263 }
|
|
Definition at line 249 of file showcontrol.h. References ulong, and jdkmidi::MIDICue::v1.
00250 {
00251 MIDICue result(c);
00252
00253 result.v1 += v;
00254 return result;
00255
00256 }
|
|
Definition at line 237 of file showcontrol.h. References jdkmidi::MIDICue::v1, jdkmidi::MIDICue::v2, and jdkmidi::MIDICue::v3.
00238 {
00239 MIDICue result=c;
00240
00241 result.v1 += d.v1;
00242 result.v2 += d.v2;
00243 result.v3 += d.v3;
00244
00245 return result;
00246
00247 }
|
|
Definition at line 232 of file smpte.h.
00233 {
00234 SMPTE c(a);
00235
00236 c-=b;
00237 return c;
00238 }
|
|
Definition at line 230 of file showcontrol.h. References ulong, and jdkmidi::MIDICue::v1.
00231 {
00232 MIDICue result(v - c.v1 );
00233
00234 return result;
00235 }
|
|
Definition at line 222 of file showcontrol.h. References ulong, and jdkmidi::MIDICue::v1.
00223 {
00224 MIDICue result(c);
00225
00226 result.v1 -= v;
00227 return result;
00228 }
|
|
Definition at line 211 of file showcontrol.h. References jdkmidi::MIDICue::v1, jdkmidi::MIDICue::v2, and jdkmidi::MIDICue::v3.
00212 {
00213 MIDICue result=c;
00214
00215 result.v1 -= d.v1;
00216 result.v2 -= d.v2;
00217 result.v3 -= d.v3;
00218
00219 return result;
00220 }
|
|
|
|
|
|
Initial value: { 1,0, 1,0, 1, 1,0, 1,0, 1,0, 1 } Definition at line 77 of file jdkmidi_midi.cpp. |
|
Initial value: { 0,0,0,0,0,0,0,0, 3, 3, 3, 3, 2, 2, 3, -1 } Definition at line 43 of file jdkmidi_midi.cpp. |
|
Initial value: { -1, 2, 3, 2, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 3 } Definition at line 56 of file jdkmidi_midi.cpp. |
|
|
|
|
|
Initial value: { 24, 25, 30, 30, 30, 30 } Definition at line 52 of file jdkmidi_smpte.cpp. |
|
Initial value: { 32000.0, 44055.9, 44100.0, 47952.0, 48000.0, 48048.0 } Definition at line 78 of file jdkmidi_smpte.cpp. |
|
Initial value: { 320000, 440559, 441000, 479520, 480000, 480480 } Definition at line 88 of file jdkmidi_smpte.cpp. |
|
Initial value: { 24.0, 25.0, 29.97, 29.97, 30.0, 30.0 } Definition at line 57 of file jdkmidi_smpte.cpp. |
|
Initial value: { 2400, 2500, 2997, 2997, 3000, 3000 } Definition at line 67 of file jdkmidi_smpte.cpp. |