Old 03-30-2020, 03:18 AM   #1
tdc
Human being with feelings
 
Join Date: Oct 2019
Location: Sydney
Posts: 336
Default CSI Subthread - OSC (Open Sound Control)

A new thread for those wishing to learn how to set up OSC Based devices as a control surface / display unit with CSI. I have yet to achieve this myself and thought it would be good to start a new dedicated thread for those who wish to do the same.

I have had success in building a OSC controller in Lemur (iOS based app) using the native Reaper OSC Control Surface Module, but I am keen to try out including the iPad with my console surface within CSI.

I have a simple .OST file.
Code:
Widget Fader1
	Control  /track/1/volume
	FB_Processor /track/1/volume
WidgetEnd
And a .ZON file.
Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
	IncludedZones
		"Channel|1-8"
	IncludedZonesEnd
ZoneEnd

Zone "Channel|"
	TrackNavigator
	Fader1|  TrackVolume
ZoneEnd
But try as I might - I can't get any data into Reaper.

What is the fundamental flaw in my assumptions and approach?

Last edited by tdc; 03-30-2020 at 08:20 PM.
tdc is online now   Reply With Quote
Old 03-30-2020, 03:48 PM   #2
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 4,921
Default

Quote:
Originally Posted by tdc View Post
A new thread for those wishing to learn how to set up OSC Based devices as a control surface / display unit with CSI. I have yet to achieve this myself and thought it would be good to start a new dedicated thread for those who wish to do the same.
Although it is tempting to start a new thread to get away from the main CSI thread overload(and I totally get that), this post actually demonstrates how tricky this is.

There is an error in the Zone file definition, not the .ost definition.

Had this been posted in the main thread anyone and everyone could have benefitted.

Not being tough on you, just pointing out that it's not as easy as it looks.

Quote:
Originally Posted by tdc View Post
I have had success in building a OSC controller in Lemur (iOS based app) using the native Reaper OSC Control Surface Module, but I am keen to try out including the iPad with my console surface within CSI.

I have a simple .OST file.
Code:
Widget Fader1
	Control  /track/1/volume
	FB_Processor /track/1/volume
WidgetEnd
And a .ZON file.
Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
	IncludedZones
		"Channel|1-8"
	IncludedZonesEnd
ZoneEnd

Zone "Channel|"
	TrackNavigator
	Fader1|  TrackVolume
ZoneEnd
But try as I might - I can't get any data into Reaper.

What is the fundamental flaw in my assumptions and approach?
There is an error in your zone file definition, try this:
Code:
Zone "Channel|"
	TrackNavigator
	Fader|  TrackVolume
ZoneEnd
Have a look at the wiki Zones page, way down at the bottom of the right list.

You also need 8 Widget definitions in your .ost file, you may already have those:

Code:
Widget Fader1
	Control  /track/1/volume
	FB_Processor /track/1/volume
WidgetEnd

Widget Fader2
	Control  /track/2/volume
	FB_Processor /track/2/volume
WidgetEnd

...


Widget Fader8
	Control  /track/8/volume
	FB_Processor /track/8/volume
WidgetEnd
__________________
CSI - You can donate here: geoffwaddington.ca
Beta software: https://stash.reaper.fm/v/38349/CSI%20beta.zip
installation and documentation here: https://github.com/malcolmgroves/reaper_csi/wiki
Geoff Waddington is offline   Reply With Quote
Old 03-30-2020, 08:20 PM   #3
tdc
Human being with feelings
 
Join Date: Oct 2019
Location: Sydney
Posts: 336
Default

Hi Geoff, thanks as always - this amended code formatting has indeed go me going on OSC - very exciting!!

We will have to agree to disagree on the thread matter I am afraid. Perhaps you are too close to see just how much of a leap it is for a neophyte to implement the CSI project. I started the OSC Subthread because I was simply unable to find anything referring to it on the forum or Google. The Forum has been set up to discount short search strings (for efficiency with MySQL I suspect), which unfortunately inhibits out ability to search
for "OSC" :-)

Malcolm's Wiki is a fantastic assistance too. Any chance the rest of the presently undefined Actions and Feedback Generators could be updated? Also a Page dedicated to OSC Message Generators would be helpful. (I am happy to assist with this once I am through the process)

With respect and thanks. tdc
tdc is online now   Reply With Quote
Old 03-31-2020, 03:00 AM   #4
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 4,921
Default

Quote:
Originally Posted by tdc View Post
Hi Geoff, thanks as always - this amended code formatting has indeed go me going on OSC - very exciting!!
Great !!

Quote:
Originally Posted by tdc View Post
We will have to agree to disagree on the thread matter I am afraid. Perhaps you are too close to see just how much of a leap it is for a neophyte to implement the CSI project. I started the OSC Subthread because I was simply unable to find anything referring to it on the forum or Google. The Forum has been set up to discount short search strings (for efficiency with MySQL I suspect), which unfortunately inhibits out ability to search
for "OSC" :-)
Definitely agree, fair points all, had forgotten about that nasty "OSC as a search term" thing.


Quote:
Originally Posted by tdc View Post
Malcolm's Wiki is a fantastic assistance too. Any chance the rest of the presently undefined Actions and Feedback Generators could be updated? Also a Page dedicated to OSC Message Generators would be helpful. (I am happy to assist with this once I am through the process)
I agree we should beef up the OSC content on the wiki, thanks for pointing it out.

Thanks as well for the offer to help, it is always welcomed around here, that's what makes a community
__________________
CSI - You can donate here: geoffwaddington.ca
Beta software: https://stash.reaper.fm/v/38349/CSI%20beta.zip
installation and documentation here: https://github.com/malcolmgroves/reaper_csi/wiki
Geoff Waddington is offline   Reply With Quote
Old 04-01-2020, 12:35 PM   #5
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,636
Default

Quote:
Originally Posted by tdc View Post
The Forum has been set up to discount short search strings (for efficiency with MySQL I suspect), which unfortunately inhibits out ability to search
for "OSC" :-)
As alternative, Google custom search:
https://cse.google.com/cse?cx=002458...08:nbhva-j9iic
nofish is offline   Reply With Quote
Old 04-01-2020, 06:49 PM   #6
tdc
Human being with feelings
 
Join Date: Oct 2019
Location: Sydney
Posts: 336
Default

Thanks to you both - I shall do.
tdc 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 04:52 PM.


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