Hi,
I’ve had the Blackbox for a while and really like it, however, from time to time it’s easier to make things in Ableton Live and more than once I’ve wanted to have an easy way to transfer a Live project to the Blackbox. With this in mind I started thinking if it would be possible to write a scrip to convert an .als file to a Blackbox XML file. Turns out this was possible!
What my script does, at the moment, is it will read the tracks of an .als file and extract the following:
For sequences the following things are extracted and converted:
For Simpler/Sampler/Audio tracks all necessary samples are copied to a specified project folder where the preset file is also saved. All sample references in the preset files are referring here, so by copying the whole folder to the Blackbox preset folder all samples will tag along. Samples need to be in .wav format though.
A significant limitation at the moment is that I’m working in Live 10 and I’m on Blackbox 2.1.5 so all of this was written based on this and function is not guaranteed for other versions. I’ve also only tested this on Mac (albeit two different ones). All code is written in Python and I’ve only used standard packages.
I don’t really have any intention to do anything more fancy than this, so it will remain a simple command line script. There is some tidying up to do though that I'll have look at when I have the time, along with some slight changes I wanna do. I can try to provide limited support but I don’t have time to do any intricate things on this end (such as support for other versions of Live/Blackbox/OS). I’m willing, however, to take feature requests and of course the code is freely available on my github for anyone to modify in any way seen fit. I’m not a programmer by training and this is not my typical programming project so my code is probably not very efficient and tidy but I will to streamline it a bit along with more rigid commenting.
For more information and instructions check my github:
Best regards
Max
I’ve had the Blackbox for a while and really like it, however, from time to time it’s easier to make things in Ableton Live and more than once I’ve wanted to have an easy way to transfer a Live project to the Blackbox. With this in mind I started thinking if it would be possible to write a scrip to convert an .als file to a Blackbox XML file. Turns out this was possible!
What my script does, at the moment, is it will read the tracks of an .als file and extract the following:
- Extract Simpler settings
- Extract Sampler settings
- Extract clip sequences from Simpler and Sampler tracks, along with clip sequences from Ableton Analog tracks and assign these as MIDI sequences on the Blackbox
- Extract audio clips as loop pads as loop pads on the Blackbox
- Play start and end (loop is ignored)
- ADSR settings (the coefficients used here could use some tweaking)
- Multisample mappings
For sequences the following things are extracted and converted:
- Each step
- Division is assumed to be 1/16, however if 1/32 or 1/64 note lengths are identified this will be used
- Sequence length
- Assigned to its corresponding Simpler/Sampler/MIDI track
- Number of beats
For Simpler/Sampler/Audio tracks all necessary samples are copied to a specified project folder where the preset file is also saved. All sample references in the preset files are referring here, so by copying the whole folder to the Blackbox preset folder all samples will tag along. Samples need to be in .wav format though.
A significant limitation at the moment is that I’m working in Live 10 and I’m on Blackbox 2.1.5 so all of this was written based on this and function is not guaranteed for other versions. I’ve also only tested this on Mac (albeit two different ones). All code is written in Python and I’ve only used standard packages.
I don’t really have any intention to do anything more fancy than this, so it will remain a simple command line script. There is some tidying up to do though that I'll have look at when I have the time, along with some slight changes I wanna do. I can try to provide limited support but I don’t have time to do any intricate things on this end (such as support for other versions of Live/Blackbox/OS). I’m willing, however, to take feature requests and of course the code is freely available on my github for anyone to modify in any way seen fit. I’m not a programmer by training and this is not my typical programming project so my code is probably not very efficient and tidy but I will to streamline it a bit along with more rigid commenting.
For more information and instructions check my github:
Best regards
Max
Comment