![]() |
#1 |
Human being with feelings
Join Date: Sep 2018
Location: China
Posts: 350
|
![]() ![]() Code:
// Record Assistant //@param 1:w "WIDTH" 20 20 80 50 5 //@param 2:wait "PRE-ROLL" 10 3 20 11.5 1 //@param 4:state "STATE" 1 0 1 .5 1 //@gmem=target_point input=0; gfx_blit(input); start=project_w/2-w/2; time_now=project_time; tar=gmem[1]; tar>0 && state==1 ? ( gfx_set(0, 1, 0, 1); gfx_fillrect(start, 0, w, project_h); tar-time_now<=wait && tar-time_now>=0 ? ( gfx_set(1, 1, 1, 1); gfx_fillrect(start-start*(tar-time_now)/wait, 0, w, project_h); ); ); 1 Insert video processor to the track which contains video items 2 Copy and paste the code I wrote in the video processor and press ctrl/command + s 3 Locate edit cursor to the target position, and run "DSY_save cursor.lua". Then you will see a green line in the video window. 4 Play your project. When play cursor is very close(less than 10 seconds by default) to the target position you set before, a white line will show and move to the green line, according to the distance between play cursor and target position. PS: You can set the width of the lines with the WIDTH knob, and how close between play cursor and target position to trigger the white line with the PRE-ROLL knob. And STATE knob can temporarily disable this plugin. Last edited by dsyrock; 10-20-2020 at 11:33 AM. |
![]() |
![]() |
![]() |
#2 |
Human being with feelings
Join Date: May 2006
Location: Saskatoon, Canada
Posts: 1,886
|
![]()
This is great. I've always thought this could and should be done but never could quite make my brain rise to the challenge. This will also be useful for ADR work.
Thanks very much. It would be cool if the bar countdown could be triggered by a session or item marker.
__________________
mymusic - http://music.darylpierce.com mywork - http://production.darylpierce.com |
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: Sep 2018
Location: China
Posts: 350
|
![]() |
![]() |
![]() |
![]() |
#4 |
Human being with feelings
Join Date: Apr 2020
Location: Leipzig
Posts: 1,856
|
![]()
Nice. Could you add an optional counter for the last three seconds? like
"3" "2" "1" "Go!"
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry. Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish |
![]() |
![]() |
![]() |
#5 | |
Human being with feelings
Join Date: Apr 2020
Location: Leipzig
Posts: 1,856
|
![]() Quote:
"!_RS25ce8efc2ffd8208fee2bb29024f929e8caf3fa8" is it in my case. Needs SWS installed to work. Edit: requested action-marker-support for take-markers as well https://github.com/reaper-oss/sws/issues/1433
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry. Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish Last edited by Meo-Ada Mespotine; 10-22-2020 at 05:26 PM. |
|
![]() |
![]() |
![]() |
#6 | |
Human being with feelings
Join Date: Sep 2018
Location: China
Posts: 350
|
![]() Quote:
EDIT:Oh I see, when play cursor go through the action marker, the action will be actived. Awesome! Didn't know that before, thanks! Last edited by dsyrock; 10-22-2020 at 09:43 PM. |
|
![]() |
![]() |
![]() |
#7 |
Human being with feelings
Join Date: May 2006
Location: Saskatoon, Canada
Posts: 1,886
|
![]()
With the current command of GetCursorPosition the memory location is that of the edit cursor or where the playback started from. I changed it to GetPlayPosition and now it will grab the location of the action marker. I think this workflow might work better.
__________________
mymusic - http://music.darylpierce.com mywork - http://production.darylpierce.com |
![]() |
![]() |
![]() |
#8 | |
Human being with feelings
Join Date: Oct 2019
Location: Moscow, Russia
Posts: 60
|
![]() Quote:
And what if link pre-roll in plugin with reapers pre-roll? So would no need to place marker. Just place cursor and start record. Unfortunately, I can't code. |
|
![]() |
![]() |
![]() |
#9 |
Human being with feelings
Join Date: May 2006
Location: Saskatoon, Canada
Posts: 1,886
|
![]()
It would be great to tie it to pre-roll. I cannot find an api call to do that but perhaps someone with more knowledge can offer a way.
__________________
mymusic - http://music.darylpierce.com mywork - http://production.darylpierce.com |
![]() |
![]() |
![]() |
#10 |
Human being with feelings
Join Date: Oct 2019
Location: Moscow, Russia
Posts: 60
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|