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
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.
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:
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”
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!
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.
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!
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.
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!
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!
{"id":null,"mode":"button","open_style":"in_place","currency_code":"GBP","currency_symbol":"\u00a3","currency_type":"decimal","blank_flag_url":"https:\/\/thedigitallifestyle.com\/w\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/blank.gif","flag_sprite_url":"https:\/\/thedigitallifestyle.com\/w\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/flags.png","default_amount":500,"top_media_type":"none","featured_image_url":false,"featured_embed":"","header_media":null,"file_download_attachment_data":null,"recurring_options_enabled":true,"recurring_options":{"never":{"selected":true,"after_output":"One time only"},"weekly":{"selected":false,"after_output":"Every week"},"monthly":{"selected":false,"after_output":"Every month"},"yearly":{"selected":false,"after_output":"Every year"}},"strings":{"current_user_email":"","current_user_name":"","link_text":"Leave a tip","complete_payment_button_error_text":"Check info and try again","payment_verb":"Pay","payment_request_label":"","form_has_an_error":"Please check and fix the errors above","general_server_error":"Something isn't working right at the moment. Please try again.","form_title":"","form_subtitle":null,"currency_search_text":"Country or Currency here","other_payment_option":"Other payment option","manage_payments_button_text":"Manage your payments","thank_you_message":"Thank you for being a supporter!","payment_confirmation_title":"","receipt_title":"Your Receipt","print_receipt":"Print Receipt","email_receipt":"Email Receipt","email_receipt_sending":"Sending receipt...","email_receipt_success":"Email receipt successfully sent","email_receipt_failed":"Email receipt failed to send. Please try again.","receipt_payee":"Paid to","receipt_statement_descriptor":"This will show up on your statement as","receipt_date":"Date","receipt_transaction_id":"Transaction ID","receipt_transaction_amount":"Amount","refund_payer":"Refund from","login":"Log in to manage your payments","manage_payments":"Manage Payments","transactions_title":"Your Transactions","transaction_title":"Transaction Receipt","transaction_period":"Plan Period","arrangements_title":"Your Plans","arrangement_title":"Manage Plan","arrangement_details":"Plan Details","arrangement_id_title":"Plan ID","arrangement_payment_method_title":"Payment Method","arrangement_amount_title":"Plan Amount","arrangement_renewal_title":"Next renewal date","arrangement_action_cancel":"Cancel Plan","arrangement_action_cant_cancel":"Cancelling is currently not available.","arrangement_action_cancel_double":"Are you sure you'd like to cancel?","arrangement_cancelling":"Cancelling Plan...","arrangement_cancelled":"Plan Cancelled","arrangement_failed_to_cancel":"Failed to cancel plan","back_to_plans":"\u2190 Back to Plans","update_payment_method_verb":"Update","sca_auth_description":"Your have a pending renewal payment which requires authorization.","sca_auth_verb":"Authorize renewal payment","sca_authing_verb":"Authorizing payment","sca_authed_verb":"Payment successfully authorized!","sca_auth_failed":"Unable to authorize! Please try again.","login_button_text":"Log in","login_form_has_an_error":"Please check and fix the errors above","uppercase_search":"Search","lowercase_search":"search","uppercase_page":"Page","lowercase_page":"page","uppercase_items":"Items","lowercase_items":"items","uppercase_per":"Per","lowercase_per":"per","uppercase_of":"Of","lowercase_of":"of","back":"Back to plans","zip_code_placeholder":"Zip\/Postal Code","download_file_button_text":"Download File","input_field_instructions":{"tip_amount":{"placeholder_text":"How much would you like to tip?","initial":{"instruction_type":"normal","instruction_message":"How much would you like to tip? Choose any currency."},"empty":{"instruction_type":"error","instruction_message":"How much would you like to tip? Choose any currency."},"invalid_curency":{"instruction_type":"error","instruction_message":"Please choose a valid currency."}},"recurring":{"placeholder_text":"Recurring","initial":{"instruction_type":"normal","instruction_message":"How often would you like to give this?"},"success":{"instruction_type":"success","instruction_message":"How often would you like to give this?"},"empty":{"instruction_type":"error","instruction_message":"How often would you like to give this?"}},"name":{"placeholder_text":"Name on Credit Card","initial":{"instruction_type":"normal","instruction_message":"Enter the name on your card."},"success":{"instruction_type":"success","instruction_message":"Enter the name on your card."},"empty":{"instruction_type":"error","instruction_message":"Please enter the name on your card."}},"privacy_policy":{"terms_title":"Terms and conditions","terms_body":null,"terms_show_text":"View Terms","terms_hide_text":"Hide Terms","initial":{"instruction_type":"normal","instruction_message":"I agree to the terms."},"unchecked":{"instruction_type":"error","instruction_message":"Please agree to the terms."},"checked":{"instruction_type":"success","instruction_message":"I agree to the terms."}},"email":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email address"},"success":{"instruction_type":"success","instruction_message":"Enter your email address"},"blank":{"instruction_type":"error","instruction_message":"Enter your email address"},"not_an_email_address":{"instruction_type":"error","instruction_message":"Make sure you have entered a valid email address"}},"note_with_tip":{"placeholder_text":"Your note here...","initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"empty":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"not_empty_initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"saving":{"instruction_type":"normal","instruction_message":"Saving note..."},"success":{"instruction_type":"success","instruction_message":"Note successfully saved!"},"error":{"instruction_type":"error","instruction_message":"Unable to save note note at this time. Please try again."}},"email_for_login_code":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email to log in."},"success":{"instruction_type":"success","instruction_message":"Enter your email to log in."},"blank":{"instruction_type":"error","instruction_message":"Enter your email to log in."},"empty":{"instruction_type":"error","instruction_message":"Enter your email to log in."}},"login_code":{"initial":{"instruction_type":"normal","instruction_message":"Check your email and enter the login code."},"success":{"instruction_type":"success","instruction_message":"Check your email and enter the login code."},"blank":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."},"empty":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."}},"stripe_all_in_one":{"initial":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"empty":{"instruction_type":"error","instruction_message":"Enter your credit card details here."},"success":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"invalid_number":{"instruction_type":"error","instruction_message":"The card number is not a valid credit card number."},"invalid_expiry_month":{"instruction_type":"error","instruction_message":"The card's expiration month is invalid."},"invalid_expiry_year":{"instruction_type":"error","instruction_message":"The card's expiration year is invalid."},"invalid_cvc":{"instruction_type":"error","instruction_message":"The card's security code is invalid."},"incorrect_number":{"instruction_type":"error","instruction_message":"The card number is incorrect."},"incomplete_number":{"instruction_type":"error","instruction_message":"The card number is incomplete."},"incomplete_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incomplete."},"incomplete_expiry":{"instruction_type":"error","instruction_message":"The card's expiration date is incomplete."},"incomplete_zip":{"instruction_type":"error","instruction_message":"The card's zip code is incomplete."},"expired_card":{"instruction_type":"error","instruction_message":"The card has expired."},"incorrect_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incorrect."},"incorrect_zip":{"instruction_type":"error","instruction_message":"The card's zip code failed validation."},"invalid_expiry_year_past":{"instruction_type":"error","instruction_message":"The card's expiration year is in the past"},"card_declined":{"instruction_type":"error","instruction_message":"The card was declined."},"missing":{"instruction_type":"error","instruction_message":"There is no card on a customer that is being charged."},"processing_error":{"instruction_type":"error","instruction_message":"An error occurred while processing the card."},"invalid_request_error":{"instruction_type":"error","instruction_message":"Unable to process this payment, please try again or use alternative method."},"invalid_sofort_country":{"instruction_type":"error","instruction_message":"The billing country is not accepted by SOFORT. Please try another country."}}}},"fetched_oembed_html":false}
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!
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.
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!
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
859k in total I think the limit is 765 in the DFU and trimming the samples in the script helps achive that.
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!
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.
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!
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!