[PD] Pd on snowball ubuntu armv7

Frédéric Voisin ordi at fredvoisin.com
Thu Dec 20 17:51:05 CET 2012


Hello,

I'm begining to play with Pd with a Snowball ARM-based board from Calao Systems ( http://www.calao-systems.com/articles.php?lng=en&pg=6186 ).
I'm using pd 0.43-4 compiled on it with linaro-ubuntu.
it sounds pretty well thru the minijack output...
I have only some difficulties to know why it runs when it should not - the behaviour seems to be quite different than pi or bb board as I can read on last posts :

- the first time I tested pd on it, I played thru pulseaudio (ubuntu default) , using -alsaadd but the audio was very unstable
- now, after having autoremoved pulseaudio, I'm using alsa, the minijack is the card 0 device 1 (from 0):

$ uname -a
Linux linaro-ubuntu-desktop 3.3.1-37-linaro-lt-ux500 #37~lt~ci~20120524012446+1337874072~4fbea4f1-Ubuntu SMP PREEMPT  armv7l armv7l armv7l GNU/Linux

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: U8500card [U8500-card], device 0: hdmi av8100-codec-dai-0 [UX500_PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: U8500card [U8500-card], device 1: ab8500_0 ab8500-codec-dai.0-1 [UX500_PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: U8500card [U8500-card], device 3: cg29xx_0 cg29xx-codec-dai.1-3 [UX500_PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0

with hw:0,1 declared in file /etc/asound.conf
I do :
$ aplay -D hw:0,1 son.wav = aplay son.wav (= OK)

but, with pd it's different :
$ pd -nomidi -noadc -alsa -outchannels 2 -r 48000 -rt -audiobuf 50 -blocksize 256 patch.pd 
gives nothing but the default outpu of the card (hardware = hdmi probably = device 0), with no access to the minijack output (second device ), nore into audio menu setting...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-alsaadd.png
Type: image/png
Size: 19179 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121220/49815250/attachment-0003.png>
-------------- next part --------------


then, the only way to have audio output to the minijack is to run pd -alsaadd and audiodev 3 - please note stranges characters for audiooutdev 3:
$ pd -nomidi -noadc -alsa -outchannels 2 -r 48000 -rt -audiobuf 50 -blocksize 256 -alsaadd default -audiooutdev 3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsaadd.png
Type: image/png
Size: 19242 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121220/49815250/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsaadd2.png
Type: image/png
Size: 20338 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121220/49815250/attachment-0005.png>
-------------- next part --------------


I see no clear doc othger than the help seems to be too short...

Thank's you for your help,
Fred









More information about the Pd-list mailing list