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: {
|
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." },
|
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." },
|
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."},
|
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." },
|
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_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."},
|
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." },
|
loc: { type:uint, value:0, doc:"Score location output." },
|
||||||
done_fl: { type:bool, value:false, doc:"Emits true on done." },
|
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
|
// out: { type:record
|
||||||
// value: {
|
// fmt: {
|
||||||
|
// fields: {
|
||||||
// midi: { type:midi, doc:"MIDI channel event message."},
|
// midi: { type:midi, doc:"MIDI channel event message."},
|
||||||
// loc: { type:uint, value:-1, doc:"Score location id."},
|
// loc: { type:uint, value:-1, doc:"Score location id."},
|
||||||
// meas: { type:uint, value:-1, doc:"Score measure location."}
|
// meas: { type:uint, value:-1, doc:"Score measure location."}
|
||||||
// },
|
// blah: { type:group, doc:"My group"
|
||||||
// doc:"Score event messages."
|
// fields: {
|
||||||
// },
|
// foo: { type:float, value:3, doc:"Three, always three"}
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
/*
|
||||||
midi_to_msg: {
|
midi_to_msg: {
|
||||||
doc:[ "Convert MIDI event to the 'messages'." ]
|
doc:[ "Convert MIDI event to the 'messages'." ]
|
||||||
vars: {
|
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'." }
|
out: { type:record, doc:"MIDI input converted to records in the 'midi' field and blank extra fields named according to 'fields'." }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
score_follower: {
|
score_follower: {
|
||||||
doc:[ "MIDI score follower: Sets the 'loc' field of the output record according to the score location." ]
|
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