Merge Songs

Could someone explain to me how to get this to work on osX?

I’ve looked through the topic here, but a lot didn’t make a massive amount of sense to me.

I’ve downloaded the files, but opening the .cfgs in terminal just starts a merge, then aborts.

I couldn’t find how to specify tracks to be merged.
do I need php installed?
I thought osX has something like that installed by default?

Thanks in advance.

The CFG files are useless on OSX and you can simply delete them. Probably they were included by accident. There is a pinned topic here, which should explain everything for Mac users.

https://forum.renoise.com/t/xrns-php-using-bash-on-os-x/20468

Yes, please :)

i have to check out this merge thing

is it possible to merge more than 2 XRNS??

EDIT:just found out its not possible

How about using the output from the first merge operation with the next song? People get lazy these days. :P

yeah i just saw what i wrote and thought just the same as you about the lazines in my post :rolleyes:

Ok, I’m confused.

AutoAssign is a bool with a default of true. AssignedTrack is an int that defaults to -1. Does this means I have to do something like:

  
foreach ($sx2->OutputRoutings->OutputRouting as $x) {  
 if ($x->AutoAssign === false) {  
 $x->AssignedTrack = $x->AssignedTrack + $offset;  
 }  
}  
  

Is there a freeware OS X plugin that supports this kind of routing? I have never used it, so i’m coding this blindly at the moment.

I don’t know of a free plugin with multiple outputs, but:

  
foreach ($sx2->OutputRoutings->OutputRouting as $x) {  
 if ($x->AssignedTrack != -1) {  
 $x->AssignedTrack = $x->AssignedTrack + $offset;  
 }  
}  
  

should always work…

Fixed for Renoise 2.5 in SVN. Here’s the Diff

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?

maybe the first post can be updated with this link http://xrns-php.sourceforge.net/
I like the tune, but it’s not what you want when you come here.

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!!!

Wow, blast from the past. Some inspiring community work happened here! Is this something that could be evolved into a modern XRNX tool?

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…)

absolutely +1
on xrnx

This tool has been a life saver for me, but is starting to grow obsolete:(

I’ve patched up this tool for Renoise 2.8.

@see: Xrns-php

Regards.

Much appreciated! will these programs also re-appear on the renoise.com site? maybe I overlooked them but can’t find them anymore.
It would be a shame if some people can’t find these great tools.

Crud, just noticed this. Doesn’t work as I type. Will try to fix this in the upcoming hours.

I don’t think this will happen. These PHP scripts are getting less interesting for me to maintain so I’d rather not show them off.

Lua is the future for Renoise! ;)

Fixed in v1.09. Thanks for mentioning it.

Download: XRNS-PHP download | SourceForge.net

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…

Hey guys,

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?

I’m loving the input here btw… keep it up :)

You were looking for this?
renoise.app():prompt_for_multiple_filenames_to_read({file_extensions}, dialog_title)
→ [list of filenames or empty list]