aboutsummaryrefslogtreecommitdiff
path: root/docs/feature_audio.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/feature_audio.md')
-rw-r--r--docs/feature_audio.md114
1 files changed, 1 insertions, 113 deletions
diff --git a/docs/feature_audio.md b/docs/feature_audio.md
index 2c440c951..b7b572974 100644
--- a/docs/feature_audio.md
+++ b/docs/feature_audio.md
@@ -301,8 +301,7 @@ You can configure the default, min and max frequencies, the stepping and built i
301 301
302## MIDI Functionality 302## MIDI Functionality
303 303
304This is still a WIP, but check out `quantum/process_keycode/process_midi.c` to see what's happening. Enable from the Makefile. 304See [MIDI](feature_midi.md)
305
306 305
307## Audio Keycodes 306## Audio Keycodes
308 307
@@ -319,114 +318,3 @@ This is still a WIP, but check out `quantum/process_keycode/process_midi.c` to s
319|`MU_OFF` | |Turns off Music Mode | 318|`MU_OFF` | |Turns off Music Mode |
320|`MU_TOG` | |Toggles Music Mode | 319|`MU_TOG` | |Toggles Music Mode |
321|`MU_MOD` | |Cycles through the music modes | 320|`MU_MOD` | |Cycles through the music modes |
322
323<!-- FIXME: this formatting needs work
324
325## Audio
326
327```c
328#ifdef AUDIO_ENABLE
329 AU_ON,
330 AU_OFF,
331 AU_TOG,
332
333 // Music mode on/off/toggle
334 MU_ON,
335 MU_OFF,
336 MU_TOG,
337
338 // Music voice iterate
339 MUV_IN,
340 MUV_DE,
341#endif
342```
343
344### Midi
345
346#if !MIDI_ENABLE_STRICT || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
347 MI_ON, // send midi notes when music mode is enabled
348 MI_OFF, // don't send midi notes when music mode is enabled
349#endif
350
351MIDI_TONE_MIN,
352MIDI_TONE_MAX
353
354MI_C = MIDI_TONE_MIN,
355MI_Cs,
356MI_Db = MI_Cs,
357MI_D,
358MI_Ds,
359MI_Eb = MI_Ds,
360MI_E,
361MI_F,
362MI_Fs,
363MI_Gb = MI_Fs,
364MI_G,
365MI_Gs,
366MI_Ab = MI_Gs,
367MI_A,
368MI_As,
369MI_Bb = MI_As,
370MI_B,
371
372MIDI_TONE_KEYCODE_OCTAVES > 1
373
374where x = 1-5:
375MI_C_x,
376MI_Cs_x,
377MI_Db_x = MI_Cs_x,
378MI_D_x,
379MI_Ds_x,
380MI_Eb_x = MI_Ds_x,
381MI_E_x,
382MI_F_x,
383MI_Fs_x,
384MI_Gb_x = MI_Fs_x,
385MI_G_x,
386MI_Gs_x,
387MI_Ab_x = MI_Gs_x,
388MI_A_x,
389MI_As_x,
390MI_Bb_x = MI_As_x,
391MI_B_x,
392
393MI_OCT_Nx 1-2
394MI_OCT_x 0-7
395MIDI_OCTAVE_MIN = MI_OCT_N2,
396MIDI_OCTAVE_MAX = MI_OCT_7,
397MI_OCTD, // octave down
398MI_OCTU, // octave up
399
400MI_TRNS_Nx 1-6
401MI_TRNS_x 0-6
402MIDI_TRANSPOSE_MIN = MI_TRNS_N6,
403MIDI_TRANSPOSE_MAX = MI_TRNS_6,
404MI_TRNSD, // transpose down
405MI_TRNSU, // transpose up
406
407MI_VEL_x 1-10
408MIDI_VELOCITY_MIN = MI_VEL_1,
409MIDI_VELOCITY_MAX = MI_VEL_9,
410MI_VELD, // velocity down
411MI_VELU, // velocity up
412
413MI_CHx 1-16
414MIDI_CHANNEL_MIN = MI_CH1
415MIDI_CHANNEL_MAX = MI_CH16,
416MI_CHD, // previous channel
417MI_CHU, // next channel
418
419MI_ALLOFF, // all notes off
420
421MI_SUS, // sustain
422MI_PORT, // portamento
423MI_SOST, // sostenuto
424MI_SOFT, // soft pedal
425MI_LEG, // legato
426
427MI_MOD, // modulation
428MI_MODSD, // decrease modulation speed
429MI_MODSU, // increase modulation speed
430#endif // MIDI_ADVANCED
431
432-->