|
|
|
11-14-2018, 08:12 AM
|
#1
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Set media item to source boundaries?
How to set media item to source boundaries via action?
Only close action I've found is 'Item: Set items length to source media lengths' but this only enlarges/shrinks the end of the item, but not the beginning.
|
|
|
11-15-2018, 02:33 AM
|
#2
|
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
|
Xenakios/SWS: Reset item length and media offset
|
|
|
11-15-2018, 02:49 AM
|
#3
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Nice, thanks.
|
|
|
11-15-2018, 03:26 AM
|
#4
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by xpander
Xenakios/SWS: Reset item length and media offset
|
I don't remember though if that correctly handles playrates and such or if someone has since fixed it to deal with those...
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
11-15-2018, 04:13 AM
|
#5
|
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
|
Upon further check, there is something funny about this action. It does seem to visibly get the item back to the original length, but when played back, it will only play back the length the item was before the action was used. Play cursor simply stops even while there is still some item left to play.
An example: Item source originally 2 seconds. It has been resized to one second. Using this action, the item length goes back to 2 seconds, but it will only play back to 1 second.
This problem comes up only if the given item is the last one on the current project timeline. If there are any other items later on the timeline on other tracks, everything plays through fine.
Also, if this item is e.g. moved just a tiny bit, playback will be normal. Almost like the move will update the project end marker, which the action itself didn't do?
Last edited by xpander; 11-15-2018 at 04:30 AM.
|
|
|
11-15-2018, 06:14 PM
|
#6
|
Human being with feelings
Join Date: Jun 2012
Posts: 2,173
|
X-Raym has this one too:
Script: X-Raym_Expand selected items length to start and end of their source.eel
@xpander
Reminds me of some things we ran into here:
https://forum.cockos.com/showthread.php?t=208782
|
|
|
11-17-2018, 11:27 AM
|
#7
|
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
|
Thanks for the headsup FnA, that does seem like similar/related issue.
|
|
|
07-25-2021, 06:17 PM
|
#8
|
Human being with feelings
Join Date: Jan 2014
Posts: 5,207
|
Is the OP's original action still a thing? I couldn't find it in action list
|
|
|
07-26-2021, 02:51 AM
|
#9
|
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
|
Looks like it has changed to Item: Set item start/end to source media start/end?
|
|
|
05-20-2022, 08:48 AM
|
#10
|
Human being with feelings
Join Date: Sep 2020
Location: India
Posts: 283
|
how to do that in a programmatical way through Lua.
|
|
|
05-20-2022, 09:04 AM
|
#11
|
Administrator
Join Date: Mar 2007
Location: NY
Posts: 15,750
|
Quote:
Originally Posted by xpander
Looks like it has changed to Item: Set item start/end to source media start/end?
|
That is a native action that you can call from a reascript as well.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 11:07 PM.
|