added midi support and a arbitury map for testing

This commit is contained in:
langolierz
2018-04-18 23:32:32 +00:00
parent c913ed4e22
commit f824a37a2c
9 changed files with 155 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,63 @@
{
"note_on 71": {
"NAV_BROWSER": ["move_browser_selection_up"],
"PLAYER": ["seek_back_on_player"],
"NAV_SETTINGS": ["move_settings_selection_up"]
},
"note_on 72": {
"NAV_BROWSER": ["move_browser_selection_down"],
"PLAYER": ["seek_forward_on_player"],
"NAV_SETTINGS": ["move_settings_selection_down"]
},
"note_on 73": {
"NAV_BROWSER": ["enter_on_browser_selection"],
"PLAYER": ["toggle_pause_on_player"],
"NAV_SETTINGS": ["enter_on_settings_selection"]
},
"note_on 74": {
"DEFAULT": ["trigger_next_player"]
},
"note_on 75": {
"DEFAULT": ["set_playing_sample_start_to_current_duration", "clear_playing_sample_start_time"]
},
"note_on 76": {
"DEFAULT": ["set_playing_sample_end_to_current_duration", "clear_playing_sample_end_time"]
},
"note_on 77": {},
"note_on 78": {
"DEFAULT": ["cycle_display_mode"]
},
"note_on 79": {
"DEFAULT": ["toggle_function"]
},
"note_on 80": {
"DEFAULT": ["load_slot_0_into_next_player","previous_bank"]
},
"note_on 81": {
"DEFAULT": ["load_slot_1_into_next_player","next_bank"]
},
"note_on 82": {
"DEFAULT": ["load_slot_2_into_next_player","clear_all_slots"]
},
"note_on 83": {
"DEFAULT": ["load_slot_3_into_next_player","decrease_speed"]
},
"note_on 84": {
"DEFAULT": ["load_slot_4_into_next_player","increase_speed"]
},
"note_on 85": {
"DEFAULT": ["load_slot_5_into_next_player","print_speed"]
},
"note_on 86": {
"DEFAULT": ["load_slot_6_into_next_player"]
},
"note_on 87": {
"DEFAULT": ["load_slot_7_into_next_player"]
},
"note_on 88": {
"DEFAULT": ["load_slot_8_into_next_player"]
},
"note_on 89": {
"DEFAULT": ["load_slot_9_into_next_player","quit_the_program"]
}
}

View File

@@ -1 +1 @@
"0-4"
"0-1"

View File

@@ -1 +1 @@
[{"name": "SCREEN_SIZE", "options": ["dev_mode", "auto"]}, {"name": "quit_the_program", "options": ["run_action"]}, {"name": "switch_display_to_hdmi", "options": ["run_action"]}, {"name": "switch_display_to_lcd", "options": ["run_action"]}, {"name": "set_composite_to_pal", "options": ["run_action"]}, {"name": "set_composite_to_ntsc", "options": ["run_action"]}]
[{"options": ["dev_mode", "auto"], "name": "SCREEN_SIZE"}, {"options": ["run_action"], "name": "quit_the_program"}, {"options": ["run_action"], "name": "switch_display_to_hdmi"}, {"options": ["run_action"], "name": "switch_display_to_lcd"}, {"options": ["run_action"], "name": "set_composite_to_pal"}, {"options": ["run_action"], "name": "set_composite_to_ntsc"}]