2 things:

- the "snd_pcm_open (output): Device or resource busy" issue is, as Iohannes 
said, due to the -nogui bug. Put a delay on your "dsp 1" message. I use 100 ms.

- the crackles are probably coming from dropouts due to pd not running in 
realtime. Try this and use alsa: 
http://puredata.info/docs/tutorials/HowToRunPDWithRealtimePriorityInUbuntu . I 
have not problem on a slow machine using alsa and -rt without Jack.

On Jul 9, 2010, at 1:01 PM, Damian Stewart wrote:

> hi all,
> 
> i'm trying to get Pd to run on my BeagleBoard, and running into a couple of 
> problems. any help greatly appreciated. this is for an installation of this 
> work: http://ll.frey.co.nz which is due to go live in August at Kapelica 
> Gallery in Ljubljana, Slovenia.
> 
> basically, the problem is that instead of sound output i'm getting these 
> crackles:
> http://soundcloud.com/damian/pure-data-on-beagleboard-sound-issue
> 
> 1. i tried Hans' Reware image ("BeagleBoard Pd, Python, Lua image" from here 
> http://dev.eyebeam.org/projects/reware/wiki/Releases ). i'm not sure what 
> version of Pd this is, but it's using OSS as sound device. this makes nasty 
> crackles, that are related to the volume of the sound output and also to the 
> content of the sound i'm trying to output. the crackles don't go away if i 
> increase the audio buffer to 500ms. they sound a bit like a pot full of 
> popping popcorn : 
> http://soundcloud.com/damian/pure-data-on-beagleboard-sound-issue
> 
> 2a. (Ubuntu 10.04 installation) i tried apt-get install puredata (v. 0.42-5) 
> on my Ubuntu install, which produces the same kind of audio crackles as the 
> Reware image. 
> 
> 2b. (after sudo killall xdm) i tried running pd -nogui -alsa -noadc -open 
> my_test_patch.pd, which gives me no sound output at all, just a message that 
> "snd_pcm_open (output): Device or resource busy". 
> 
> i know Alsa is working on the Ubuntu install because i can use aplay and 
> mpg123 and get perfect sound output. i don't seem to have OSS available on 
> the Ubuntu image.
> 
> i'm running a BeagleBoard C4, and i wonder if the Reware image was only 
> tested on an earlier revision board.
> 
> again -- any help greatly appreciated!
> 
> thanks
> damian
> 
> --
> damian stewart . @damiannz .  [email protected]
> frey . contemporary art . http://www.frey.co.nz
> 
> 
> 
> 

--------
Dan Wilcox
danomatika.com
robotcowboy.com




_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to