Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 01-23-2019, 11:47 AM   #1
meta
Human being with feelings
 
Join Date: Sep 2018
Posts: 33
Default Persistent references to individual notes and cc events

At the moment the only way to access notes and cc events is via their index in the item.

This is not good for a utility I'm writing in which the user repeatedly alters and/or moves specific notes and CC events in a given item. To do this I'm forced to construct a separate representation of the indexes in the item to keep track of the changes to them. Deleting all MIDI in the item and rewriting all of it again for every single change is prohibitively expensive and slow.

The way I understand it judging by this post: https://forum.cockos.com/showpost.ph...15&postcount=3 reaper has internal data structures that represent individual midi notes and cc events. Would it be possible to expose these to the API? Even if it's persistent for only the duration of the current reaper process that would be extremely helpful.

SWS has a function called FNG_GetMidiNote however as I understand it this will not refer to the same note once the indices are changed.
meta is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.