Jump to content

Scripter - how to run a function on a time interval


benbravo

Recommended Posts

Sorry Valli, I overlooked your question... I do record the MIDI purely in Scripter and it works very good. What I do is simply push the incoming midi events in an array. This function is triggered by a Rec/Stop checkbox parameter which can be assigned to whatever screen control for on-the-fly use. I haven’t found any drawbacks to this or the need of anything outside of Scripter. I simply need to record “silent” Midi messages for indicating the beginning and the end of the recording (with ParameterChanged) and the array contains all the information I need and is pretty much the equivalent of a region in Logic.

Which program do you use, Logic or MainStage?

Both use Scripter so that does't tell me which program you use.

Link to comment
Share on other sites

That’s pretty cool, would have saved me a lot of typing if you had given us that complete context of what you have done already and the specific problem you’re having with it.

 

I think for playing back the loop you captured you just need to recalculate the beatPos value to a new relative offset depending on when you trigger the loop to start, then inside each process block scan through the array to see if any notes need to be sent

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