Go Back   Cockos Incorporated Forums > REAPER Forums > newbieland

Reply
 
Thread Tools Display Modes
Old 05-01-2018, 05:22 PM   #1
Dave 2099
Human being with feelings
 
Join Date: Dec 2017
Location: Maryland, USA
Posts: 185
Default Script for new macro - start record or stop and loop

Hello all,

I have programmed macros to give me basic looper-type actions. The thing I'm trying to solve is using one action to start recording, and to stop recording and create a loop if already recording. Currently I have a custom action to stop recording and create a loop, thus:

Custom: Create region/loop from recording
Transport: Record
SWS: Create regions from selected items (name by active take)
Xenakios/SWS: Loop and play selected items

But I have to have a separate command/controller button to start recording, and then my custom action stops recording and creates the loop. Ideally I would like to have one button that does both.

I'm thinking I could write a script with an if/then statement to do this but I don't know where/how to start scripting.

Does anyone have any suggestions either for how to write a script, or for doing this using the onboard actions? Thanks in advance!
Dave 2099 is offline   Reply With Quote
Old 05-02-2018, 10:23 AM   #2
Dave 2099
Human being with feelings
 
Join Date: Dec 2017
Location: Maryland, USA
Posts: 185
Default

Teach a man to fish and he'll write custom actions for life!

I stumbled on the cycle action editor, and I feel my life is changed forever.

Trying to copy/paste the steps in this command but can't figure out how to do it. Basically I used IF and IF NOT statements with Transport:Record along with the custom action I had already created for ending recording and creating the loop/region.

If anybody is interested I could export and upload the cycle action file.
Dave 2099 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 02:28 PM.


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