cfg/gutim_full/gutim.cfg, gutim_perf.cfg : Latest preset_sel cfg format

This commit is contained in:
kevin 2023-05-24 16:58:56 -04:00
parent 4c4f956fd6
commit 38a63cb34d
2 changed files with 176 additions and 25 deletions

View File

@ -5,6 +5,70 @@
params: { params: {
score_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/score/temp.csv", score_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/score/temp.csv",
//score_fn: "~/temp/shiau_uen_sf/1/play_score.csv",
perfL: {
"Shiau-uen 0": {
perf_fn: "~/temp/shiau_uen_sf/1/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/1/cm_score.csv"
beg_loc: 323,
end_loc: 397,
},
"Shiau-uen 1": {
perf_fn: "~/temp/shiau_uen_sf/5/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/5/cm_score.csv"
beg_loc: 323,
end_loc: 397,
},
"Shiau-uen 2": {
perf_fn: "~/temp/shiau_uen_sf/7/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/7/cm_score.csv"
beg_loc: 2547,
end_loc: 2687,
}
"Shiau-uen 3": {
perf_fn: "~/temp/shiau_uen_sf/11/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/11/cm_score.csv"
beg_loc: 5361,
end_loc: 5686,
},
"Shiau-uen 4": {
perf_fn: "~/temp/shiau_uen_sf/13/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/13/cm_score.csv"
beg_loc: 8291,
end_loc: 8553,
},
"Shiau-uen 5": {
perf_fn: "~/temp/shiau_uen_sf/17/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/17/cm_score.csv"
beg_loc: 11456,
end_loc: 11584,
},
"Shiau-uen 6": {
perf_fn: "~/temp/shiau_uen_sf/23/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/23/cm_score.csv"
beg_loc: 13565,
end_loc: 13728,
},
"Score": {
perf_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/score/temp.csv",
cm_score_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/cm_score.csv"
beg_loc: 1,
end_loc: 16534,
},
}
record_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/preset_select", record_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/preset_select",
//record_fn: "preset_sel_20220423", //record_fn: "preset_sel_20220423",
@ -13,16 +77,23 @@
record_fn_ext: "txt", record_fn_ext: "txt",
flow_proc_dict_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/flow_proc_dict.cfg", flow_proc_dict_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/flow_proc_dict.cfg",
vel_table_fname: "~/src/cwtest/src/cwtest/cfg/gutim_full/vel_table/vel_table.json" vel_table_fname: "~/src/cwtest/src/cwtest/cfg/gutim_full/vel_table/vel_table.json"
vel_table_backup_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/vel_table/backup" vel_table_backup_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/vel_table/backup"
crossFadeSrate: 48000.0, // TODO: move to flow cfg. and set via 'system default sample rate' //crossFadeSrate: 48000.0, // TODO: move to flow cfg. and set via 'system default sample rate'
crossFadeCount: 3, crossFadeCount: 3,
beg_play_loc: 0, //0, //12431, // coda 11499, beg_play_loc: 0, //0, //12431, // coda 11499,
end_play_loc: 0, //59, //14726, // coda 12426, end_play_loc: 0, //59, //14726, // coda 12426,
score_follower: {
"cm_score_csv_fname": "~/src/cwtest/src/cwtest/cfg/gutim_full/cm_score.csv",
"search_area_locN": 10,
"key_wnd_locN": 7,
},
presets: { presets: {
preset_labelL: [ "dry", "a", "b", "c", "d", "f1", "f2", "f3", "f4", "g", "ga", "g1a", "g1d" ], preset_labelL: [ "dry", "a", "b", "c", "d", "f1", "f2", "f3", "f4", "g", "ga", "g1a", "g1d" ],
default_gain: 1.0, default_gain: 1.0,
@ -39,7 +110,7 @@
midi_play_record: { midi_play_record: {
max_midi_msg_count: 32768, max_midi_msg_count: 32768,
midi_timer_period_micro_sec: 15000, midi_timer_period_micro_sec: 5000,
all_off_delay_ms: 2500, // delay after stop time to turn off all notes all_off_delay_ms: 2500, // delay after stop time to turn off all notes
log_in_flag: false, log_in_flag: false,
log_out_flag: false, log_out_flag: false,
@ -47,8 +118,8 @@
min_damper_down_time_ms: 250, min_damper_down_time_ms: 250,
midi_device_list: [ midi_device_list: [
// piano
{ {
// SAMPLER
enableFl: true, enableFl: true,
midi_out_device: "Fastlane", midi_out_device: "Fastlane",
@ -78,6 +149,7 @@
}, },
{ {
//SPIRIO
enableFl: true, enableFl: true,
midi_out_device: "Fastlane", midi_out_device: "Fastlane",
@ -122,7 +194,6 @@
scale_chord_notes_factor: 0.5, scale_chord_notes_factor: 0.5,
}, },
//{ midi_out_device: "PipeWire-RT-Event", midi_out_port: "input" },
], ],
} }
}, },
@ -167,7 +238,7 @@
midi: { midi: {
parserBufByteN: 1024, parserBufByteN: 1024,
asyncFl: false, asyncFl: true,
}, },
@ -193,12 +264,12 @@
//device: "USB Audio CODEC USB Audio", //device: "USB Audio CODEC USB Audio",
device: "HDA Intel PCH CS4208 Analog", device: "HDA Intel PCH CS4208 Analog",
activeFl: true, // (req) activeFl: true, // (req)
meterFl: true, // (opt) meterFl: true, // (opt)
label: "main", // (req) User label label: "main", // (req) User label
userId: 0, // (opt) User id (can also be set at runtime) userId: 0, // (opt) User id (can also be set at runtime)
framesPerCycle: 512, // (req) Samples per audio device cycle framesPerCycle: 512, // (req) Samples per audio device cycle
cycleCnt: 3, // (req) Count of device cycle buffers. cycleCnt: 3, // (req) Count of device cycle buffers.
inGroup: "main", // (opt) All devices in a group must be 'ready' to source inGroup: "main", // (opt) All devices in a group must be 'ready' to source
outGroup: "main", // (opt) or sink data before an audio callback is made for that group outGroup: "main", // (opt) or sink data before an audio callback is made for that group
} }

