Hey yall, I've tried at least a hundred times to get the samplerbox to load something other than the default saw on startup, to no avail. I've tried loading samples on 3 different USBs but it ignores them and just loads the saw wave. I've tried putting sample on the root folder, but it doesn't care. I've tried deleting the saw from the root folder, putting in another sample pack, naming it "0 saw", and I just dont get any sound after that. Does anyone know how to make this thing load anything other than the saw? Thanks!
Can you check to see what format your USB sticks have? Should be FAT32.
Just reformatted them both to make sure, yup they're both FAT32. No matter what I do now, I get no sound (I assume this is because I deleted the saw from the root folder, hoping it would force itself to recognize the samples on my USB, but that didn't happen)
In your console can you see if you can access the USB stick:
cd /media ls # let's see if any directories are listed
You can also check to see if the stick is actually recognised by your RPi:
lsblk # list block devices
You should see something like this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 14.4G 0 disk `-sda1 8:1 1 14.4G 0 part /media
Yup, ls displays the 2 directories I have in the USB ("0 Box" and "1 Organ" for testing purposes), it just doesn't play any sound, so I'm assuming it isn't loading the samples
Have you checked the SAMPLES_DIR variable in samplerbox.py points to your USB stick? ie
SAMPLES_DIR = "/media" (default is "." which is problematic)
How do I check that? I'm using the .iso quick start image, is it possible to edit the .py file from within the pi?
Yes it is :)
First remount the SD card as read-write:
mount -o remount,rw /
Now edit the samplerbox.py file:
SAMPLES_DIR line and change it to '/media'. When you're done,
y to save.
reboot to reboot the system
No dice on that one-- it was already set to /media/
So what's in the two directories:
Do they contain the sample files named as indicated in the definition.txt (if no such file is present, default name is midinote.wav, midinotes being a number 0-127). Playable notes are around middle-c, which means "48.wav" or "60.wav", depending on middle-c being C3 or C4.
Are the sound files wav files with a sample rate of 44,1kHz and bitrate 24 or less.
on the mellotron sample (downloaded from the main page), I have numbers from 343-377, all the definition.txt says is *_%notename.wav
I've tried going up and down several octaves to make sure that is the issue and it didn't seem to change anything, though it's possible I didn't go up far enough?
Yup, samples are all 44,1 khz
OK, then go back to unanswered question from Alex: perform command: ....
.....and check the output (see his examples october 12 03:13)