flow/proc_dict.cfg : Change score_player and poly_voice_ctl to communicate via a 'midi' field in a record.
This commit is contained in:
parent
0e8e06c48d
commit
81aa9ada7d
@ -705,7 +705,7 @@
|
||||
|
||||
vars: {
|
||||
|
||||
in: { type:midi, doc:"MIDI input."},
|
||||
in: { type:record, doc:"MIDI input."},
|
||||
voice_cnt: { type:uint, value:3, flags:["init"], doc:"Count of voices." },
|
||||
out: { type:midi, flags:["mult"], doc:"MIDI output to voices. One per voice." },
|
||||
done_fl: { type:bool, value:false, flags:["mult"], doc:"Voice available feedback triggers from voices. One per voice."},
|
||||
@ -786,21 +786,36 @@
|
||||
fname: { type:string, flags:["init"], value:"", doc:"Score file name." },
|
||||
vel_tbl_fname:{ type:string, flags:["init"], value:"", doc:"Velocity table filename as create by vwVelTableTuner." },
|
||||
vel_tbl_label:{ type:string, value:"", doc:"Name of the active velocity table referenced by 'vel_fname."},
|
||||
out: { type:midi, doc:"MIDI output." },
|
||||
//out: { type:midi, doc:"MIDI output." },
|
||||
loc: { type:uint, value:0, doc:"Score location output." },
|
||||
done_fl: { type:bool, value:false, doc:"Emits true on done." },
|
||||
out: { type:record, doc:"Score event record.",
|
||||
fmt: {
|
||||
fields: {
|
||||
midi: { type:midi, doc:"MIDI channel event message" },
|
||||
loc: { type:uint, value:-1, doc:"Score location id." },
|
||||
meas: { type:uint, value:-1, doc:"Score measure." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// out: { type:record
|
||||
// value: {
|
||||
// fmt: {
|
||||
// fields: {
|
||||
// midi: { type:midi, doc:"MIDI channel event message."},
|
||||
// loc: { type:uint, value:-1, doc:"Score location id."},
|
||||
// meas: { type:uint, value:-1, doc:"Score measure location."}
|
||||
// },
|
||||
// doc:"Score event messages."
|
||||
// },
|
||||
// blah: { type:group, doc:"My group"
|
||||
// fields: {
|
||||
// foo: { type:float, value:3, doc:"Three, always three"}
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
/*
|
||||
midi_to_msg: {
|
||||
doc:[ "Convert MIDI event to the 'messages'." ]
|
||||
vars: {
|
||||
@ -810,6 +825,7 @@
|
||||
out: { type:record, doc:"MIDI input converted to records in the 'midi' field and blank extra fields named according to 'fields'." }
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
score_follower: {
|
||||
doc:[ "MIDI score follower: Sets the 'loc' field of the output record according to the score location." ]
|
||||
|
Loading…
Reference in New Issue
Block a user