[PD-dev] pd on armv7 (beagleboard): crackles [SOLVED]

Edgar Berdahl eberdahl at ccrma.Stanford.EDU
Wed Aug 25 03:40:08 CEST 2010


Hi,

Now I am able to repeat what you did. In my .pdsettings file, I use
flags: -oss -r 8000 -audiobuf 10 -inchannels 0 -blocksize 1024 - 
outchannels 2

As far as I can tell, it only works for the sampling rate fs=8kHz. For  
example, if I use -r 16000 instead (or other faster rates), then pd  
still runs at 8kHz. In order to compensate, pd does weird things like  
counting ms only half as fast (i.e. "metro 1000" behaves like "metro  
2000" normally would behave), and osc~ produces output at half the  
frequency specified, etc.

Do you all agree that this is a problem with the drivers for audio on  
the Beagleboard and not with pd? (Although mplayer and mpg123 can use  
the ALSA drivers just fine apparently running at normal sampling  
rates, pd doesn't seem to work at all with ALSA, and neither does the  
version of chuck that I got using "apt-get install chuck".)


Thanks,
Ed

PS. BTW, in contrast with your wiki, I didn't have to modprobe snd-pcm- 
oss, but I did have to
sudo apt-get install alsa-utils
sudo apt-get install mpg123

> done: http://puredata.info/docs/developer/BuildingPdForBeagleboard
>
> :-)
>
> On 27 Jul 2010, at 15:49, Dan Wilcox wrote:
>
> Great news. Is there a page on the puredata.info wiki on the Beagle  
> board yet?
> If not, can add you install steps to it, or at least notes on  
> getting the audio
> to work with pd?
>
> I wonder why alsa has troubles ... when using oss, can you still use  
> alsa midi?
> I have thought of trying a beagle board but no midi would be a deal  
> breaker for
> me
>
> On Jul 27, 2010, at 1:48 PM, Damian Stewart wrote:
>
> hi all,
>
> i fixed my issues with Pd on my Beagleboard running Ubuntu. the  
> solution (thanks
> to Julian Oliver's help) was to load the oss module (sudo modprobe  
> snd-pcm-oss)
> then run pd using the oss driver (pd -oss), and it sounds just lovely.
>
> thanks for the other help nonetheless!
>
> cheers, damian
>
> -- damian stewart . @damiannz . dam... at frey.co.nz frey .  
> contemporary art . http://www.frey.co.nz
>
>
> -------- Dan Wilcox danomatika.com robotcowboy.com
>
> -- damian stewart . @damiannz . dam... at frey.co.nz frey .  
> contemporary art . http://www.frey.co.nz
>
> _______________________________________________ Pd-l... at iem.at  
> mailing list UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20100824/6e509b41/attachment-0001.htm>


More information about the Pd-dev mailing list