- Code: Select all
pi@raspberrypi ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
and I've got audio-out going just fine, with no distortion with:
- Code: Select all
#pd -nogui -noadc some_patch.pd
but when I try a simple patch with adc~ straight to dac~, no matter what settings I use with PD, anything with adc enabled crashes the audio- some of the crashes produce a few seconds of audio- at this point, I've tried 4 different configurations for /etc/asound.conf, but always get about a 1.5s of audio in the middle of a crash like this:
- Code: Select all
pi@raspberrypi ~ $ pd -audioindev 1 -audiooutdev 1 -inchannels 1 -outchannels 2 -nogui -path ~/Documents/pd_rpi -alsa -r 44100 -rt -blocksize 64 -nomidi adc_dac.pd
sys_nmidiin 0, nmidiindev 0
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
output snd_pcm_delay failed: No such device
output snd_pcm_status failed
...
...
I've been finding people are getting audio recording to work with arecord and audacity, but has ANYONE gotten audio-in with PD?