View File

@ -4,14 +4,76 @@
preset_sel: { preset_sel: {
params: { params: {
//score_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/score/temp.csv", score_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/score/temp.csv",
score_fn: "~/temp/shiau_uen_sf/5/play_score.csv",
perfL: {
"Shiau-uen 0": {
perf_fn: "~/temp/shiau_uen_sf/1/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/1/cm_score.csv"
beg_loc: 323,
end_loc: 397,
},
"Shiau-uen 1": {
perf_fn: "~/temp/shiau_uen_sf/5/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/5/cm_score.csv"
beg_loc: 323,
end_loc: 397,
},
"Shiau-uen 2": {
perf_fn: "~/temp/shiau_uen_sf/7/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/7/cm_score.csv"
beg_loc: 2547,
end_loc: 2687,
}
"Shiau-uen 3": {
perf_fn: "~/temp/shiau_uen_sf/11/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/11/cm_score.csv"
beg_loc: 5361,
end_loc: 5686,
},
"Shiau-uen 4": {
perf_fn: "~/temp/shiau_uen_sf/13/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/13/cm_score.csv"
beg_loc: 8291,
end_loc: 8553,
},
"Shiau-uen 5": {
perf_fn: "~/temp/shiau_uen_sf/17/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/17/cm_score.csv"
beg_loc: 11456,
end_loc: 11584,
},
"Shiau-uen 6": {
perf_fn: "~/temp/shiau_uen_sf/23/play_score.csv",
cm_score_fn: "~/temp/shiau_uen_sf/23/cm_score.csv"
beg_loc: 13565,
end_loc: 13728,
},
"Score": {
perf_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/score/temp.csv",
cm_score_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/cm_score.csv"
beg_loc: 1,
end_loc: 16534,
},
}
record_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/preset_select", record_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/preset_select",
//record_fn: "preset_sel_20220423", //record_fn: "m1_458",
//record_fn: "preset_sel_20220507", //record_fn: "m279_287-8288_8609"
record_fn: "unknown", record_fn: "m357_361-11459_11586"
record_fn_ext: "txt", record_fn_ext: "txt",
flow_proc_dict_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/flow_proc_dict.cfg", flow_proc_dict_fn: "~/src/cwtest/src/cwtest/cfg/gutim_full/flow_proc_dict.cfg",
@ -21,15 +83,29 @@
//crossFadeSrate: 48000.0, // TODO: move to flow cfg. and set via 'system default sample rate' //crossFadeSrate: 48000.0, // TODO: move to flow cfg. and set via 'system default sample rate'
crossFadeCount: 3, crossFadeCount: 3,
beg_play_loc: 0, //0, //12431, // coda 11499, beg_play_loc: 1, //0, //12431, // coda 11499,
end_play_loc: 0, //59, //14726, // coda 12426, end_play_loc: 16354, //59, //14726, // coda 12426,
live_mode_fl: true,
enable_recording_fl: true,
midi_record_dir: "~/src/cwtest/src/cwtest/cfg/gutim_full/midi_record",
midi_record_folder: "shiau_uen",
sf_reset_loc: 1,
score_follower: { score_follower: {
"score_csv_fname": "~/src/cwtest/src/cwtest/cfg/gutim_full/cm_score.csv", "enable_flag": true,
"cm_score_csv_fname": "~/src/cwtest/src/cwtest/cfg/gutim_full/cm_score.csv",
"search_area_locN": 10, "search_area_locN": 10,
"key_wnd_locN": 7, "key_wnd_locN": 7,
}, },
perf_list: [
{ title:"Shiau-uen 5", file:"~/temp/shiau_uen_sf/5/play_score.csv" },
{ title:"Shiau-uen 6", file:"~/temp/shiau_uen_sf/7/play_score.csv" },
{ title:"Shiau-uen 7", file:"~/temp/shiau_uen_sf/7/play_score.csv" },
]
presets: { presets: {
preset_labelL: [ "dry", "a", "b", "c", "d", "f1", "f2", "f3", "f4", "g", "ga", "g1a", "g1d" ], preset_labelL: [ "dry", "a", "b", "c", "d", "f1", "f2", "f3", "f4", "g", "ga", "g1a", "g1d" ],
@ -88,19 +164,23 @@
{ {
//SPIRIO //SPIRIO
enableFl: true, enableFl: false,
//midi_out_device: "Fastlane", //midi_out_device: "Fastlane",
//midi_out_port: "Fastlane MIDI A", //midi_out_port: "Fastlane MIDI A",
//midi_out_device: "MIDIFACE 2x2", //midi_out_device: "MIDIFACE 2x2",
//midi_out_port: "MIDIFACE 2x2 Midi Out 2", //midi_out_port: "MIDIFACE 2x2 Midi Out 2",
midi_out_device: "iRig MIDI 2", //midi_out_device: "iRig MIDI 2",
midi_out_port: "iRig MIDI 2 MIDI 1", //midi_out_port: "iRig MIDI 2 MIDI 1",
//midi_out_device: "PC-300", //midi_out_device: "PC-300",
//midi_out_port: "PC-300 MIDI 1", //midi_out_port: "PC-300 MIDI 1",
midi_out_device: "PipeWire-RT-Event",
midi_out_port: "input",
// p4- // p4-
// 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 // 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, 3, 5, 7, 9 , 12, 15, 18, 22, 26, 30, 34, 36, 40, 44, 48, 52, 56, 60, 64, 66, 72, 76, 80, 83 ] //vel_table: [ 1, 3, 5, 7, 9 , 12, 15, 18, 22, 26, 30, 34, 36, 40, 44, 48, 52, 56, 60, 64, 66, 72, 76, 80, 83 ]