Script for creating the negative of a MIDI item
Hi all,
I'm looking to find a solution for easily negating MIDI items (replacing notes with silence and vice-versa). Kind of like the negative of a photograph but on a note-by-note basis so that, for every note, all note-ons are replaced by note-offs and vice-versa. The very start/very end of the item will force a note-on/note-off just so there are no loose ends.
Are there any open-source scripts approaching this idea that I can peek at to build one myself, and/or any good tutorials to look at beforehand?
I'm new to ReaScript but I am a software developer, so any help is welcome.
Cheers,
Vasco.
|