cfg/flow_proc_dict.cfg : Flow class descriptions now use a list of strings rather than individual fields for boolean attributes.

This commit is contained in:
kevin 2022-12-17 08:20:09 -05:00
parent 95f92b5346
commit 4cd531a3e2

View File

@ -18,7 +18,7 @@
audio_out: { audio_out: {
vars: { vars: {
dev_label: { type:string, doc:"Audio device label." }, 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: { vars: {
fname: { type:string, doc:"Audio file name." }, fname: { type:string, doc:"Audio file name." },
bits: { type:uint, value:32, doc:"Audio file word width. (8,16,24,32,0=float32)."}, 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: { audio_gain: {
vars: { 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." } gain: { type:real, value:1.0, doc:"Gain coefficient." }
out: { type:audio, doc:"Audio output." }, out: { type:audio, doc:"Audio output." },
} }
@ -48,7 +48,7 @@
audio_split: { audio_split: {
vars: { 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" } select: { type:bool, doc:"Enable/Disable each channel" }
gain: { type:real, value:1.0, doc:"Audio gain for each selected (output) channel." } gain: { type:real, value:1.0, doc:"Audio gain for each selected (output) channel." }
out: { type:audio, doc:"Audio output." }, out: { type:audio, doc:"Audio output." },
@ -63,7 +63,7 @@
audio_duplicate: { audio_duplicate: {
vars: { 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." }, duplicate: { type: uint, doc:"Count of times to repeat this channel." },
gain: { type: real, value:1.0, doc:"Audio gain." }, gain: { type: real, value:1.0, doc:"Audio gain." },
out: { type:audio, doc:"Audio output containing repeat * input channel count channels."} out: { type:audio, doc:"Audio output containing repeat * input channel count channels."}
@ -72,14 +72,14 @@
audio_merge: { audio_merge: {
vars: { vars: {
in0: { type:audio, srcFl:true, doc:"First audio input." }, in0: { type:audio, flags:["src"], doc:"First audio input." },
in1: { type:audio, srcFl:true, doc:"Second audio input." }, in1: { type:audio, flags:["src"], doc:"Second audio input." },
in2: { type:audio, srcFl:true, srcOptFl:true, doc:"Third audio input." }, in2: { type:audio, flags:["src","src_opt"], doc:"Third audio input." },
in3: { type:audio, srcFl:true, srcOptFl:true, doc:"Fourth audio input." }, in3: { type:audio, flags:["src","src_opt"], doc:"Fourth audio input." },
in4: { type:audio, srcFl:true, srcOptFl:true, doc:"Fifth audio input." }, in4: { type:audio, flags:["src","src_opt"], doc:"Fifth audio input." },
in5: { type:audio, srcFl:true, srcOptFl:true, doc:"Sixth audio input." }, in5: { type:audio, flags:["src","src_opt"], doc:"Sixth audio input." },
in6: { type:audio, srcFl:true, srcOptFl:true, doc:"Seventh audio input." }, in6: { type:audio, flags:["src","src_opt"], doc:"Seventh audio input." },
in7: { type:audio, srcFl:true, srcOptFl:true, doc:"Eigth 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." } 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." }, out: { type:audio, doc:"Audio output. Channel count is the sum of the input channel count." },
} }
@ -87,8 +87,8 @@
audio_mix: { audio_mix: {
vars: { vars: {
in0: { type:audio, srcFl:true, doc:"First audio input." }, in0: { type:audio, flags:["src"], doc:"First audio input." },
in1: { type:audio, srcFl:true, 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 the sum of the input channel count." },
@ -97,7 +97,7 @@
audio_delay: { audio_delay: {
vars: { 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." }, maxDelayMs: { type:real, value:1000.0 doc:"Maximum possible delay in milliseconds." },
delayMs: { type:real, doc:"Delay in milliseconds." }, delayMs: { type:real, doc:"Delay in milliseconds." },
out: { type:audio, doc:"Audio output." }, out: { type:audio, doc:"Audio output." },
@ -122,7 +122,7 @@
pv_analysis: { pv_analysis: {
vars: { 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." }, maxWndSmpN: { type:uint, value: 512, doc:"Maximum window sample count." },
wndSmpN: { type:uint, value: 512, doc:"Window sample count." }, wndSmpN: { type:uint, value: 512, doc:"Window sample count." },
hopSmpN: { type:uint, value: 128, doc:"Hop sample count." }, hopSmpN: { type:uint, value: 128, doc:"Hop sample count." },
@ -206,14 +206,14 @@
pv_synthesis: { pv_synthesis: {
vars: { vars: {
in: { type:spectrum, srcFl:true, doc:"Spectrum input." }, in: { type:spectrum, flags:["src"], doc:"Spectrum input." },
out: { type:audio, doc:"Audio output." } out: { type:audio, doc:"Audio output." }
} }
} }
spec_dist: { spec_dist: {
vars: { 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."}, bypass: { type:bool, value: false, doc:"Copy input to output without transform."},
ceiling: { type:real, value: 30.0, doc:"Ceiling parameter."}, ceiling: { type:real, value: 30.0, doc:"Ceiling parameter."},