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

Reply
 
Thread Tools Display Modes
Old 11-21-2017, 12:29 PM   #1
BSBDS
Human being with feelings
 
Join Date: Nov 2017
Posts: 2
Default OSC PatternConfig - Mixing Wildcards and Hardcoded Values

I've been using the following in a PatternConfig file:

Code:
FX_PARAM_VALUE s/track/@/fx/@/fxparam/@/value/str
For the purpose of sending control data from Reaper to Max with a dummy plug-in. It works great! When I start hard coding values, the data stops. For example, let's say I wanted plug-in 1, no matter which track, to always send OSC data:

Code:
FX_PARAM_VALUE s/track/@/fx/1/fxparam/@/value/str
Is it not possible to mix wildcards in with hardcoded values? I have tried variations with normalized floating point arguments with no luck either. Any advice?

FWIW I am also attempting to address this downstream in Max, but the [route] and [OSC-route] objects are both holding the last value, causing some glitching, so I'd prefer to do this upstream in the PatternConfig.

Thanks!
BSBDS is offline   Reply With Quote
Old 11-28-2017, 01:46 PM   #2
BSBDS
Human being with feelings
 
Join Date: Nov 2017
Posts: 2
Default

I managed to fix this in Max, if anyone is interested I am happy to post code or screenshots.

I'm still interested to know if I am doing something wrong in the Pattern Config file or if anyone has suggestions from Reaper. Cheers.
BSBDS is offline   Reply With Quote
Old 12-15-2017, 11:55 AM   #3
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

Why hardcoding it in ReaperOSC? Wrong.
Leave all three wildcards in ReaperOSC. Do fixed values in your device's script, always sending second digit as "1".
fundorin 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 03:44 AM.


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