View Single Post
Old 09-08-2020, 08:04 AM   #727
Mr.X
Human being with feelings
 
Join Date: Jun 2011
Posts: 38
Default

Quote:
Originally Posted by schwa View Post
BTW there is an existing protocol for this (though REAPER doesn't support it yet).

http://opensoundcontrol.org/files/osc-query-system.pdf ("current value" being the most interesting part).
Is there a yet a way to poll via OSC for a current value? My thought would be that it would be a simple as not supplying a value for the function.

If a normal command is
Code:
/play,f 1
the request/poll command is (without any value)
Code:
/play
and reaper would reply
Code:
/play,f 1
Being able to poll a track for it's name or a marker for it's name would be amazeballs.

ATM the biggest issue for me is retrieving the current track and marker counts from a project. I can set how many markers and tracks I'd like to receive information from, but no way to determine how many tracks and markers there are in a project.
Maybe if the were changes to the commands like:
Code:
DEVICE_TRACK_COUNT *
and
Code:
DEVICE_MARKER_COUNT *
Where the * means "how ever many the project has". Also, can these values be changed dynamically?
Mr.X is offline   Reply With Quote