|
|
|
03-27-2024, 03:22 PM
|
#1
|
Human being with feelings
Join Date: Nov 2009
Location: Montreal, Canada
Posts: 9,052
|
Trigger scripts from using tcp buttons?
Is there any way i could set reaper up so that if i click say, Record arm on a track in tcp, it triggers a script?
__________________
Slava Ukraini
|
|
|
Yesterday, 02:05 AM
|
#2
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
You can do that with background script, or add custom button via walter that will do that (run script that will record arm and do what you want next).
https://forums.cockos.com/showpost.p...&postcount=114
|
|
|
Yesterday, 02:31 AM
|
#3
|
Human being with feelings
Join Date: Feb 2023
Location: Kazakhstan
Posts: 194
|
but if you want dialog control, you may need something like a language model (I don't know much about it, to be honest) or plug-in libraries.
I've seen how to connect voice control using py and different shells, maybe there is a textual solution
|
|
|
Yesterday, 03:38 PM
|
#4
|
Human being with feelings
Join Date: Nov 2009
Location: Montreal, Canada
Posts: 9,052
|
Quote:
Originally Posted by Sexan
|
How would a background script work?
What might be cool, is if i could add a second invisible button on top of the mute button that always engages everytime i click the regular button, but i think it would break on right clicks.
__________________
Slava Ukraini
|
|
|
Yesterday, 03:51 PM
|
#5
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
|
1. Get track under mouse
2. If rec armed (GetTrackValueInfo) run scriot that you want
3. Update project state (old state ~= current state check) so it only does it once
This is simplified but you will need to track recarmed tracks also so it triggers only on rec arm change
|
|
|
Yesterday, 07:35 PM
|
#6
|
Human being with feelings
Join Date: Nov 2009
Location: Montreal, Canada
Posts: 9,052
|
Quote:
Originally Posted by Sexan
1. Get track under mouse
2. If rec armed (GetTrackValueInfo) run scriot that you want
3. Update project state (old state ~= current state check) so it only does it once
This is simplified but you will need to track recarmed tracks also so it triggers only on rec arm change
|
This sounds like it might be something that would need to continuously run? would it use more resources?
__________________
Slava Ukraini
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:04 AM.
|