I have to ask, is the “foreach ($sx2->OutputRoutings->OutputRouting as $x)” code really necessary? None of the modules I generate have this… I see a lot of “$sx2->Instruments->Instrument->PluginProperties->AssignedTrack” which is handled in another procedure… But the whole output routing is still a mystery to me. Can anyone confirm it actually works?
I saw the XRNS-PHP scripts are on the Tools and utilities pages, but maybe it’s better to add a list of scripts it contains, this merge script is simply amazing!
but stays a bit under the radar this way I think just like some other scripts inside it.
Really great package!!!
I was merging some songs to prepare for a live performance a few weeks ago. The merge songs tool is great, but the routing for sends and things like signal follower get all mixed up. It seems to be based on a fixed and not relative index, so if something is routed to Send 04, it’s still routed to Send 04 in the merged song even if that send is completely different. Also, it doesn’t account for BPM or LPB changes - it would be nice to have the option to automatically put those changes as pattern effect commands on the master channel, for example.
It would be great to see merge songs recoded as a renoise tool! (Maybe I should try to learn how to do it myself…)
Cool stuff, seems to work for simple song templates
Now a little Lua Script for Renoise that calls the script if you select two songs in the disk browser would be very nice :=)
More in detal: If you select 2 songs holding down shift and then right click, a option for “join songs” could be appear.
I looked into the Renoise’s LUA documentation of the Renoise 2.80 starter pack, but I am completly lost in this documentation…
I just stumbled upon this thread via google actually, and finally got the merge script working. Now the instruments of both xrns files are merged, but the patterns of the 2nd file are missing. I’d hoped it would sorta ‘paste’ the patterns of the 2nd xrns file under the patterns of the 1st xrns (making for example two 2:00 minutes songs into one 4:00 minute song) Would there be a way to achieve this?