How to load your own samples into the Uno Drum

IK Multimedia’s Uno Drum is a great little drum machine and has a wide range of kits available for from IK Multimedia but it lacks a simple way of loading your own samples into it. Thanks to a clever developer on github who worked out how to unpack the Uno Drum libraries there is now a way of loading custom sounds into the device. Before you start, I would get familiar with the Uno Drum sounds sets available from IK Multimedia so you are used to the idea of swapping sound sets.
The developer has posted sample files to his github site but there were a few things I needed to do for the upload to work correctly. So, in this guide (and video at the bottom of the page) I walk through the steps you need to load samples into the Uno Drum.

Step 1 – Download the tools

The first step is to download the kit from github and then unzip the contents to a folder on your PC.

Next you need to install the tool for converting the audio files called Sox. Get that from http://sox.sourceforge.net/

Go through the installer and leave all the settings as default.

Step 2 – Get your samples together

Next you need to organize your samples. I recorded the drum sounds from my old Roland TR-505 and then saved each sound as a wave file. So I have a wav file for each drum sound.

I also downloaded some Linn drum samples which I put into their own folder.

Then you need a copy of one of the Uno drum DFU files (the file that contains the sounds). The best way was to install all the Uno Drum sound packs from IK Multimedia. Once you have these you can select one of the sample files. Eg

Place the file in the directly containing the sound packager tool (where you unzipped the download file in step 1) and rename it to Uno_Drum_lib_Anthology8.dfu

Step 3 – modify the batch file

To get it to work for me I took the do_it.bat file from the sound_pack_demo folder and saved it to the main folder, I then renamed it to TR505.cmd so I could start editing it for TR-505 sounds.

Next, I had to edit the batch file.

In the file I had to change the path of the SOX tool as my install was 14-4-2 and not 14.4.2 so I changed:

set sox=”C:\Program Files (x86)\sox-14.4.2\sox.exe”

to:

set sox=”C:\Program Files (x86)\sox-14-4-2\sox.exe”

Next, I changed the paths of each line to match the samples on my system. So, I swapped out the drumsample file path for the path to my samples

eg:

%sox% DrumSamples.org-DS1000\Bongos\bongo5.wav %ss% unpacked\sample-01-1.wav fade 0 0.17 0.01

To

%sox% C:\Users\isdix\OneDrive\Documents\Samples\linndrum\linndrum\tom.wav %ss% C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\unpacked\sample-01-1.wav fade 0 0.17 0.01

When you look at the file you can see each pad on the Uno Drum has up to five sounds, for example the cowbell section has five lines so you can have five different samples on each pad which can be selected on the Uno Drum.

Eg

REM Tom2

%sox% C:\Users\isdix\OneDrive\Documents\Samples\linndrum\linndrum\tomh.wav %ss% C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\unpacked\sample-02-1.wav

%sox% C:\Users\isdix\OneDrive\Documents\Samples\linndrum\linndrum\congah.wav %ss% C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\unpacked\sample-02-2.wav

%sox% C:\Users\isdix\OneDrive\Documents\Samples\linndrum\linndrum\tomllh.wav %ss% C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\unpacked\sample-02-3.wav

%sox% C:\Users\isdix\OneDrive\Documents\Samples\Tr505\CongaC.wav %ss% C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\unpacked\sample-02-4.wav

%sox% C:\Users\isdix\OneDrive\Documents\Samples\Tr505\TomM.wav %ss% C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\unpacked\sample-02-5.wav fade 0 0.18 0.01

So go through the file and allocate your sounds to each sample.

I also changed the end two lines to include the full path to the decoder:

Eg

C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\build\exe.win-amd64-3.6\decode_sound_packs.exe –pack unpacked -o TR505.dfu Uno_Drum_lib_Anthology8.dfu

C:\Users\isdix\OneDrive\Documents\uno-drum-utils-v0.2.0-prebuilt\build\exe.win-amd64-3.6\decode_sound_packs.exe -s TR505.dfu

Notice on the last part I changed the name to be the name of my sound pack.

Step 4 – Transfer to the Uno Drum

To get your sounds to the Uno Drum we can use the tranfer tool that comes with the sound packs.  Go to the folder when the Uno drum sound packs are installed eg:

C:\Users\dixoni\OneDrive\Documents\IK Multimedia\IK Product Manager\UNO Drum\UNO_Drum_Anthology_Libraries_WIN\UNO Drum Anthology Libraries WIN\UNO Drum Anthology 8 Sound Content Installer 1.0.0 WIN

Copy DFU file you created in step 3 to this folder, rename the file Uno_Drum_lib.dfu to Uno_Drum_lib.dfu.org (in case you want it back) and then rename your own file to Uno_Drum_lib.dfu

Then run the Uno Drum Sound Content Installer.exe which will enable you to copy the file to your Uno Drum.

Your Uno should then have your fresh new kit.

It seems a complicated process but once you have gotten it working it’s easy to create new sound sets and then make your own custom kits.

Here is my video guide on how to load your own samples into the Uno Drum

