Go Back   Cockos Incorporated Forums > REAPER Forums > MIDI Hardware, Control Surfaces, and OSC

Reply
 
Thread Tools Display Modes
Old 12-21-2016, 03:19 AM   #1
Ishaan
Human being with feelings
 
Join Date: Jan 2013
Posts: 97
Default "/track/x", etc. reflects master track instead of currently selected track?

Hello,

In the default Reaper OSC config file, the address "track/x" is said to reflect the state of the currently selected track (as opposed to "track/@/x", which would reflect a specific track). I quote:

# Example: TRACK_NAME s/track/name s/track/@/name
# The device sends /track/3/name "vox" to rename track 3 in REAPER, or /track/name
# "vox" to rename the track that is currently selected in the device. REAPER sends
# /track/3/name "vox" to report that name of track 3 is "vox". If track 3 is
# currently selected in the device, REAPER will also send /track/name "vox".

However, I'm finding that this address is only reflecting the state of the master track. Same thing for FX (i.e., "fx/x" vs "fx/@/x"). I'm not sure why...

For example, I'd like to have a monitor that reflects the name of the currently selected track. However, a monitor with the address "track/name" only yields "MASTER", no matter which track is selected.

I'm sure it's a simple solution, but I can't seem to crack it.

Thanks!

Last edited by Ishaan; 12-21-2016 at 03:35 AM.
Ishaan is offline   Reply With Quote
Old 12-21-2016, 06:52 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 9,839
Default

The key is:

Quote:
Originally Posted by Ishaan View Post
the track that is currently selected in the device
.. which is not necessarily the track that is selected in REAPER. In Default.ReaperOSC:

Code:
DEVICE_TRACK_FOLLOWS DEVICE
Meaning the track that is selected in the device only changes when the device changes it, by sending a TRACK_SELECT message.
schwa is offline   Reply With Quote
Old 12-21-2016, 02:13 PM   #3
Ishaan
Human being with feelings
 
Join Date: Jan 2013
Posts: 97
Default

Thank you for your response!

The thing is, I have that line set to "DEVICE_TRACK_FOLLOWS LAST_TOUCHED", and correspondingly, "REAPER_TRACK_FOLLOWS DEVICE", as explained in the OSC config file, as I would naturally like my control surface (Lemur) to be in sync with my Reaper window (this would be the proper configuration for bi-directional feedback, right?). So if I were to select a track in Reaper, the track name, FX chain, etc. would all pop up on Lemur, and as I switched/selected between single tracks (either in Lemur or Reaper), the corresponding track information would be updated in Reaper. This is the goal.

But I cannot get this to work..."track/name" will only reflect the master track.

Last edited by Ishaan; 12-21-2016 at 02:56 PM.
Ishaan is offline   Reply With Quote
Old 01-03-2017, 11:51 AM   #4
Ishaan
Human being with feelings
 
Join Date: Jan 2013
Posts: 97
Default

Happy New Year to all!

...aaand, bump.

If anybody can help me understand why this is not working, I would deeply appreciate it
Ishaan is offline   Reply With Quote
Old 02-06-2017, 03:27 PM   #5
Ishaan
Human being with feelings
 
Join Date: Jan 2013
Posts: 97
Default

Bump, round 2. Still haven't cracked this...not sure what I'm missing here...
Ishaan is offline   Reply With Quote
Old 02-24-2017, 03:33 AM   #6
zvukofor
Human being with feelings
 
zvukofor's Avatar
 
Join Date: Jan 2013
Location: St.Petersburg, Russia
Posts: 83
Default

That's strange, as i've experiencing different problem: following pattern "...track@/..." ibcannot select master channel sending "track0", as it used to be earlier, a couple of years ago...it just shows currently selected track parameters instead! So, kind of backwards problem ))
zvukofor is offline   Reply With Quote
Old 03-02-2017, 06:04 PM   #7
kgarello
Human being with feelings
 
Join Date: Jan 2009
Posts: 309
Default

Quote:
Originally Posted by Ishaan View Post
Bump, round 2. Still haven't cracked this...not sure what I'm missing here...
I've been trying to get the /track/@/name command working and haven't had any success. figured I'd try getting a specific tracked named before trying a selected track...

this is the "listened" command that did not rename the track..
(from the OSC surface "listen" window)

/track/5/name [s] "stupid"
kgarello 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 11:31 AM.


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