Old 11-08-2019, 01:54 PM   #1
ASauer
Human being with feelings
 
Join Date: Jun 2013
Posts: 7
Default Move consecutive items to new start of new track

When I spot FX from SoundMiner to Reaper, all FX are placed on one track,
one after the other.
What I would like is to move the items to new separate tracks
(so not overwriting already existing items on other tracks).
All items should be placed at the start of the track.

I could not find anything that does the trick, starting with moving items to other tracks...
I guess to do this needs scripting a new action, which is something I have not mastered yet

Best regards,

Arthur Sauer
ASauer is offline   Reply With Quote
Old 11-10-2019, 10:55 AM   #2
ASauer
Human being with feelings
 
Join Date: Jun 2013
Posts: 7
Default

I've got this far
Track: Insert new track at end of list
Script: mpl_Move selected items to selected track.lua
Script: FnA_Unselect First Selected Item.lua

So I repeat this script for each item/new track.

By accident I found the last script: I was looking for deselect (I've never before encountered the word 'unselect').
So it is good to know that this word is used for 'deselect'.

After this I select all items manually and move them to the start of the track with a shortcut.
The reason being that this is the last step and is only performed once.
It would be nice if I could use something like an if/else statement, but I guess I'll have to learn LUA and dive into the API for that...
ASauer is offline   Reply With Quote
Old 11-10-2019, 04:10 PM   #3
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 4,351
Default

Don’t know if this helps, and haven’t tried it, but I think there’s a way to implode items on one track to takes of one item. Then use the action to explode those takes to individual tracks. Maybe?
ashcat_lt is offline   Reply With Quote
Old 11-11-2019, 05:28 AM   #4
ASauer
Human being with feelings
 
Join Date: Jun 2013
Posts: 7
Default

Thanks ashcat_lt for the suggestion.

During testing
Sometimes I've got the error: Xenakios - Error No or only one item selected.

Sometimes I had to force quit Reaper, because the Action List (Show Action List... ?) becomes unresponsive. Each letter you type Filter causes the spinning beach ball of death to appear.
After this the project becomes really slow (selecting, deselecting items), also after a restart.

This was most probably caused by not completely undoing the actions of the script while testing...
But it could also have been caused by not having waits in the script.
So, if you want to test this script, it might be wise to copy the track to a new project, so your original project is not messed up!


The following script seems to work (the waits are important, but maybe not all of them, and the waits might have to be increased when you have a lof of items).


How to use the script:
First double click on the track so all items on the track are selected.

Action Script:
Xenakios/SWS: Implode selected items in-place
Action: Wait 0.5 seconds before next action
Item: Select all items in track
Action: Wait 0.5 seconds before next action
Xenakios/SWS: Explode selected items to new tracks (keeping positions)
Action: Wait 1 second before next action
Transport: Go to start of project
Action: Wait 0.5 seconds before next action
SWS: Move selected item(s) left edge to edit cursor
Action: Wait 0.5 seconds before next action
Xenakios/SWS: Dismantle selected folder
Action: Wait 0.5 seconds before next action
Track: Remove tracks
Track: Select all tracks
SWS: Enable master/parent send on selected track(s)
Track: Mute all tracks
Xenakios/SWS: Select first of selected tracks
Track: Unmute tracks

Last edited by ASauer; 11-11-2019 at 05:34 AM.
ASauer is offline   Reply With Quote
Old 11-11-2019, 09:13 AM   #5
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,535
Default

Yes learn lua. You won't regret it
I don't understand exactly what do you need. Some screenshot of initial state and desired result would help
heda is offline   Reply With Quote
Old 11-11-2019, 10:57 AM   #6
ASauer
Human being with feelings
 
Join Date: Jun 2013
Posts: 7
Default

@heda
I already gave the solution in the previous post.
Converting that to lua would probably be more elegant.

At the moment no time to learn lua. I've already looked into it. Not hard, since I know several programming languages.
Working with the API will be a bit more work.
But no time until after the premiere of the performance I'm working on at the moment.

https://www.theaterrotterdam.nl/agen...ns_wereldrijk/

So that means, next year...
ASauer is offline   Reply With Quote
Old 11-12-2019, 04:22 AM   #7
ASauer
Human being with feelings
 
Join Date: Jun 2013
Posts: 7
Default

Correction to the script:
(In the previous version all exploded items would be the same take)

Take: Implode items on same track into takes
Action: Wait 0.5 seconds before next action
Item: Select all items in track
Take: Explode takes of items across tracks
Action: Wait 1 second before next action
Transport: Go to start of project
SWS: Move selected item(s) left edge to edit cursor
Action: Wait 0.5 seconds before next action
Xenakios/SWS: Dismantle selected folder
Track: Remove tracks
Track: Select all tracks
SWS: Enable master/parent send on selected track(s)
Track: Mute all tracks
Xenakios/SWS: Select first of selected tracks
Track: Unmute tracks
ASauer 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:15 AM.


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