diff --git a/flow/proc_dict.cfg b/flow/proc_dict.cfg index ee0ba51..cbe87f7 100644 --- a/flow/proc_dict.cfg +++ b/flow/proc_dict.cfg @@ -13,7 +13,14 @@ vars: { dev_label: { type:string, value:"", doc:"MIDI input device label. Set to '' to accept input from any device."}, port_label:{ type:string, value:"", doc:"MIDI input device port label. Set to '' to accept input from any device."}, - out: { type:midi, doc:"MIDI input port." }, + out: { type:midi, doc:"MIDI input port." }, + r_out: { type:record, doc:"MIDI record.", + fmt: { + fields: { + midi: { type:m3, doc:"MIDI channel event message" }, + } + } + } } } @@ -171,6 +178,7 @@ pv_analysis: { vars: { in: { type:audio, flags:["src"], doc:"Audio input." }, + enable: { type:bool, value: true, doc:"Enable/disable the processor."} maxWndSmpN: { type:uint, value: 1024, doc:"Maximum window sample count." }, wndSmpN: { type:uint, value: 512, doc:"Window sample count." }, hopSmpN: { type:uint, value: 128, doc:"Hop sample count." }, @@ -254,15 +262,16 @@ pv_synthesis: { vars: { - in: { type:spectrum, flags:["src"], doc:"Spectrum input." }, - out: { type:audio, doc:"Audio output." } + in: { type:spectrum, flags:["src"], doc:"Spectrum input." }, + enable: { type:bool, value: true, doc:"Enable/disable the processor."} + out: { type:audio, doc:"Audio output." } } } spec_dist: { vars: { in: { type:spectrum, flags:["src"], doc:"Spectrum input." }, - + enable: { type:bool, value: true, doc:"Enable/disable this processor."}, bypass: { type:bool, value: false, doc:"Copy input to output without transform."}, ceiling: { type:coeff, value: 30.0, doc:"Ceiling parameter."}, expo: { type:coeff, value: 2.0, doc:"Exponent parameter."}, @@ -403,8 +412,9 @@ compressor: { vars: { - in: { type:audio, flags:["src"] true, doc:"Audio input." }, - bypass: { type:bool, value: false, doc:"Bypass the compressor."}, + in: { type:audio, flags:["src"], doc:"Audio input." }, + enable: { type:bool, value: true, doc:"Same as bypass with opposite polarity." }, + bypass: { type:bool, value: false, doc:"Bypass the compressor."}, igain: { type:coeff, value: 1.0, doc:"Input gain."}, thresh: { type:coeff, value: 90.0, doc:"Attack threshold in dB."}, ratio: { type:coeff, value: 2.0, doc:"Compression ratio."}, @@ -519,12 +529,12 @@ limiter: { vars: { - in: { type:audio, flags:["src"] true, doc:"Audio input." }, - bypass: { type:bool, value: false, doc:"Bypass the limiter."}, + in: { type:audio, flags:["src"], doc:"Audio input." }, + bypass: { type:bool, value: false, doc:"Bypass the limiter."}, igain: { type:coeff, value: 1.0, doc:"Input gain."}, thresh: { type:coeff, value: 0.0, doc:"Linear (0.0-1.0) threshold."}, ogain: { type:coeff, value: 1.0, doc:"Output gain."}, - out: { type:audio, doc:"Audio output." }, + out: { type:audio, doc:"Audio output." }, } presets: { @@ -735,6 +745,9 @@ in: { type:midi, doc:"MIDI in" }, out: { type:audio, doc:"Audio out" }, done_fl: { type:bool, value:false, doc:"Triggers when voice is available."}, + gate_fl: { type:bool, value:false, doc:"True when voice is active, false when inactive." }, + rls_coeff: { type:coeff, value:0.9, doc:"Release decay factor. Increase for longer decays."}, + rls_thresh:{ type:coeff, value:0.01,doc:"Note off threshold. Decrease for longer decays."}, test_pitch: { type:uint, value:0, doc:"Pitch to test." }, test_key_pitch: { type:uint, value:48, doc:"Base pitch to use for lowest velocity when in 'test' mode." }, @@ -868,7 +881,7 @@ preset_select: { doc:[ "Given a score location emit a preset label."], vars: { - cfg: { type:cfg, flags:["init"], preset:"init", doc:"Initial preset configuration." }, + cfg: { type:cfg, flags:["init"], doc:"Initial preset configuration." }, in: { type:record, fmt:{ required:["loc"]} doc:"Input record with 'loc' field." }, fname: { type:string, flags:["init"], value:"", doc:"Preset file name."}, loc: { type:uint, value:0, doc:"Seek to this location." }, @@ -905,7 +918,7 @@ gutim_ps: { doc:[ "Given score location and MIDI note messages emit transform parameters."], vars: { - cfg: { type:cfg, flags:["init"], preset:"init", doc:"Initial preset configuration." }, + cfg: { type:cfg, flags:["init"], doc:"Initial preset configuration." }, fname: { type:string, flags:["init"], value:"", doc:"Preset file name."}, in: { type:record, fmt:{ required:["loc"] }, doc:"Input record with 'loc' field." }, loc: { type:uint, value:0, doc:"Seek to this location." },