Setup Help

A
Auchmed posted Feb 19 '16, 06:30:

It seems like I can't get SamplerBox to work for the life of me. Out of the box RPi. SSHed in and set audio device id to 1.

Here's some config details.

AUDIO_DEVICE_ID = 1
SAMPLES_DIR = "/media/"
USE_SERIALPORT_MIDI = False
USE_I2C_7SEGMENTDISPLAY = False
USE_BUTTONS = False
MAX_POLYPHONY = 80

here's the output from python samplerbox.py. Thanks for any help! I've been following this project for a while and finally built up the guys to buy an RPi!

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Opened audio: sysdefault
Preset empty: 0
^CTraceback (most recent call last):
File "samplerbox.py", line 454, in <module>
time.sleep(2)
KeyboardInterrupt

A
Auchmed posted Feb 19 '16, 06:47:

it seems that the media directory in the os is empty.

A
Auchmed posted Feb 19 '16, 06:50:

I was able to mount the usb through the SSH terminal, but will I have to ssh in each time I want to use it?

S
Sax posted Feb 19 '16, 14:04:

Hi,

I had a similar problem using RPi internal audio device (AUDIO_DEVICE_ID = 1) and reading from usb drive (SAMPLER_DIR = /media/). Try with an external USB DAC and reading samples from a card reader or directly from microSD.

This topic might help you.

...

  (not published)
  I want to post as guest
 

Post