diff --git a/src/caw/main.cfg b/src/caw/main.cfg index b6afb4f..6abebd8 100644 --- a/src/caw/main.cfg +++ b/src/caw/main.cfg @@ -8,6 +8,8 @@ rt_sine_00: { + durLimitSecs:5.0, + network: { procs: { @@ -310,13 +312,13 @@ non_real_time_fl:false, network: { procs: { - mf: { class: midi_file, args:{ csv_fname:"~/temp/wt/60_sample.csv" }}, + mf: { class: midi_file, args:{ csv_fname:"~/temp/wt3/21_sample.csv" }}, mout: { class: midi_out in:{ in:mf.out }, args:{ dev_label:"MIDIFACE 2x2", port_label:"MIDIFACE 2x2 Midi Out 1" }}, stop: { class: halt, in:{ in:mf.done_fl }} ain: { class: audio_in, args:{ dev_label:"main" }}, split: { class: audio_split, in:{ in:ain.out } args:{ select: [0,0, 1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1] }}, - af: { class: audio_file_out, in:{ in:split.out0 }, args:{ fname:"~/temp/wt/wav/60_samples.wav"}}, + af: { class: audio_file_out, in:{ in:split.out0 }, args:{ fname:"~/temp/wt3/wav/21_samples.wav"}}, aout: { class: audio_out, in:{ in:ain.out }, args:{ dev_label:"main"}}, } @@ -427,17 +429,18 @@ } asil: { class: audio_silence, args:{ ch_cnt:6 }}, - amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } }, + amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } args:{ igain_:1.0} }, asel: { class: audio_split, in:{ in:amix.out }, args:{ select:[0,1] }}, - amrg: { class: audio_merge, in:{ in0:asil.out, in1:asel.out0, in2:asel.out0 } }, + amrg: { class: audio_merge, in:{ in0:asil.out, in1:asel.out0, in2:asel.out1 }, args:{ out_gain:2.0 } }, aout: { class: audio_out, in:{ in:amrg.out }, args:{ dev_label:"main"}} } } } + // Play stereo audio out channels 7&8 of the Scarlett. audio_test_21: { non_real_time_fl:false, - durLimitSecs:5, + durLimitSecs:10, network: { procs: { asil: { class:audio_silence, args:{ ch_cnt:6 }} @@ -449,5 +452,61 @@ } } } + + piano_voice_22: { + non_real_time_fl:false, + durLimitSecs:30, + + network: { + procs: { + + + mf: { class: midi_file, args:{ csv_fname:"~/temp/wt1/60_sample.csv" }}, + stop: { class: halt, in:{ in:mf.done_fl }} + vctl: { class: poly_voice_ctl, in:{ in:mf.out }, args:{ voice_cnt:3 } }, + + voice_poly: { + class: poly, + args: { count:3 } + + network: { + procs: { + voc: { class:piano_voice, in:{ _.in:_.vctl.out_ }, + out:{ _.done_fl:_.vctl.done_fl_ }, + args:{ wtb_dir:"~/temp/wt1/bank", wtb_instr:"piano" } }, + } + } + } + + asil: { class: audio_silence, args:{ ch_cnt:6 }}, + amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } args:{ igain_:1.0 }}, + amrg: { class: audio_merge, in:{ in0:asil.out, in1:amix.out }, args:{ out_gain:1.0 } }, + aout: { class: audio_out, in:{ in:amrg.out }, args:{ dev_label:"main"}} + } + } + } + + sample_gen_23: { + non_real_time_fl:false, + network: { + procs: { + mf: { class: midi_file, args:{ csv_fname:"~/temp/wt1/21_sample.csv" }}, + mout: { class: midi_out in:{ in:mf.out }, args:{ dev_label:"MIDIFACE 2x2", port_label:"MIDIFACE 2x2 Midi Out 1" }}, + stop: { class: halt, in:{ in:mf.done_fl }} + + ain: { class: audio_in, args:{ dev_label:"main" }}, + split: { class: audio_split, in:{ in:ain.out } args:{ select: [0,0, 1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1] }}, + + + //af: { class: audio_file_out, in:{ in:split.out0 }, args:{ bits:0, fname:"~/temp/test.wav"}}, + + asil: { class: audio_silence, args:{ ch_cnt:6 }}, + amrg: { class: audio_merge, in:{ in0:asil.out, in1:split.out0 }, args:{ out_gain:1.0 } }, + aout: { class: audio_out, in:{ in:amrg.out }, args:{ dev_label:"main"}} + } + } + }, + + } } \ No newline at end of file