Old 06-30-2017, 01:57 PM   #1
snooks
Human being with feelings
 
Join Date: Sep 2015
Posts: 1,639
Default Script: Explode Subproject To Tracks

v0.3 - adds replacement TrackChunk functions from eugen2777/me2beats
to avoid issue with chunks > 4MB with API functions

v0.2 - streamlines parsing project file for tracks

v0.1 - initial release

Instructions:
Select a subproject item
Run script

Result:
The tracks from the subproject will replace the
track that the subproject item was on

Please let me know if there are any issues.
Attached Files
File Type: lua Explode Subproject To Tracks.lua (4.0 KB, 167 views)

Last edited by snooks; 07-06-2017 at 03:53 AM.
snooks is offline   Reply With Quote
Old 11-02-2019, 09:23 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,057
Default

Thanks for sharing !


It only miss a way to consider the subproject item offset if it has move :P


Also, I rather explode as child tracks so that any any track FX and other items on the subproject tracks are preserved.


I will surely make a mode from your script to bring that to it so thanks again for sharing I'll surely share the result if good.

Any donation link ?
X-Raym is offline   Reply With Quote
Old 11-03-2019, 07:05 AM   #3
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,109
Default

mpl also has a 'Explode subproject' script in ReaPack.
nofish is offline   Reply With Quote
Old 11-03-2019, 07:22 AM   #4
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,057
Default

@nofish
MPL version has some advantages for now like preserving edits of sub project items.


But it loads the project twice. Snooks version is 2 tomes more effective cause it loads directly in parent project. It doesnt open the sub project.




I made some progress on snooks mode but I still didnt make preserve edits. This is quite harder with this method.
X-Raym is offline   Reply With Quote
Old 11-04-2019, 03:26 AM   #5
Ivannn Bennnettt
Human being with feelings
 
Join Date: Feb 2017
Posts: 283
Default

Thank you Snooks and thank you X-Raym for digged it
btw it works on a item as well
but I'd like to that doesn't remove a subproject and explodes on same place where's selected a item
Ivannn Bennnettt is offline   Reply With Quote
Old 11-04-2019, 03:33 AM   #6
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,057
Default

@Ivann
As my version is mostly based on snooks ones I will share it in reapack for free. It could be useful too for collaboration if more feature needs to be done.


My version does:
- child track
- works on several items
- prevent ui refresh


Stay tuned !
X-Raym is offline   Reply With Quote
Old 11-04-2019, 10:47 AM   #7
Ivannn Bennnettt
Human being with feelings
 
Join Date: Feb 2017
Posts: 283
Default

Ivannn Bennnettt is offline   Reply With Quote
Old 11-05-2019, 04:10 PM   #8
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,057
Default

Free in reapack : X-Raym_snooks_Explode selected subprojects to child tracks.lua


I don't plan to support it further as in fact it will be too complex to support position offset and edges edit,
but I upload it as reference for other people interested to mod it.


Anyway, it can still be useful to some of you.

Note that there is a USER CONFIG AREA at top of the script for more customization
Code:
child = true
delete_items = false -- true or false to only mute
Have fun with it !
X-Raym is offline   Reply With Quote
Old 11-07-2019, 01:42 AM   #9
Ivannn Bennnettt
Human being with feelings
 
Join Date: Feb 2017
Posts: 283
Default

Thank you!
Ivannn Bennnettt 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 09:32 PM.


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