Old 10-26-2020, 05:07 PM   #1
gkurtenbach
Human being with feelings
 
Join Date: Dec 2010
Location: Toronto Canada
Posts: 347
Default VST interacting with Reaper midi events

I've written a VST that displays input audio waveform and input midi events overlapped. I record a combination of midi-drums played live with real cymbals so the display is really nice to see the audio and midi of drums as a whole.

What would be really nice would be able to point to a midi event and move it (and have Reaper update the corresponding midi event).

So is there a way in Reaper's API to modify a midi events time? And if so is there any way to access that from the VST? I know nothing about ARA but is that the kind of thing it allows?

Any pointer to help me down this road, or keep me from going down it if it's not possible would be appreciated!

cheers,
Gord
gkurtenbach is online now   Reply With Quote
Old 10-27-2020, 09:39 AM   #2
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,108
Default

Yes there are API functions to modify MIDI events (e.g. MIDI_SetNote, SetAllEvts) and it's also possible for VSTs to acces the Reaper API, e.g. here (though probably outdated) and ReaLearn also uses it I'd think.
nofish is offline   Reply With Quote
Old 10-27-2020, 10:54 AM   #3
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,776
Default

AFAIK, only a single VST that accesses the Reaper API exists: MidiToReaControlPath.

But this does work perfectly

-Michael
mschnell is offline   Reply With Quote
Old 10-27-2020, 03:35 PM   #4
gkurtenbach
Human being with feelings
 
Join Date: Dec 2010
Location: Toronto Canada
Posts: 347
Default

thanks!! There is some hope! I really appreciate the pointers!
gkurtenbach is online now   Reply With Quote
Old 10-27-2020, 03:48 PM   #5
gkurtenbach
Human being with feelings
 
Join Date: Dec 2010
Location: Toronto Canada
Posts: 347
Default

thanks!! There is some hope! I really appreciate the pointers!
gkurtenbach is online now   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 12:00 PM.


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