Jump to content

How to actually create notes?


Recommended Posts

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?
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...