Old 09-24-2017, 02:16 AM   #1
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
Default OSC and Midi in a Python Reaper scipt

Hi experts,

I want to control / view my XR18 in Reaper (actually on a Behring XTouch Compact that is attached to Reaper via Midi).

I do have a working stand alone Python program that attaches to the OSC interface of the XR18 and converts Midi<->OSC using a table that defines the appropriate event correlation.

But for live usage I would not like to run an additional executable, but rather would have the functionality within Reaper itself.

So I wonder if the said python script could be run as a Reaper script (and if it is viable to do so).

Obviously the Python script would need
- a Midi interface (send and receive)
- an OSC interface (send and receive via UDP)
- read the configuration file
- be able to use 3rd party Python functions

I suppose Midi could somehow be routed from a track to the script using MidiToReaControlPath, and from the script to a track using the "virtual Keyboard" interface.

But no idea about the rest....

Thanks for any answers,
-Michael

Last edited by mschnell; 09-25-2017 at 01:50 PM.
mschnell is online now   Reply With Quote
Old 09-25-2017, 12:20 AM   #2
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,184
Default

What a great real world use case !!

I'm sorry the project isn't further along, but this is a perfect candidate for something to build for use in the Control Surface Integrator.

I'd love to be able to say today, let's build it !

Stil, in the hopefully near future something like this will not only be possible, but relatively easy to accomplish.

Meanwhile, if I can think of a way to help right now, I'll let you know.
__________________
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
Geoff Waddington is offline   Reply With Quote
Old 09-25-2017, 11:23 AM   #3
Teddy
Human being with feelings
 
Join Date: Sep 2011
Posts: 198
Default

Hi Geoff,

Would you consider making web-sockets a part of your project? I would be more than happy to help with the coding and design on the front-end.

It would be so nice to be able to connect hardware and tablets to one big console.

Sorry for the thread hijacking...
Teddy 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 07:12 AM.


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