From 4cd531a3e2dfe6afa55dda852ee54a6a5fe5b038 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 17 Dec 2022 08:20:09 -0500 Subject: [PATCH] cfg/flow_proc_dict.cfg : Flow class descriptions now use a list of strings rather than individual fields for boolean attributes. --- src/cwtest/cfg/flow_proc_dict.cfg | 38 +++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/cwtest/cfg/flow_proc_dict.cfg b/src/cwtest/cfg/flow_proc_dict.cfg index a967e83..3cdc584 100644 --- a/src/cwtest/cfg/flow_proc_dict.cfg +++ b/src/cwtest/cfg/flow_proc_dict.cfg @@ -18,7 +18,7 @@ audio_out: { vars: { dev_label: { type:string, doc:"Audio device label." }, - in: { type:audio, srcFl:true, doc:"Audio input." } + in: { type:audio, flags:["src"], doc:"Audio input." } } } @@ -34,13 +34,13 @@ vars: { fname: { type:string, doc:"Audio file name." }, bits: { type:uint, value:32, doc:"Audio file word width. (8,16,24,32,0=float32)."}, - in: { type:audio, srcFl:true, doc:"Audio file input." } + in: { type:audio, flags:["src"], doc:"Audio file input." } } } audio_gain: { vars: { - in: { type:audio, srcFl:true, doc:"Audio input." }, + in: { type:audio, flags:["src"], doc:"Audio input." }, gain: { type:real, value:1.0, doc:"Gain coefficient." } out: { type:audio, doc:"Audio output." }, } @@ -48,7 +48,7 @@ audio_split: { vars: { - in: { type:audio, srcFl:true, doc:"Audio input." }, + in: { type:audio, flags:["src"], doc:"Audio input." }, select: { type:bool, doc:"Enable/Disable each channel" } gain: { type:real, value:1.0, doc:"Audio gain for each selected (output) channel." } out: { type:audio, doc:"Audio output." }, @@ -63,7 +63,7 @@ audio_duplicate: { vars: { - in: { type:audio, srcFl:true, doc:"Audio input."}, + in: { type:audio, flags:["src"], doc:"Audio input."}, duplicate: { type: uint, doc:"Count of times to repeat this channel." }, gain: { type: real, value:1.0, doc:"Audio gain." }, out: { type:audio, doc:"Audio output containing repeat * input channel count channels."} @@ -72,14 +72,14 @@ audio_merge: { vars: { - in0: { type:audio, srcFl:true, doc:"First audio input." }, - in1: { type:audio, srcFl:true, doc:"Second audio input." }, - in2: { type:audio, srcFl:true, srcOptFl:true, doc:"Third audio input." }, - in3: { type:audio, srcFl:true, srcOptFl:true, doc:"Fourth audio input." }, - in4: { type:audio, srcFl:true, srcOptFl:true, doc:"Fifth audio input." }, - in5: { type:audio, srcFl:true, srcOptFl:true, doc:"Sixth audio input." }, - in6: { type:audio, srcFl:true, srcOptFl:true, doc:"Seventh audio input." }, - in7: { type:audio, srcFl:true, srcOptFl:true, doc:"Eigth audio input." }, + 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:real, 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." }, } @@ -87,8 +87,8 @@ audio_mix: { vars: { - in0: { type:audio, srcFl:true, doc:"First audio input." }, - in1: { type:audio, srcFl:true, doc:"Second audio input." }, + in0: { type:audio, flags:["src"], doc:"First audio input." }, + in1: { type:audio, flags:["src"], doc:"Second audio input." }, gain0: { type:real, value:0.5, doc:"Audio gain for input 0." }, gain1: { type:real, value:0.5, doc:"Audio gain for input 1." }, out: { type:audio, doc:"Audio output. Channel count is the sum of the input channel count." }, @@ -97,7 +97,7 @@ audio_delay: { vars: { - in: { type:audio, srcFl:true, doc:"Audio input." }, + in: { type:audio, flags:["src"], doc:"Audio input." }, maxDelayMs: { type:real, value:1000.0 doc:"Maximum possible delay in milliseconds." }, delayMs: { type:real, doc:"Delay in milliseconds." }, out: { type:audio, doc:"Audio output." }, @@ -122,7 +122,7 @@ pv_analysis: { vars: { - in: { type:audio, srcFl:true, doc:"Audio input." }, + in: { type:audio, flags:["src"], doc:"Audio input." }, maxWndSmpN: { type:uint, value: 512, doc:"Maximum window sample count." }, wndSmpN: { type:uint, value: 512, doc:"Window sample count." }, hopSmpN: { type:uint, value: 128, doc:"Hop sample count." }, @@ -206,14 +206,14 @@ pv_synthesis: { vars: { - in: { type:spectrum, srcFl:true, doc:"Spectrum input." }, + in: { type:spectrum, flags:["src"], doc:"Spectrum input." }, out: { type:audio, doc:"Audio output." } } } spec_dist: { vars: { - in: { type:spectrum, srcFl:true, doc:"Spectrum input." }, + in: { type:spectrum, flags:["src"], doc:"Spectrum input." }, bypass: { type:bool, value: false, doc:"Copy input to output without transform."}, ceiling: { type:real, value: 30.0, doc:"Ceiling parameter."},