Share your music and get feedback.
Cape Cod, Masschusetts, USA
About me
James Nicholl
jnicholl17@yahoo.com
______________________
Electronic Music patch: Ruby / Reaktor Map Generator
Store Written January 19 2009 , Tags: reaktor, ruby, sample, map, generator
I recently found a very useful app for automatically generating Reaktor maps here: link

The original developer was gracious enough to provide the source in Ruby and I took the opportunity to recode it for added functionality. Here's my version: link

Unfortunately, you need to have Ruby installed to get this to work, as I can't figure out how to compile it. If anyone here knows how to do this they could help me out a lot!

Ruby is very easy to install. (Windows instructions: )
(If anyone knows how to run Ruby on OSX post the instructions please. )

Download and run the one click installer for Windows: link (25MB)

Also, this program uses GUI elements from wxRuby which can be downloaded here:
link (4MB). This is a Ruby extension. Save it to your desktop, open up a command prompt and cut and paste these commands to install it:

cd Desktop
gem install wxruby-1.9.9-x86-mswin32-60.gem

You should now be able to run the app just by double clicking on init.rb after unzipping the file provided.

Here's what it does:

This app takes all the audio files from a directory and makes a Reaktor map for them, so you don't have to deal with Reaktor's sample map editor (which is a piece of junk). The major functionality I added is that if you separate your samples into folders, the app will generate a Reaktor map for each subdirectory of a chosen folder. If you organize your samples well, you can automatically generate Reaktor maps for your entire sample library.

The other thing I added is something more useful to me and I'll explain it here. The Reaktor sampler modules have the ability to select a different sample by key, but also by velocity (starting at velocity = 1). The module needs to be configured properly in order to do this, and I don't think any of the ensembles Reaktor is packaged with do this...

Anyways, since you can trigger samples by key (0-127) and velocity (1-127), this means you can load up to 16256 samples into a single Reaktor sampler module! The app allows you to map directories to velocities, and this will map each subdirectory to a different velocity, allowing you to load your entire sample library into a SINGLE REAKTOR MAP!!! Automatically!

This is much better than trying to enter in a thousand samples by hand. (Believe me, I've tried!)

Unless I can resolve the compilation issue, I'll have to restart this little project in another language. This is probably a good idea anyways.

If you get it running, let me know what you think by ways of extra features.

Thanks!
Comments
Thanks for this, since the sample map editor is indeed a pain in the derriere
I've been using the mapFileBuilder app lately, but to get it to generate maps from subdirectories is a big bonus
this will speed up the Mixit Preparation Process™ greatly!

edit: on a Mac here, will see if I can do anything with it
Here's the wxRuby download link for all systems: link
wow this is hot shit dude, nice one
Recent blogs: "NON" SONOIO Remix Album  
You guys are getting this running fine?
May I suggest the Shoes GUI toolkit?

It's very Rubyesque, and there are cross-platform autoinstallers available. You can even distribute the app as a Ruby script + multiplatform Shoes installer!

link
I suggested Shoes because this is cool work - can't test it atm though I'd like to
Thanks, I'll take a look at Shoes. I'm also going to try compiling it using rubyscript2exe again, but I couldn't get the gem working on Windows. Maybe I'll have better luck in Linux.

There's actually some hidden features that I haven't added to the GUI yet. If you edit mapbuilder.rb, you can scroll down to where all the accessor variables are initialized, and you can set the low key and high key that the mapping will occur between. You can also set the low and high velocity, and you can set the map name instead of having it generated. I'm not sure how well all of those features work yet, but they should be fine. The documentation in the code is good too, so it shouldn't be hard to figure out.
hey that shoes look interesting!
I've now put up the java source code. Its available via SVN from here :

link
great, thanks martin!


Signup to comment
You must be a member to reply or post. signup or login