cfg/video/video.cfg : Restore for preset assignments.
This commit is contained in:
parent
ce90120225
commit
4b7eeaf2ad
@ -12,6 +12,10 @@
|
|||||||
//record_fn: "preset_sel_20220423",
|
//record_fn: "preset_sel_20220423",
|
||||||
//record_fn: "preset_sel_20220507",
|
//record_fn: "preset_sel_20220507",
|
||||||
record_fn: "unknown",
|
record_fn: "unknown",
|
||||||
|
//record_fn: "m302-325",
|
||||||
|
//record_fn: "m350-458",
|
||||||
|
|
||||||
|
//record_fn: "m1-7",
|
||||||
record_fn_ext: "txt",
|
record_fn_ext: "txt",
|
||||||
|
|
||||||
flow_proc_dict_fn: "~/src/cwtest/src/cwtest/cfg/flow_proc_dict.cfg",
|
flow_proc_dict_fn: "~/src/cwtest/src/cwtest/cfg/flow_proc_dict.cfg",
|
||||||
@ -19,14 +23,14 @@
|
|||||||
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, // coda 11499,
|
beg_play_loc: 0, //0, //12431, // coda 11499,
|
||||||
end_play_loc: 0, // coda 12426,
|
end_play_loc: 0, //59, //14726, // coda 12426,
|
||||||
|
|
||||||
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,
|
||||||
default_wet_dry_gain: 0.5,
|
default_wet_dry_gain: 0.5,
|
||||||
default_fade_ms: 500.0,
|
default_fade_ms: 50.0,
|
||||||
default_preset: "dry",
|
default_preset: "dry",
|
||||||
|
|
||||||
default_master_wet_in_gain: 1.0,
|
default_master_wet_in_gain: 1.0,
|
||||||
@ -78,9 +82,14 @@
|
|||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 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
|
||||||
// spirio 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 ]
|
||||||
|
//vel_table: [ 1, 4, 10, 12, 12, 18, 24, 24, 30, 36, 36, 44, 48, 52, 54, 58, 58, 64, 68, 72, 76, 80, 84, 98, 102 ]
|
||||||
vel_table: [ 1, 5 10, 16, 21, 26, 32, 37, 42, 48, 53, 58, 64, 69, 74, 80, 85, 90, 96,101,106,112,117,122,127 ] ,
|
vel_table: [ 1, 5 10, 16, 21, 26, 32, 37, 42, 48, 53, 58, 64, 69, 74, 80, 85, 90, 96,101,106,112,117,122,127 ] ,
|
||||||
|
|
||||||
|
|
||||||
|
scale_chord_notes_enable_fl: false,
|
||||||
|
scale_chord_notes_factor: 0.05,
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -88,6 +97,7 @@
|
|||||||
enableFl: true,
|
enableFl: true,
|
||||||
//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",
|
||||||
|
|
||||||
@ -98,13 +108,16 @@
|
|||||||
//midi_out_port: "PC-300 MIDI 1",
|
//midi_out_port: "PC-300 MIDI 1",
|
||||||
|
|
||||||
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 34
|
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 34
|
||||||
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 ]
|
||||||
|
vel_table: [ 1, 4, 10, 12, 12, 18, 24, 24, 30, 36, 36, 44, 48, 52, 54, 58, 58, 64, 68, 72, 76, 80, 84, 98, 102 ]
|
||||||
//vel_table: [ 1, 5 10, 16, 21, 26, 32, 37, 42, 48, 53, 58, 64, 69, 74, 80, 85, 90, 96,101,106,112,117,122,127 ] ,
|
//vel_table: [ 1, 5 10, 16, 21, 26, 32, 37, 42, 48, 53, 58, 64, 69, 74, 80, 85, 90, 96,101,106,112,117,122,127 ] ,
|
||||||
|
|
||||||
force_damper_down_fl: false,
|
force_damper_down_fl: false,
|
||||||
force_damper_down_threshold: 35,
|
force_damper_down_threshold: 35,
|
||||||
force_damper_down_velocity: 80,
|
force_damper_down_velocity: 80,
|
||||||
|
|
||||||
|
scale_chord_notes_enable_fl: true,
|
||||||
|
scale_chord_notes_factor: 0.5,
|
||||||
},
|
},
|
||||||
|
|
||||||
//{ midi_out_device: "PipeWire-RT-Event", midi_out_port: "input" },
|
//{ midi_out_device: "PipeWire-RT-Event", midi_out_port: "input" },
|
||||||
@ -178,7 +191,8 @@
|
|||||||
//device: "USB Audio CODEC USB Audio",
|
//device: "USB Audio CODEC USB Audio",
|
||||||
//device: "HDA Intel PCH CS4208 Analog",
|
//device: "HDA Intel PCH CS4208 Analog",
|
||||||
|
|
||||||
enableFl: true, // (req)
|
enableFl: true, // (req)
|
||||||
|
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
|
||||||
@ -206,8 +220,7 @@
|
|||||||
printNetworkFl: false, // print the network instance
|
printNetworkFl: false, // print the network instance
|
||||||
printClassDictFl: false, // print the class description dictionary
|
printClassDictFl: false, // print the class description dictionary
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
network: {
|
network: {
|
||||||
aud_in: { class: audio_in, args:{ default:{dev_label:"main"} } },
|
aud_in: { class: audio_in, args:{ default:{dev_label:"main"} } },
|
||||||
|
|
||||||
@ -220,43 +233,59 @@
|
|||||||
// select the first two channels to feed into the transform
|
// select the first two channels to feed into the transform
|
||||||
sync_split: { class: audio_split, in:{ in:sync_delay.out } args:{ default:{select[1,1]}} }
|
sync_split: { class: audio_split, in:{ in:sync_delay.out } args:{ default:{select[1,1]}} }
|
||||||
|
|
||||||
mstr_wet_in_gain: { class: audio_gain, in:{ in:sync_split.out }, args:{}}
|
mstr_wet_in_gain: { class: audio_gain, in:{ in:sync_split.out } }
|
||||||
|
|
||||||
// wet signal processing chain
|
// wet signal processing chain
|
||||||
wet_in_gain: { class: audio_gain, in:{ in:mstr_wet_in_gain.out }, args:{}},
|
wet_in_gain: { class: audio_gain, in:{ in:mstr_wet_in_gain.out } },
|
||||||
pva: { class: pv_analysis, in:{ in:wet_in_gain.out }, args:{ default:{ wndSmpN:512, hopSmpN:128, hzFl:false } } },
|
pva: { class: pv_analysis, in:{ in:wet_in_gain.out }, args:{ default:{ wndSmpN:512, hopSmpN:128, hzFl:false } } },
|
||||||
|
|
||||||
sd: { class: spec_dist, in:{ in:pva.out }, preset:kc, args:{ bypass:false } },
|
sd: { class: spec_dist, in:{ in:pva.out }, preset:kc, args:{ bypass:false } },
|
||||||
pvs: { class: pv_synthesis, in:{ in:sd.out }, },
|
pvs: { class: pv_synthesis, in:{ in:sd.out } },
|
||||||
cmp: { class: compressor, in:{ in:pvs.out }, preset:kc },
|
cmp: { class: compressor, in:{ in:pvs.out }, preset:kc, args:{ bypass:false } },
|
||||||
wet_out_gain: { class: audio_gain, in:{ in:cmp.out }, args:{}},
|
wet_out_gain: { class: audio_gain, in:{ in:cmp.out } },
|
||||||
|
|
||||||
mute_wet: { class: audio_gain, in:{ in:wet_out_gain.out }, args:{}},
|
//wet_out_gain: { class: audio_gain, in:{ in:pvs.out } },
|
||||||
|
|
||||||
|
mute_wet: { class: audio_gain, in:{ in:wet_out_gain.out } },
|
||||||
|
|
||||||
// apply the wet/dry gain balance
|
// apply the wet/dry gain balance
|
||||||
wd_bal: { class: balance, args{}},
|
wd_bal: { class: balance, args{}},
|
||||||
wet_bal_gain: { class: audio_gain, in:{ in:mute_wet.out, gain:wd_bal.out }, args:{}},
|
wet_bal_gain: { class: audio_gain, in:{ in:mute_wet.out, gain:wd_bal.out } },
|
||||||
dry_bal_gain: { class: audio_gain, in:{ in:sync_split.out, gain:wd_bal.inv_out }, args:{}},
|
dry_bal_gain: { class: audio_gain, in:{ in:sync_split.out, gain:wd_bal.inv_out } },
|
||||||
|
|
||||||
|
mstr_wet_out_gain: { class: audio_gain, in:{ in:wet_bal_gain.out } }
|
||||||
|
mstr_dry_out_gain: { class: audio_gain, in:{ in:dry_bal_gain.out } },
|
||||||
|
|
||||||
mstr_wet_out_gain: { class: audio_gain, in:{ in:wet_bal_gain.out }, args:{}}
|
|
||||||
mstr_dry_out_gain: { class: audio_gain, in:{ in:dry_bal_gain.out }, args:{}},
|
|
||||||
|
|
||||||
// merge the wet/dry signals into a single 4 channel signal
|
// merge the wet/dry signals into a single 4 channel signal
|
||||||
merge: { class: audio_merge, in:{ in0:mstr_wet_out_gain.out, in1:mstr_dry_out_gain.out, in2:mstr_wet_out_gain.out, in3:mstr_dry_out_gain.out }, args:{} },
|
merge: { class: audio_merge, in:{ in0:mstr_wet_out_gain.out, in1:mstr_dry_out_gain.out, in2:mstr_wet_out_gain.out, in3:mstr_dry_out_gain.out } },
|
||||||
|
|
||||||
aout: { class: audio_out, in:{ in:merge.out }, args:{ default:{dev_label:"main"} } },
|
aout: { class: audio_out, in:{ in:merge.out }, args:{ default:{dev_label:"main"} } },
|
||||||
|
|
||||||
//af_merge { class: audio_merge, in:{ in0:mstr_wet_out_gain.out, in1:sync_delay.out } args:{} },
|
//af_merge { class: audio_merge, in:{ in0:mstr_wet_out_gain.out, in1:sync_delay.out } },
|
||||||
|
|
||||||
//af_out: { class: audioFileOut, in:{ in:af_merge.out }, args:{ default:{fname:"/home/kevin/temp/m378_m420_0.wav"}}},
|
//af_out: { class: audioFileOut, in:{ in:af_merge.out }, args:{ default:{fname:"/home/kevin/temp/temp.wav"}}},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
presets: {
|
presets: {
|
||||||
dry: {
|
|
||||||
mute_wet: { gain:0 },
|
dry: { mute_wet: { gain:0 } },
|
||||||
},
|
a: { pva:a, sd:a, cmp:a, mute_wet:{ gain:1 } },
|
||||||
|
b: { pva:b, sd:b, cmp:b, mute_wet:{ gain:1 } },
|
||||||
|
c: { pva:c, sd:c, cmp:c, mute_wet:{ gain:1 } },
|
||||||
|
d: { pva:d, sd:d, cmp:d, mute_wet:{ gain:1 } },
|
||||||
|
f1: { pva:f_1, sd:f_1, cmp:f_1, mute_wet:{ gain:1 } },
|
||||||
|
f2: { pva:f_2, sd:f_2, cmp:f_2, mute_wet:{ gain:1 } },
|
||||||
|
f3: { pva:f_3, sd:f_3, cmp:f_3, mute_wet:{ gain:1 } },
|
||||||
|
f4: { pva:f_4, sd:f_4, cmp:f_4, mute_wet:{ gain:1 } },
|
||||||
|
g: { pva:g, sd:g, cmp:g, mute_wet:{ gain:1 } },
|
||||||
|
ga: { pva:g_a sd:g_a, cmp:g_a, mute_wet:{ gain:1 } },
|
||||||
|
g1a: { pva:g_1_a sd:g_1_a, cmp:g_1_a, mute_wet:{ gain:1 } },
|
||||||
|
g1d: { pva:g_1_d sd:g_1_d, cmp:g_1_d, mute_wet:{ gain:1 } }
|
||||||
|
|
||||||
|
/*
|
||||||
|
dry: { mute_wet: { gain:0 } },
|
||||||
a: { sd:a, cmp:a, mute_wet:{ gain:1 } },
|
a: { sd:a, cmp:a, mute_wet:{ gain:1 } },
|
||||||
b: { sd:b, cmp:b, mute_wet:{ gain:1 } },
|
b: { sd:b, cmp:b, mute_wet:{ gain:1 } },
|
||||||
c: { sd:c, cmp:c, mute_wet:{ gain:1 } },
|
c: { sd:c, cmp:c, mute_wet:{ gain:1 } },
|
||||||
@ -269,7 +298,24 @@
|
|||||||
ga: { sd:g_a, cmp:g_a, mute_wet:{ gain:1 } },
|
ga: { sd:g_a, cmp:g_a, mute_wet:{ gain:1 } },
|
||||||
g1a: { sd:g_1_a, cmp:g_1_a, mute_wet:{ gain:1 } },
|
g1a: { sd:g_1_a, cmp:g_1_a, mute_wet:{ gain:1 } },
|
||||||
g1d: { sd:g_1_d, cmp:g_1_d, mute_wet:{ gain:1 } }
|
g1d: { sd:g_1_d, cmp:g_1_d, mute_wet:{ gain:1 } }
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
dry: { mute_wet: { gain:0 } },
|
||||||
|
a: { pva:a, sd:a, mute_wet:{ gain:1 } },
|
||||||
|
b: { pva:b, sd:b, mute_wet:{ gain:1 } },
|
||||||
|
c: { pva:c, sd:c, mute_wet:{ gain:1 } },
|
||||||
|
d: { pva:d, sd:d, mute_wet:{ gain:1 } },
|
||||||
|
f1: { pva:f_1, sd:f_1, mute_wet:{ gain:1 } },
|
||||||
|
f2: { pva:f_2, sd:f_2, mute_wet:{ gain:1 } },
|
||||||
|
f3: { pva:f_3, sd:f_3, mute_wet:{ gain:1 } },
|
||||||
|
f4: { pva:f_4, sd:f_4, mute_wet:{ gain:1 } },
|
||||||
|
g: { pva:g, sd:g, mute_wet:{ gain:1 } },
|
||||||
|
ga: { pva:g_a sd:g_a, mute_wet:{ gain:1 } },
|
||||||
|
g1a: { pva:g_1_a sd:g_1_a, mute_wet:{ gain:1 } },
|
||||||
|
g1d: { pva:g_1_d sd:g_1_d, mute_wet:{ gain:1 } }
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user