Old 03-30-2017, 07:40 AM   #1
Erriez
Human being with feelings
 
Join Date: Jun 2010
Location: The Netherlands
Posts: 132
Default Csurf OSC source

I'd like to extend the csurf OSC surface with new commands and functionality, but can't find the source in the reaper_extension_sdk.zip.

Can someone tell me where I can find the csurf OSC sources?

Thanks!
Erriez is offline   Reply With Quote
Old 03-30-2017, 08:23 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 6,494
Default

Quote:
Originally Posted by Erriez View Post
I'd like to extend the csurf OSC surface with new commands and functionality, but can't find the source in the reaper_extension_sdk.zip.

Can someone tell me where I can find the csurf OSC sources?

Thanks!
The OSC support in Reaper is not open source.
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 03-31-2017, 01:41 AM   #3
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 1,536
Default

Have you checked out reaper_plugin_functions.h, you might be able to roll your own.

Check this one and its cousins:

#if defined(REAPERAPI_WANT_CreateLocalOscHandler) || !defined(REAPERAPI_MINIMAL)
REAPERAPI_DEF //==============================================
// CreateLocalOscHandler
// callback is a function pointer: void (*callback)(void* obj, const char* msg, int msglen), which handles OSC messages sent from REAPER. The function return is a local osc handler. See SendLocalOscMessage, DestroyOscHandler.

void* (*CreateLocalOscHandler)(void* obj, void* callback);
#endif
__________________
Groove is the subtle control of chaos -- feel free to donate to the open source control surface integration project -- geoffwaddington.ca
Geoff Waddington is offline   Reply With Quote
Old 03-31-2017, 05:12 AM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 6,494
Default

Quote:
Originally Posted by Geoff Waddington View Post
Have you checked out reaper_plugin_functions.h, you might be able to roll your own.

Check this one and its cousins:

#if defined(REAPERAPI_WANT_CreateLocalOscHandler) || !defined(REAPERAPI_MINIMAL)
REAPERAPI_DEF //==============================================
// CreateLocalOscHandler
// callback is a function pointer: void (*callback)(void* obj, const char* msg, int msglen), which handles OSC messages sent from REAPER. The function return is a local osc handler. See SendLocalOscMessage, DestroyOscHandler.

void* (*CreateLocalOscHandler)(void* obj, void* callback);
#endif
I just tried using that and couldn't get it to work. There should be more documentation on how that should be used. (In any case, a completely custom OSC implementation could be done in an extension plugin, but it's of course a relatively large thing to implement.)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass and λ) :
http://xenakios.wordpress.com/
Xenakios 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 04:55 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.