|
|
|
08-28-2018, 09:15 AM
|
#1
|
Human being with feelings
Join Date: Jan 2016
Posts: 16
|
Generate and send an OSC message from an action?
Hi. Is it possible to generate and send an OSC message from a developer written action? If so, what language options are there? Thanks!
|
|
|
08-28-2018, 12:32 PM
|
#2
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,252
|
Quote:
Originally Posted by mikechr
Hi. Is it possible to generate and send an OSC message from a developer written action? If so, what language options are there? Thanks!
|
I don't think so, Reaper's OSC support is more for getting data into Reaper.
I'm currently working on rolling my own, follow the thread in my sig for updates.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
08-28-2018, 12:42 PM
|
#3
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by mikechr
Hi. Is it possible to generate and send an OSC message from a developer written action? If so, what language options are there? Thanks!
|
The Reaper API only has OscLocalMessageToHost which sends an OSC message directly to Reaper itself. Which to me seems kind of redundant because you could probably do everything that OSC messages can do directly with API calls anyway...
You could write a C or C++ extension plugin that uses some OSC library like oscpkt for C++.
I think it is possible to do some networking stuff with EEL and Python ReaScript. (But not too easily with Lua, though.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
08-28-2018, 12:53 PM
|
#4
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,252
|
Quote:
Originally Posted by Xenakios
The Reaper API only has OscLocalMessageToHost which sends an OSC message directly to Reaper itself. Which to me seems kind of redundant because you could probably do everything that OSC messages can do directly with API calls anyway...
You could write a C or C++ extension plugin that uses some OSC library like oscpkt for C++.
I think it is possible to do some networking stuff with EEL and Python ReaScript. (But not too easily with Lua, though.)
|
Yup, should have mentioned, I'm using OscPkt, it's small, header only , and has been compiled into the last few builds, with a bit of ifdef magic for header file order in Windows/Mac, so far so good...
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
08-28-2018, 05:12 PM
|
#5
|
Human being with feelings
Join Date: Aug 2015
Posts: 3,672
|
as a really lofi hack to get osc out of reaper via script or action, i use dummy tracks. these tracks don't do anything, don't have any audio, etc - their sole purpose is to send osc based on arbitrary track states. they sit in a dedicated order at the top of all of my other tracks.
i use actions to toggle mute, arm, etc on these tracks. this results in osc being sent out of reaper that i use to [do stuff] in other programs.
for example, i use this trick to essentially query REAPER to see if midi input quantize is on, and if it is, it lights up an LED. etc.
|
|
|
08-28-2018, 09:17 PM
|
#6
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,784
|
I use OSCIIBot to convert Midi messages generated by Reaper to OSC messages.
I set up a bidirectional system:
Surface-device <-(Midi-via-USB)-> Reaper-JSFXes <-(Midi-via-Loop-Device)-> OSCIIBot <-(OSC-via-WLAN)-> Rack-Mixer
-Michael
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 06:04 PM.
|