diff --git a/src/cwtest/cfg/flow_proc_dict.cfg b/src/cwtest/cfg/flow_proc_dict.cfg index 3cdc584..319be96 100644 --- a/src/cwtest/cfg/flow_proc_dict.cfg +++ b/src/cwtest/cfg/flow_proc_dict.cfg @@ -24,9 +24,11 @@ audioFileIn: { vars: { - fname: { type:string, doc:"Audio file name." }, - out:{ type:audio, doc:"Audio file output" }, - eofFl:{ type:bool, eofFl: true, doc:"Set the system 'halt' flag when the audio is completely read."}, + fname: { type:string, doc:"Audio file name." }, + out:{ type:audio, doc:"Audio file output" }, + on_off:{ type:bool, value:false, doc:"1=on 0=off" },, + seekSecs:{ type:real, value:0.0, doc:"Seek to the specified seconds offset." } + eofFl:{ type:bool, eofFl: true, doc:"Set the system 'halt' flag when the audio is completely read."}, } } @@ -91,7 +93,7 @@ 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." }, + out: { type:audio, doc:"Audio output. Channel count is max of the input signal channels." }, } } @@ -351,13 +353,14 @@ } } } + compressor: { vars: { - in: { type:audio, srcFl: true, doc:"Audio input." }, + in: { type:audio, flags:["src"] true, doc:"Audio input." }, bypass: { type:bool, value: false, doc:"Bypass the compressor."}, igain: { type:real, value: 1.0, doc:"Input gain."}, - thresh: { type:real, value: 0.0, doc:"Attack threshold in dB."}, + thresh: { type:real, value: 90.0, doc:"Attack threshold in dB."}, ratio: { type:real, value: 2.0, doc:"Compression ratio."}, atk_ms: { type:real, value: 20.0, doc:"Attack time in milliseconds."}, rls_ms: { type:real, value: 20.0, doc:"Release time in milliseconds."}, @@ -446,7 +449,7 @@ g: { igain: 10.0 - ogain: 0.25 + ogain: 0.25 } g_a: { @@ -470,7 +473,7 @@ limiter: { vars: { - in: { type:audio, srcFl: true, doc:"Audio input." }, + in: { type:audio, flags:["src"] true, doc:"Audio input." }, bypass: { type:bool, value: false, doc:"Bypass the limiter."}, igain: { type:real, value: 1.0, doc:"Input gain."}, thresh: { type:real, value: 0.0, doc:"Linear (0.0-1.0) threshold."}, @@ -480,7 +483,7 @@ presets: { dflt: { - bpass: false, + bypass: false, igain: 1.0 thresh: 0.9, ogain: 1.0 @@ -491,7 +494,7 @@ dc_filter: { vars: { - in: { type:audio, srcFl: true, doc:"Audio input." }, + in: { type:audio, flags:["src"], doc:"Audio input." }, bypass: { type:bool, value: false, doc:"Bypass the DC filter."}, gain: { type:real, value: 1.0, doc:"Output gain."}, out: { type:audio, doc:"Audio output." }, @@ -499,12 +502,24 @@ presets: { dflt: { - bpass: false, + bypass: false, gain: 1.0 } } } + audio_meter: { + vars: { + in: { type:audio, flags:["src"], doc:"Audio input." }, + dbFl: { type:bool, value: true, doc:"Output in Decibels." }, + wndMs: { type:real, value: 100.0, doc:"RMS window length." }, + peakDb: { type:real, value: -10.0, doc:"Peak threshold." }, + out: { type:real, value: 0.0, doc:"Meter output." }, + peakFl: { type:bool, value: false, doc:"Peak output." } + clipFl: { type:bool, value: false, doc:"Clip indicator output."} + } + } + }