Hi guys,
I am trying to get Pure Data working on my Raspberry Pi (Model with no success so far. I am running the latest regular Raspbian Wheezy distribution.
I have an external USB duplex audio card connected (Griffin iMic). Sound is working fine in ALSA (so aplay, arecord, alsamixer, etc. all work fine). I also installed Jack2 (from the Pi audio repository) and tested this with various synths and MIDI input - no problem so far!
Now onto Pure Data. I installed the vanilla version like this:
http://log.liminastudio.com/programming/running-puredata-on-the-raspberry-pi
I could load it up, but when I select "Alsa" as audio driver, I immediately get "ALSA output error (snd_pcm_open) Device or resource busy". This happens no matter if I choose plug or hardware in the audio selection, even when selecting the internal sound card (bcm...) or disabling input, using output playback only.
The same issues when starting pd from the command line (eg. with -noadc -nogui -alsa test.pd). I know about the issue with the delayed initialisation of the dsp when running in nogui mode, but as I said, pd does not even work in GUI mode.
Maybe another process is using ALSA? I ran "fuser -v /dev/snd/*" but nothing showed up. As I said, other ALSA applications like asound as well as synthesizers run fine.
Then I tested the Jack interface (with jackd running in the background), but pd hangs immediately after selecting this entry in the audio menu (while jackd continues to work without error).
I also tried installing pd-extended (after this instructions: http://log.liminastudio.com/writing/tutorials/how-to-build-pd-extended-on-the-raspberry-pi) and while the installation itself was successful and the program can be started, I still get the error message above.
"/proc/asound/cards" yields my USB audio as device 0 and the internal sound as 1. I tried disabling the onboard sound, no difference. I also tried the "alsaadd default" option, but that did also not help.
Do you have any ideas what I could try? Any more information I could provide? I know that many people use puredata (vanilla or pd-extended) in exactly this configuration (pi, raspbian wheezy, imic), so it must be something very simple I think
Thanks for any input!
Mike D