ReaperControl OSC-Template

Great job Wombat!

1 Like

Great job! One local change I made was to disable smart traversing on trk_func_1 widget to allow for swipe gestures on track record arms, mutes, and solos. Been using for a week without noticing an issue, but will update if that in fact was overriding something intentional!

One thing, possibly for the dev, would be if this template could be modified to dispay the reaper MCP or mixer view. For larger sessions where tracks are hidden or disabled from the mixer, this would make mixer views compatible.

I'll dive more into the documentation, there seems to be some OSC addresses in reaper like:
DEVICE_TRACK_BANK_FOLLOWS_MIXER t/device/track/bank/follows/mixer

So could be possible, but would need some more background.

1 Like

Hi Dom, great to hear that it is useful and thanks for the hint with smart traversing - much better. For the MCP-thing.. could the setting in the toolbar "c" / cogwheel / "device track bank follows" = set to "mixer" be, what your looking for ?
There's also the "send_setup" button (the one showing up on startup) where you can change the default settings sent to Reaper.

Regards, mj

Gave it a shot! For me I didn't see a difference with mine or the base template changing the device track bank follows" = set to "mixer". My hope would be that disabling a track in the MCP would remove it from my mixer view. So my reaper mixer could have say 6 tracks in focus, then OSC would also have those 6 tracks without having to scroll through banks? Thanks for the response though!

Hi Dom, I tried it with my setup and it seems to work when looking at the mixer view.

What I don't get is how your setup in Reaper works. The trackheader looks like the TCP (at least in my setup :wink: ) and not the MCP although it hides the track when you click the MCP in the track manager ? Could you verify, that this is the mixerview your looking in Reaper ? Regards, mj

So I link in the TCP and MCP in the track manager, its a right click option. So I tested above... it works if you have the mixer open! I guess I can leave the mixer open in a tab for the time being. Thanks for testing, I should have been more thorough. I guess the OSC 'mixer' is paused until open then?

Ok, I see... maybe a feature request for cockos ?

Yea, its odd, does seem to be on their end, I'll file a request, thanks for your support!

I'm continuing on, trying another usability thing on the fader banks, I might find it but figured I would ask as well. Is there anyway to clearly 'if' check something? I'd love to hide faders and buttons for tracks that don't 'exist' in the DAW, so if I have 5 tracks in a session, tracks 6 - 12 are hidden. Vs messing up the formatting, it would likely be easier to just cover them in a solid widget when 'unused', unsure how that's passed along though.

Hi Dom,

Until now I couldn't find a way to do that.

  1. showing and hiding elements can be done with scripting. For example there's a scriptline in the fx-button of the first track: set('display_fx_panel', 1). This set's the hidden variable 'display_fx_panel' to 0 or 1. And this value changes the "visible"-property in the fx-panel widget: visible = @{display_fx_panel}. Sure there are more elegant ways to do that ;-).

But you would have to do that for all the volume, pan, sends and the trackbuttons (rec, solo etc.)...
I don't know how to build that dynamically.

  1. as far as I know, there's no other Reaper OSC message that declares if a track is visible or not other than the "device track bank follows" function described before ?

But maybe you could program something with the "device_track_count" in the ReaperOSC-file (can be changed dynamically) combined with hiding elements in the OSC template ?

Regards, mj

Ah yea, thats a good shout, I'll go down that path and see where I can get, and report back here if I find any success. Im midway through another post about relaying the track color info, and these two things, a track color and fader hider layer would make the mixer quite nice! Either way again, thanks for the support, and great work on this template.

1 Like


You should put this on the examples page.

There's no example page besides the custom module example, this section of the forum is the example page, sort of.

aah, sorry. Yes, I was thinking about this:

@Wombat Hi, is there a way to select Track 13 in Reaper and have o-s-c automatically switch to the second bank and display the selected track 13? I have this


but changing these also doesn't make a difference. The settings are the same in the ReaperOSC file.

DEVICE_TRACK_COUNT is also set to 8

Is this behaviour possible? I assumed Device Track Bank following Mixer would be what I was after, but it just never switches on the device.


EDIT: Just in case. I don't want to select the track using my device. Only clicking on it in Reaper. But have it displayed on my device. Without manually banking to find the selected track.

Hi GeneralMidi,

  1. as "Dom" noticed, this only works if the mixer window in Reaper is open... Maybe Cockos could implement that in the future so that it also works with closed mixer window.

  2. the button "Send device setup to Reaper" overrides the settings in the ReaperOSC file temporarily if Reaper is already running. For example ReaperControl sends track count "12" overriding track count "8" in the ReaperOSC file. You can change this settings in the "send_setup" button in ReaperControl. The idea was to get rid of a discrete ReaperOSC file with appropriate track count etc.

But I think I have to improve that so it's more clear which settings are active etc. :wink:.

Hope that helps.

Regards, mj

Hi there, small update to ReaperControl (version 2021-05):

  1. c/p of fx didn't work reliable > changed to c/p fx chain
  2. smart traversing deactivated for track functions (thank you Dom)
  3. changed the device setup tab and behavior
  4. device setup can now be stored and recalled
  5. added action: „Focus tracks“

ReaperControl_20210524.json (990.0 KB)


You can edit your first post by clicking on the pen icon below it :
Capture d’écran_2021-05-24_19-02-22

Editing old posts was not allowed, it is now.

1 Like

Wow, this is really an amazing user interface! Thank you so much for sharing it.