Old 02-26-2020, 09:50 PM   #1
LarrySeyer
Human being with feelings
 
LarrySeyer's Avatar
 
Join Date: Sep 2006
Location: Austin, Tx
Posts: 80
Default Insert time function

In many other daws (and video editors) there is a keystroke/function that does exactly this:

1. place your cursor where you want to insert time.
2. hit a key
3. a window pops up and asks how much time to insert.
4. everything is split at that cursor position
5. all objects to the right are moved over by the amount of time you specified.

This is absolutely necessary when working on audio for film... and also used extensively when editing book audio dialog.
LarrySeyer is offline   Reply With Quote
Old 03-01-2020, 12:27 AM   #2
LarrySeyer
Human being with feelings
 
LarrySeyer's Avatar
 
Join Date: Sep 2006
Location: Austin, Tx
Posts: 80
Default

Quote:
Originally Posted by LarrySeyer View Post
In many other daws (and video editors) there is a keystroke/function that does exactly this:

1. place your cursor where you want to insert time.
2. hit a key
3. a window pops up and asks how much time to insert.
4. everything is split at that cursor position
5. all objects to the right are moved over by the amount of time you specified.

This is absolutely necessary when working on audio for film... and also used extensively when editing book audio dialog.
Thanks for MusoBob... a script does this very nicely. Tried to delete this threat, but couldn't find the delete button... so I'll post the script here (his code, not mine)

Code:
retval_inputs, time_set = reaper.GetUserInputs( "Set Time to Insert", 1, "Insert Time amount", "0" )
if retval_inputs then   
  cur_pos = reaper.GetCursorPosition() 

  start_time, end_time = reaper.GetSet_LoopTimeRange2(0, true, false, cur_pos, cur_pos + time_set, true)  

  reaper.Main_OnCommand(40200, 0)  -- Time selection: Insert empty space at time selection (moving later items)

  reaper.Main_OnCommand(40635, 0)  -- Time selection: Remove time selection
end
LarrySeyer 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:07 AM.


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