cfg/video/video.cfg : Added min_damper_down_time_ms and pedal { up_id:<>, up_vel:<> }

This commit is contained in:
kevin 2023-01-19 18:42:58 -05:00
parent ea0ee906d9
commit 3ec4b3f0b2

View File

@ -47,8 +47,10 @@
log_in_flag: false, log_in_flag: false,
log_out_flag: false, log_out_flag: false,
half_pedal_flag: false, half_pedal_flag: false,
min_damper_down_time_ms: 250,
midi_device_list: [ midi_device_list: [
// piano // piano
{ {
enableFl: true, enableFl: true,
@ -59,6 +61,9 @@
//midi_out_device: "MIDIFACE 2x2", //midi_out_device: "MIDIFACE 2x2",
//midi_out_port: "MIDIFACE 2x2 Midi Out 1", //midi_out_port: "MIDIFACE 2x2 Midi Out 1",
//midi_out_device: "PipeWire-RT-Event",
//midi_out_port: "input",
midi_out_device: "Scarlett 18i20 USB", midi_out_device: "Scarlett 18i20 USB",
midi_out_port: "Scarlett 18i20 USB MIDI 1", midi_out_port: "Scarlett 18i20 USB MIDI 1",
@ -66,21 +71,6 @@
force_damper_down_threshold: 35, force_damper_down_threshold: 35,
force_damper_down_velocity: 80, force_damper_down_velocity: 80,
//midi_out_device: "PipeWire-RT-Event",
//midi_out_port: "input",
// pedal down velocity input/output mapping
/*
pedal: {
down_id: 127,
down_vel: 75,
half_down_id: 64,
half_down_vel: 43,
half_up_id: 63,
half_up_vel: 43
},
*/
// spirio 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 // spirio 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
//vel_table: [ 1, 4, 10, 12, 12, 18, 24, 24, 30, 36, 36, 44, 48, 52, 58, 64, 64, 70, 76, 82, 88, 94,100,106, 112 ] //vel_table: [ 1, 4, 10, 12, 12, 18, 24, 24, 30, 36, 36, 44, 48, 52, 58, 64, 64, 70, 76, 82, 88, 94,100,106, 112 ]
@ -116,6 +106,18 @@
force_damper_down_threshold: 35, force_damper_down_threshold: 35,
force_damper_down_velocity: 80, force_damper_down_velocity: 80,
// pedal down velocity input/output mapping
pedal: {
up_id: 0,
up_vel: 0,
down_id: 127,
down_vel: 75,
half_down_id: 64,
half_down_vel: 43,
half_up_id: 63,
half_up_vel: 43
},
scale_chord_notes_enable_fl: true, scale_chord_notes_enable_fl: true,
scale_chord_notes_factor: 0.5, scale_chord_notes_factor: 0.5,
}, },