flow/proc_dict.cfg : Added midi_merge,midi_file,audio_marker.

Changed number, and midi_out.
This commit is contained in:
kevin 2024-07-03 14:45:11 -04:00
parent 65444127d6
commit 3552f9a272

View File

@ -22,6 +22,7 @@
vars: { vars: {
dev_label: { type:string, doc:"MIDI output device label."}, dev_label: { type:string, doc:"MIDI output device label."},
port_label:{ type:string, doc:"MIDI output device port label."}, port_label:{ type:string, doc:"MIDI output device port label."},
buf_cnt: { type:uint, flags:["init"], value:64, doc:"MIDI message buffer count." },
in: { type:midi, doc:"MIDI output port."} in: { type:midi, doc:"MIDI output port."}
} }
} }
@ -112,6 +113,14 @@
} }
} }
audio_marker: {
vars: {
in: { type:audio, flags:["src"], doc:"Audio input."},
trigger: { type:all, value:0, doc:"Marker trigger."},
out: { type:audio, doc:"Audio output."},
}
}
audio_delay: { audio_delay: {
vars: { vars: {
in: { type:audio, flags:["src"], doc:"Audio input." }, in: { type:audio, flags:["src"], doc:"Audio input." },
@ -571,11 +580,14 @@
*/ */
number: { number: {
doc:[ "Number box",
"By default the type of the output is the type of the first input variable.",
"However, an explicit type may be set using the 'out_type' argument." ]
vars: { vars: {
in: { type:numeric, value:0.0, flags["mult"], doc:"Input and output value."}, in: { type:numeric, value:0.0, flags["mult"], doc:"Set the current value."},
store: { type:numeric, value:0.0, flags["mult"], doc:"Store but don't emit until the next exec."}, trigger: { type:all, value:0.0, doc:"Send the currrent value on the next exec cycle."},
trigger: { type:all, value:0.0, doc:"Send the currrent value."}, out_type: { type:string, value:"", flags:["init"], doc:"The type of the output value."},
out_type: { type:string, value:double, flags:["init"], doc:"The type of the output value."},
out: { type:runtime, flags:["no_src"], doc:"Output numeric value."}, out: { type:runtime, flags:["no_src"], doc:"Output numeric value."},
} }
} }
@ -692,5 +704,28 @@
} }
} }
midi_file: {
doc: [ "MIDI file player",
"CSV file format: 'uid','tpQN','bpm','dticks','ch','status','d0','d1'",
"tpQN = ticks per quarter note should be given on the first line. (Defaults to 1260).",
"bpm = beats per minute should be given on the first line. (Defaults to 60)." ]
vars: {
fname: { type:string, flags:["init"], value:"", doc:"MIDI file name." },
csv_fname: { type:string, flags:["init"], value:"", doc:"MIDI CSV fname. See: midi::file open_csv()." },
done_fl: { type:bool, value:false, doc:"Emits true on done." },
out: { type:midi, doc:"MIDI output."}
}
}
midi_merge: {
doc: [ "MIDI merger."],
vars: {
buf_cnt: { type:uint, flags:["init"], value:64, doc:"MIDI message buffer count." },
in: { type:midi, flags:["mult"], doc:"MIDI input port."},
out: { type:midi, doc:"MIDI output port."}
}
}
} }