Old 02-06-2020, 05:50 PM   #1
maczook
Human being with feelings
 
Join Date: May 2019
Posts: 42
Default Send OSC out of Reaper

Hey All!

I'm trying to figure out how to get Reaper to send an OSC message, "/TABS Mixer", out of Reaper whenever I open the MIDI Editor. I've looked into changing the Default.ReaperOSC file, and it seems like this should be possible, although I haven't figured it out yet.

Anyone have any ideas?

Thanks!

Best Wishes,

-Mac
maczook is offline   Reply With Quote
Old 02-07-2020, 11:53 AM   #2
pljones
Human being with feelings
 
pljones's Avatar
 
Join Date: Aug 2007
Location: London, UK
Posts: 662
Default

ReaperOSC files are the only way to get Reaper to issue an OSC command.

What I've had to do is pick any of the actions you can bind that you think you'll never actually need to use, which has the appropriate parameters for the message you want to send, then cause that action to happen some how.

You'll notice that Default.ReaperOSC mentions nothing about opening the MIDI Editor, so there's no direct way there. What you'll likely need to do is write a short script to do two things:
- open the MIDI editor
- something else that is in Default.ReaperOSC

Then, make the method you currently use to open the MIDI editor run that script instead.

For example, I use track select to send out an OSC string (because I don't need to bind track select to its usual purpose) - but I needed to pass an "on/off" value - it'll be different in your exact case
Code:
...
reaper.SetTrackSelected(reaper.GetTrack(0, srTk - 1), srVal)
...
Code:
TRACK_SELECT b/track/@/onOff
__________________
Quote:
Originally Posted by Tony Williams
...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world.
pljones 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 11:43 AM.


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