Old 03-13-2020, 01:26 PM   #1
mks
Human being with feelings
 
Join Date: Dec 2011
Posts: 171
Default "Loop to here" action

Hi everyone. I'm trying to make an action that essentially loops an item to the playhead position.
Using a combination of:
- Loop points: set end point
- item: fit item to selection, looping if needed

Unfortunately I can't find a mechanism to set the start point to the start of the item. I tried leading with "loop points: set loop points to items", but that moves the playhead.

Any thoughts for a newb like me?
Thanks everyone.
mks is offline   Reply With Quote
Old 03-13-2020, 01:44 PM   #2
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

If you have SWS extension installed maybe try their save/restore actions before/after your other actions, simple example,..
Code:
SWS/BR: Save edit cursor position, slot 01
Loop points: Set loop points to items
SWS/BR: Restore edit cursor position, slot 01
Edgemeal is offline   Reply With Quote
Old 03-13-2020, 03:54 PM   #3
mks
Human being with feelings
 
Join Date: Dec 2011
Posts: 171
Default

Awesome! Didn't run across these yet. Thank you! Now just need to track down the weird behaviour where trimming the start of a midi file doesn't always retain that edit...but that's another post.
mks is offline   Reply With Quote
Old 03-13-2020, 04:30 PM   #4
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,031
Default

Quote:
Originally Posted by mks View Post
Hi everyone. I'm trying to make an action that essentially loops an item to the playhead position.
Using a combination of:
- Loop points: set end point
- item: fit item to selection, looping if needed

Unfortunately I can't find a mechanism to set the start point to the start of the item. I tried leading with "loop points: set loop points to items", but that moves the playhead.

Any thoughts for a newb like me?
Thanks everyone.
kawa made many similar scripts, there is one loop until next item, so you could add a new empty item at cursor, then loop selection until next item. Thanks again to kawa from here for implementing those.
TonE 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 08:42 AM.


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