View Single Post
Old 06-01-2018, 08:15 PM   #94
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Yes I know, but again, script is based on how REAPER handle item/take parameters. It is impossible to know a reverse state of MIDI take natively. You have to deal with additional extprojectstate data for storing there info about what MIDI takes were reversed, you need to use reverse MIDI action only from script, etc.
As you you know, typical MIDI source contain messages like that:
Code:
NoteOn>CC>Noteoff>Sysex>NoteOn>Noteoff
When you simply reverse order of events, it will be
Code:
Noteoff>NoteOn>Sysex>Noteoff>CC>NoteOn
which is destroy everything.

So for reversed state of take you should not only reverse order, but also replace NoteOff to NoteOn and vice versa (I guess these actions work this way).

Quote:
it should not appear in Interactive Toolbar option to reverse
I guess you added it manually? Items widges are cross-context, some of them are supported for MIDI/Audio, some not. List of supported widgets for specific context are in Menu/Help.

Last edited by mpl; 06-01-2018 at 10:59 PM.
mpl is offline   Reply With Quote