From 3ec4b3f0b2854d31dad211aeb05af65a03cb5d07 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 19 Jan 2023 18:42:58 -0500 Subject: [PATCH] cfg/video/video.cfg : Added min_damper_down_time_ms and `pedal { up_id:<>, up_vel:<> }` --- src/cwtest/cfg/video/video.cfg | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/cwtest/cfg/video/video.cfg b/src/cwtest/cfg/video/video.cfg index 7dcbeff..ab5a768 100644 --- a/src/cwtest/cfg/video/video.cfg +++ b/src/cwtest/cfg/video/video.cfg @@ -47,8 +47,10 @@ log_in_flag: false, log_out_flag: false, half_pedal_flag: false, - + min_damper_down_time_ms: 250, + midi_device_list: [ + // piano { enableFl: true, @@ -59,6 +61,9 @@ //midi_out_device: "MIDIFACE 2x2", //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_port: "Scarlett 18i20 USB MIDI 1", @@ -66,21 +71,6 @@ force_damper_down_threshold: 35, 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 //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_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_factor: 0.5, },