Add Sequence Class
Add a class called "Sequencer". which takes in the constructor some well defined JSON for the midi sequence data.
Then in Scripter anyone can use it directly or perhaps extend it.
But the Sequence class would go like this
var myseq = new Sequence(json);
then later it can have some methods which the user has to use to do things during HandleMIDI or ProcessMIDI functions
function ProcessMIDI() {
myseq.play(info);
myseq.logCsv(info);
}
- set start points
- set loop points
- etc
This will be particularly useful in Mainstage. But the Csv logging would be useful in LogicPro too.
Edited by Steve Schow