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

Reply
 
Thread Tools Display Modes
Old 02-05-2020, 08:37 PM   #1
featherfurl
Human being with feelings
 
Join Date: May 2016
Posts: 6
Default Binding OSC messages with numeric variables to Reaper actions using the action list?

Hey all,

I've written a python script to map input from a secondary mouse and keyboard to OSC which I'm then binding to reaper actions.

Using the "Allow Binding of messages to Reaper actions and FX learn" feature I'm able to bind momentary messages (like a keypress) to reaper actions easily, but whenever I try to bind something with an associated integer value (like a rotary slider) to something like scroll or zoom it seems only to register a null value that resets the slider.

I can bind these functions fine using a .ReaperOSC file, but it's a lot more convenient to use the action list if possible.

Is there any special step I'm missing in order to make this work?

My message format looks like this: "/kmouse/8 [i] -1" and does the job fine when r/kmouse/8 is bound to a scroll function in my .ReaperOSC file.
featherfurl 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 01:10 AM.


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