Jump to content

Note Repeater of Indefinite Length?


nlandis

Recommended Posts

I’m trying to create a script that’s essentially a cross between the note repeater and the arpeggiator (really a simpler version of an arpeggiator): as long as a key is held down (i.e. as long as the note is on) it repeats at the desired frequency, stopping when the key is released (i.e. note off). It’s similar to the existing note repeater, but rather than a preset number of repeats, it does so indefinitely as long as the key is pressed. The part I’m having the most trouble wrapping my head around is how to “listen” for a note off event, since a separate instance of HandleMidi will be called for note on and note off.

 

Does anyone have any experience with this, or has anyone seen something similar out there? I’d appreciate any help or advice.

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