Old 04-03-2015, 03:16 PM   #1
paaltio
Human being with feelings
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 314
Default Script (Lua): Retrospective record

I started thinking that this feature might be possible to do with the new scripting possibilities in REAPER 5. I did get a basic version working. Haven't tested it in real use so probably some bad bugs remaining, but would be interesting to see if anyone here can come up with improvements or alternative ways to implement.

The script uses defer to wait until the user goes into playback, and if there are record-enabled tracks, it'll instead go to record. But once you stop, any changes will get undone. Whether it calls undo is based on the track hash. The way to keep changes is to either hit redo, or stop using pause, which will bypass undo.

So basically mapping your retrospective record shortcut to pause will emulate the workflow.

https://stash.reaper.fm/v/23772/reape...record_v01.zip
paaltio is online now   Reply With Quote
Old 04-03-2015, 03:59 PM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

That's orignal ! Thank you for sharing !

Can you please make an animated screen capture or it ? It really helps to understand what a script is about, especially for non native english speaking users.
X-Raym is offline   Reply With Quote
Old 04-04-2015, 12:40 AM   #3
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,133
Default

Whaaaat!!! Will test soon. Thanks.
timothys_monster is online now   Reply With Quote
Old 04-04-2015, 12:40 AM   #4
beingmf
Human being with feelings
 
beingmf's Avatar
 
Join Date: Jul 2007
Location: Jazz City
Posts: 5,074
Default

AWESOME! Will try this afternoon! If it works, I'll fly over to Finland with a bottle of my favourite local beer (or 2)!!!!

Fingers crossed
__________________
Windows 10x64 | AMD Ryzen 3700X | ATI FirePro 2100 | Marian Seraph AD2, 4.3.8 | Yamaha Steinberg MR816x
"If I can hear well, then everything I do is right" (Allen Sides)
beingmf is offline   Reply With Quote
Old 04-04-2015, 02:16 AM   #5
paaltio
Human being with feelings
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 314
Default

Quote:
Originally Posted by X-Raym View Post
That's orignal ! Thank you for sharing !

Can you please make an animated screen capture or it ? It really helps to understand what a script is about, especially for non native english speaking users.
Sure! Here's a GIF from LICEcap:

https://dl.dropboxusercontent.com/u/...ive_record.gif
paaltio is online now   Reply With Quote
Old 04-04-2015, 02:32 AM   #6
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,691
Default

I'm doing something wrong here... when script is activated it starts recording as soon as I press play,as I see on your gif it waits for input (when you start playing on virtual keyboard) ?
Sexan is offline   Reply With Quote
Old 04-04-2015, 03:02 AM   #7
paaltio
Human being with feelings
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 314
Default

Quote:
Originally Posted by Sexan View Post
I'm doing something wrong here... when script is activated it starts recording as soon as I press play,as I see on your gif it waits for input (when you start playing on virtual keyboard) ?
That's actually because I'm in MIDI overdub mode. But basically it's doing the same thing: it is always recording, but unless you specifically tell it to keep it by pressing pause, it will undo the recording.
paaltio is online now   Reply With Quote
Old 04-04-2015, 06:59 AM   #8
cjaxis
Human being with feelings
 
cjaxis's Avatar
 
Join Date: Jun 2009
Posts: 129
Default

is there any chance to capture notes in Stop mode?
cjaxis is offline   Reply With Quote
Old 04-05-2015, 01:07 AM   #9
paaltio
Human being with feelings
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 314
Default

Quote:
Originally Posted by cjaxis View Post
is there any chance to capture notes in Stop mode?
I don't think this is possible. That presents some additional questions in terms of what to consider the start of a recording. But maybe it'd be an interesting workflow.

I'd like to be able to capture notes directly for the my version already, so I could write this feature exactly like it exists in Cubase and Logic. But the only thing at the moment is to manipulate the transport. Definitely would be best if REAPER just implements retrospective record natively though.
paaltio is online now   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 12:06 PM.


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