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: {
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." },
}
}
@ -352,12 +354,13 @@
}
}
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."},
@ -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."}
}
}
}