From 3dbc8afca91c1245780813c2c321f3c31e618665 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 1 Jun 2024 08:52:44 -0400 Subject: [PATCH] fow/flow_proc_dict.cfg : Updates to accompany latest changes to cwFlowProc.cpp --- src/cwtest/cfg/flow/flow_proc_dict.cfg | 34 ++++++++------------------ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/src/cwtest/cfg/flow/flow_proc_dict.cfg b/src/cwtest/cfg/flow/flow_proc_dict.cfg index 7f49fcc..5d2a735 100644 --- a/src/cwtest/cfg/flow/flow_proc_dict.cfg +++ b/src/cwtest/cfg/flow/flow_proc_dict.cfg @@ -50,7 +50,7 @@ audio_split: { vars: { in: { type:audio, flags:["src"], doc:"Audio input." }, - select: { type:int, doc:"Give a list of integers where each integer selects an output channel for the associated input channel." } + select: { type:cfg, doc:"Give a list of integers where each integer selects an output channel for the associated input channel." } igain: { type:coeff, value:1.0, doc:"Audio gain for each input channel." } ogain: { type:coeff, value:1.0, doc:"Audio gain for each output channel." } out: { type:audio, doc:"Audio output." }, @@ -63,6 +63,7 @@ } } + audio_duplicate: { vars: { in: { type:audio, flags:["src"], doc:"Audio input."}, @@ -72,19 +73,13 @@ } } - audio_merge: { - vars: { - in0: { type:audio, flags:["src"], doc:"First audio input." }, - in1: { type:audio, flags:["src"], doc:"Second audio input." }, - in2: { type:audio, flags:["src","src_opt"], doc:"Third audio input." }, - in3: { type:audio, flags:["src","src_opt"], doc:"Fourth audio input." }, - in4: { type:audio, flags:["src","src_opt"], doc:"Fifth audio input." }, - in5: { type:audio, flags:["src","src_opt"], doc:"Sixth audio input." }, - in6: { type:audio, flags:["src","src_opt"], doc:"Seventh audio input." }, - in7: { type:audio, flags:["src","src_opt"], doc:"Eigth audio input." }, - gain: { type:coeff, value:1.0, doc:"Audio gain for each selected (output) channel." } - out: { type:audio, doc:"Audio output. Channel count is the sum of the input channel count." }, - } + audio_merge: { + vars: { + in: { type:audio, flags:["src", "mult"], doc:"Audio input channel." }, + gain: { type:coeff, value: 1, flags:["src", "mult"], doc:"Input channel gain." }, + out_gain: { type:coeff, value: 1, doc:"Output gain" }, + out: { type:audio, doc:"Audio output. Channel count is the sum of the input channel count." }, + } } audio_mix: { @@ -122,6 +117,7 @@ a220 : { hz:220 }, a440 : { hz:440 }, a880 : { hz:880 }, + mono: { chCnt:1, gain:0.75 } } } @@ -622,16 +618,6 @@ } }, - poly_merge: { - - vars: { - in: { type:audio, flags:["src", "mult"], doc:"Audio input channel." }, - gain: { type:coeff, value: 0, flags:["src", "mult"], doc:"Input channel gain." }, - out_gain: { type:coeff, value: 1, doc:"Output gain" }, - out: { type:audio, doc:"Audio output." }, - } - }, - print: { vars: { in: { type:all, flags:["mult"], doc: "Value to print." },