Old 11-11-2018, 03:33 PM   #1
tack
Human being with feelings
 
tack's Avatar
 
Join Date: Jan 2014
Location: Ontario, Canada
Posts: 454
Default How can a JSFX detect if on a record-armed track?

Is it possible for a JSFX to determine whether or not the track it's installed on is armed for recording?
tack is offline   Reply With Quote
Old 11-11-2018, 06:07 PM   #2
ThrashJazzAssassin
Human being with feelings
 
ThrashJazzAssassin's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 311
Default

I don't believe a jsfx can determine that directly. But one could write a script that searches for a particular plugin, determine if the track it's on is rec armed, then move a slider on that plugin.
__________________
REAPER-OSC-panels
erthoide
ThrashJazzAssassin is offline   Reply With Quote
Old 11-13-2018, 03:10 AM   #3
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,343
Default

Mr. Assassin is correct. JSFX can know if REAPER's transport is recording but not whether the track the effect is on is armed.


However in an upcoming release, interaction between an .eel reascript and a .jsfx will be possible via global memory, so perhaps something could be worked out. If not then as Mr. Assassin says, you'd have to manipulate the effect sliders with a script (which isn't difficult).
IXix is offline   Reply With Quote
Old 11-13-2018, 05:27 PM   #4
tack
Human being with feelings
 
tack's Avatar
 
Join Date: Jan 2014
Location: Ontario, Canada
Posts: 454
Default

An outside ReaScript communicating armed status to the JSFX was my first thought too but I was hoping there was a cleaner (and less expensive) method.

Thanks to you both for replying!
tack 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:05 PM.


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