9 thoughts on “How to load your own samples into the Uno Drum

  1. Hi Ian,

    Thanks very much for this excellent guide. I\’m a complete newbie to editing scripts etc. ; I\’ve hit an issue and I can\’t quite work out why…! Having completed steps 1-3, I run my edited batch file to create the new .DFU file… but nothing happens. When I review it in Powershell, it captures that it tried to open Uno_Drum_lib_Anthology8.dfu, but then lists a Traceback error flagging issues with the c:\\Program Files\\Python36\\lib\\site-packages\\cx_Freeze\\initscripts\\__startup__.py\” plus a couple of other lines relating to the \”decode_sound_packs.py\” lines in the and main.

    What have I done wrong?! Any guidance warmly welcomed!

    1. First see if you can build via the existing batch file. If that works then its probably the samples are to big for the DFU (and the Uno memory). If it is you have to shrink the lenght of the samples.

      1. Thanks Ian; I really appreciate this. In terms of sample size, may I ask how big your individual TR505 samples were so I can compare? Thanks again!

        1. the tick is to trim them in the script, this is part of my TR script. the 0.17 or 0.11 values are the sample length.

          REM Tom 1
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\tom.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-01-1.wav fade 0 0.17 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\congal.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-01-2.wav fade 0 0.11 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\congall.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-01-3.wav fade 0 0.12 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\Conga.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-01-4.wav fade 0 0.10 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\TomL.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-01-5.wav fade 0 0.06 0.01

          REM Tom2
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\tomh.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-02-1.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\congah.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-02-2.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\tomllh.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-02-3.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\CongaC.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-02-4.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\TomM.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-02-5.wav fade 0 0.18 0.01

          REM Rim
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\sstl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-03-1.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\ssth.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-03-2.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\sstl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-03-3.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\sstl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-03-4.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\rim.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-03-5.wav

          REM Cowbell
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\cowb.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-04-1.wav fade 0 0.09 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\cowb.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-04-2.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\cowb.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-04-3.wav
          %sox% CC:\Users\dixoni\OneDrive\Documents\Samples\Tr505\Cowbell.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-04-4.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\CowbellH.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-04-5.wav

          REM Ride
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\ride.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-05-1.wav fade 0 0.35 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\tamb.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-05-2.wav fade 0 0.42 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\ride.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-05-3.wav fade 0 0.26 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\ride.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-05-4.wav fade 0 0.14 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\ride.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-05-5.wav fade 0 0.27 0.01

          REM Cymbal
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\crash.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-06-1.wav fade 0 1.10 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\cabasa.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-06-2.wav fade 0 0.70 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\timba.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-06-3.wav fade 0 0.82 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\CowbellH.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-06-4.wav fade 0 0.95 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\crash.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-06-5.wav fade 0 0.46 0.01

          REM Analog + PCM pads
          REM Kick1
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kick.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-07-1.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kick.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-07-2.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kick.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-07-3.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\kick.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-07-4.wav

          REM Kick2
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kickme.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-08-1.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kickme.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-08-2.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kickme.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-08-3.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\kickme.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-08-4.wav

          REM Snare
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\sd.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-09-1.wav fade 0 0.13 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\sdl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-09-2.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\VICE-SNARE.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-09-3.wav
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\Snare.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-09-4.wav

          REM Closed High-Hat
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chh.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-10-1.wav fade 0 0.16 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chh.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-10-2.wav fade 0 0.10 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chh.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-10-3.wav fade 0 0.08 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\HHC.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-10-4.wav fade 0 0.17 0.01

          REM Open High-Hat
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chhl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-11-1.wav fade 0 0.13 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chhl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-11-2.wav fade 0 0.22 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chhl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-11-3.wav fade 0 0.23 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\HHO.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-11-4.wav fade 0 0.18 0.01

          REM Clap
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\clap.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-12-1.wav fade 0 0.6 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\tamb.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-12-2.wav fade 0 0.4 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\linndrum\linndrum\chhl.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-12-3.wav fade 0 0.4 0.01
          %sox% C:\Users\dixoni\OneDrive\Documents\Samples\Tr505\Clap.wav %ss% C:\Users\dixoni\OneDrive\Documents\Samples\test\sample-12-4.wav fade 0 0.3 0.01

          1. Thanks Ian; appreciate it. My total is coming in at 720k, so I\’m beginning to think it\’s an issue elsewhere (can\’t generate the existing batch file). I\’m baffled as the links are all correct and files in the correct place, but receive this:

            Opening: Uno_Drum_lib_Anthology8.dfu
            Traceback (most recent call last):
            File \”c:\\Program Files\\Python36\\lib\\site-packages\\cx_Freeze\\initscripts\\__startup__.py\”, line 14, in run
            PathFinder,
            File \”c:\\Program Files\\Python36\\lib\\site-packages\\cx_Freeze\\initscripts\\Console.py\”, line 26, in run
            File \”decode_sound_packs.py\”, line 399, in
            File \”decode_sound_packs.py\”, line 192, in main
            FileNotFoundError: [Errno 2] No such file or directory: \’Uno_Drum_lib_Anthology8.dfu\’

            The file is getting unpacked as I can see the samples appearing in the unpacked folder. Hmm… I\’ll keep exploring – thanks again for your guidance!

          2. The issue is it can’t find the Uno_Drum_lib_Anthology8.dfu file which it uses as a base. Make sure that file is in the folder where the batch file is located.

          3. Hi Ian; yes, that\’s what I had assumed the issue is, but it\’s definitely there.
            I coped the .dfu file cross from the \”UNO Drum Anthology 8 Sound Content Installer 1.0.0 WIN\” folder, renamed it as \”Uno_Drum_lib_Anthology8.dfu\” and saved it in the folder \”\\uno-drum-utils-v0.2.0-prebuilt\” where my edited batch file (along with all the other folders/files, eg. \’build\’, \’images\’, \’sound pack demo\’ etc.) sits. Baffled!

      2. Hi Ian,
        A quick follow-up to confirm I\’ve solved the issue thanks to downloading an older version of Python (and making sure cx_Freeze was correctly installed!), resizing some of the larger .wav files, heavy usage of SoX\’s \”-n\” function AND calling on a chum (much cleverer than I!) to guide me through some Windows PowerShell terminology/prompts. It\’s all up and running now and it sounds incredible. I\’ve been building some acoustic drum kit DFUs which – with the UNO Drum\’s 12-bit compression – sound pretty atmospheric and genuinely brilliant!
        Thanks for your help!

Leave a Reply