JustinLennox Posted August 27, 2019 Share Posted August 27, 2019 Hello! I’ve read the Scripter docs and played around with some of the tutorial scripts but they’re limited. Is there a way to generate notes without any midi input? I want the Scripter to create notes on init or Idle without any input from a midi controller. It seems like that might not be possible? Would this be possible if I built my own plugin in Xcode? Quote Link to comment Share on other sites More sharing options...
Dewdman42 Posted August 27, 2019 Share Posted August 27, 2019 yes its all possible what you say. you can create as many note objects as you want like this: var note1 = new NoteOn; var note2 = new NoteOn; Create any kind of midi events you want including NoteOff. Then you can use the ProcessMIDI callback function to schedule them for playback. ProcessMIDI is called from the Host once per process block. function ProcessMIDI() { note1.send(); } There is obviously a lot more to learn about Scripter than that... good luck on your journey... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.