Old 07-29-2020, 06:56 AM   #1
aerodrink
Human being with feelings
 
Join Date: Jul 2018
Posts: 2
Default Reset volume for current selected track

Hi everyone,
Just discovered TouchOSC a few days ago and messing around ...
I already got quite a lot of controls running fine (play/stop/locators/mute/solo/arm/volume slider) :



I'd like one of my buttons (the little one in top of the volume slider) to reset volume to 0 dB for current selected track (same as double click).

I've already tried many options (with no success) such as :

/action/4 (with 0.716 as value in From ... & To ...)
/track/volume/0
/track/volume/0.0
/track/volume 0
/track/volume 0.0
/track/volume/db/0
/track/volume/db/0.0
/track/volume/db 0
/track/volume/db 0.0
...

What am I doing wrong ?

Here is the content for my .ReaperOSC file :

Code:
REAPER_TRACK_FOLLOWS DEVICE
DEVICE_TRACK_FOLLOWS LAST_TOUCHED

TRACK_NAME s/track/name
TRACK_NUMBER s/track/number
TRACK_VOLUME n/track/volume f/track/volume/db s/track/volume/str
TRACK_PAN n/track/pan s/track/pan/str

TRACK_MUTE t/track/mute
TRACK_SOLO t/track/solo
TRACK_REC_ARM t/track/recarm

DEVICE_TRACK_SELECT t/track/@
DEVICE_PREV_TRACK t/track-
DEVICE_NEXT_TRACK t/track+

RECORD t/record
STOP t/stop
PLAY t/play
PAUSE t/pause

ACTION t/action/@
Thank you for your help !

Olivier

Last edited by aerodrink; 07-29-2020 at 08:23 AM.
aerodrink is offline   Reply With Quote
Old 07-29-2020, 08:54 AM   #2
aerodrink
Human being with feelings
 
Join Date: Jul 2018
Posts: 2
Default

Finally found the trick :

First, I had to replace
Code:
f/track/volume/db
with :
Code:
t/track/volume/@
Then in TouchOSC :

aerodrink 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:52 PM.


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