flow_proc_dict.cfg : Added audio_meter.

Change default compressor thresh from 0.0 to 90.0.
Add on_off and seekSecs to audioFileIn.
This commit is contained in:
kevin 2023-01-08 14:07:57 -05:00
parent 33fb5a73a7
commit ce90120225

View File

@ -24,9 +24,11 @@
audioFileIn: { audioFileIn: {
vars: { vars: {
fname: { type:string, doc:"Audio file name." }, fname: { type:string, doc:"Audio file name." },
out:{ type:audio, doc:"Audio file output" }, out:{ type:audio, doc:"Audio file output" },
eofFl:{ type:bool, eofFl: true, doc:"Set the system 'halt' flag when the audio is completely read."}, 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." }, in1: { type:audio, flags:["src"], doc:"Second audio input." },
gain0: { type:real, value:0.5, doc:"Audio gain for input 0." }, gain0: { type:real, value:0.5, doc:"Audio gain for input 0." },
gain1: { type:real, value:0.5, doc:"Audio gain for input 1." }, 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: { compressor: {
vars: { 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."}, bypass: { type:bool, value: false, doc:"Bypass the compressor."},
igain: { type:real, value: 1.0, doc:"Input gain."}, 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."}, ratio: { type:real, value: 2.0, doc:"Compression ratio."},
atk_ms: { type:real, value: 20.0, doc:"Attack time in milliseconds."}, atk_ms: { type:real, value: 20.0, doc:"Attack time in milliseconds."},
rls_ms: { type:real, value: 20.0, doc:"Release time in milliseconds."}, rls_ms: { type:real, value: 20.0, doc:"Release time in milliseconds."},
@ -446,7 +449,7 @@
g: { g: {
igain: 10.0 igain: 10.0
ogain: 0.25 ogain: 0.25
} }
g_a: { g_a: {
@ -470,7 +473,7 @@
limiter: { limiter: {
vars: { 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."}, bypass: { type:bool, value: false, doc:"Bypass the limiter."},
igain: { type:real, value: 1.0, doc:"Input gain."}, igain: { type:real, value: 1.0, doc:"Input gain."},
thresh: { type:real, value: 0.0, doc:"Linear (0.0-1.0) threshold."}, thresh: { type:real, value: 0.0, doc:"Linear (0.0-1.0) threshold."},
@ -480,7 +483,7 @@
presets: { presets: {
dflt: { dflt: {
bpass: false, bypass: false,
igain: 1.0 igain: 1.0
thresh: 0.9, thresh: 0.9,
ogain: 1.0 ogain: 1.0
@ -491,7 +494,7 @@
dc_filter: { dc_filter: {
vars: { 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."}, bypass: { type:bool, value: false, doc:"Bypass the DC filter."},
gain: { type:real, value: 1.0, doc:"Output gain."}, gain: { type:real, value: 1.0, doc:"Output gain."},
out: { type:audio, doc:"Audio output." }, out: { type:audio, doc:"Audio output." },
@ -499,12 +502,24 @@
presets: { presets: {
dflt: { dflt: {
bpass: false, bypass: false,
gain: 1.0 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."}
}
}
} }