Thanks for your reply Michael. This thread about audio output looks very interesting. <br>I&#39;m not trying to quit smoking at all.<br><br>Cheers,<br><br>Pierre.<br><br><div class="gmail_quote">2012/8/29 Michael Zacherl <span dir="ltr">&lt;<a href="mailto:sdiy-mz01@blauwurf.info" target="_blank">sdiy-mz01@blauwurf.info</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 29.8.2012, at 09:15 , Pierre Massat wrote:<br>
<br>
&gt; Nope, I used a randomly generated sequence of notes made with phasors, ranging from 0 to 127 on the midi scale.<br>
&gt; Anyway, the quality of the analog output is not what concerns me here, since it sounds ok with aplay. The problem is that the same type of sound generated directly in Pd makes an awful lot of noise when i launch Pd at start-up, though it sounds ok on the hdmi output.<br>

&gt; Maybe it&#39;s something about the samplerate, no idea really.<br>
<br>
</div>I planned to test that thoroughly, since I also noticed some differences in using aplay and pd.<br>
I think I mentioned that here in a different thread.<br>
However, I don&#39;t find the time in moment, so that&#39;ll have to wait.<br>
But I need a proper audio dongle anyway since I need inputs - so my focus is more to get my head around this audio stuff in Linux.<br>
<div class="im"><br>
&gt; It&#39;s a pity that no real serious documentation exists on how the audio works (like the fact that the analog output is switched off when the hdmi in plugged in : is it in the hardware ? can it be configured to not work this way ?).<br>

<br>
</div>sudo amixer cset numid=3 1            should do that  hdmi is a 2 instead of the 1 .<br>
<br>
That&#39;s permanent, if I&#39;m not mistaken.<br>
From:  <a href="http://raspberrypi.stackexchange.com/questions/44/why-is-my-audio-sound-output-not-working" target="_blank">http://raspberrypi.stackexchange.com/questions/44/why-is-my-audio-sound-output-not-working</a><br>

I had the same issue a couple of weeks ago.<br>
<br>
Admittedly I&#39;ve virtually no experience with Linux-audio, I&#39;m spoiled by Macs.  :-\<br>
So I don&#39;t know where alsa puts this information about the outputs.<br>
<div class="im"><br>
&gt; Nicorette is a brand that sells patches to stop smoking in France. I thought it was funny :)<br>
<br>
</div>yeah, it&#39;s an old brand. Just wondered if you try to stay away from cigarettes.  ;-)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt; 2012/8/29 Michael Zacherl &lt;<a href="mailto:sdiy-mz01@blauwurf.info">sdiy-mz01@blauwurf.info</a>&gt;<br>
&gt;<br>
&gt; On 28.8.2012, at 22:53 , Pierre Massat wrote:<br>
&gt;<br>
&gt; &gt; Hi again,<br>
&gt; &gt;<br>
&gt; &gt; just a quick update : I tried running aplay at start-up (the same way I was running Pd), with the same type of audio data (a simple 44,1KHz wav file recorded from the Pd patch i&#39;m testing the Pi with). It sounds much better than Pd on the analog output.<br>

&gt; &gt; So it should be an issue with Pd itself. Perhaps it start to quickly. I dont know...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; just a short note:  did you use a sine-sweep file for your test with aplay? Or something similar smooth and simple?<br>
&gt; I reckon the built-in PWM-output can handle complex sounds better than simple ones.<br>
&gt; I&#39;m having some sort of deja-vu -  didn&#39;t we discuss that some weeks ago?  ;-)<br>
&gt;<br>
&gt; BTW,  nicorette?? :-)<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt;<br>
&gt; &gt; Pierre.<br>
&gt; &gt;<br>
&gt; &gt; 2012/8/28 m.e.grimm &lt;<a href="mailto:megrimm@gmail.com">megrimm@gmail.com</a>&gt;<br>
&gt; &gt; hey pierre,<br>
&gt; &gt;<br>
&gt; &gt; what r u using for line-in? i have one of these:<br>
&gt; &gt; <a href="http://www.amazon.com/gp/product/B0069L9PZA/ref=oh_details_o04_s01_i01" target="_blank">http://www.amazon.com/gp/product/B0069L9PZA/ref=oh_details_o04_s01_i01</a><br>
&gt; &gt;<br>
&gt; &gt; but have not had the chance to try it.<br>
&gt; &gt; im curious what might be the best usb in/out for cheap.<br>
&gt; &gt;<br>
&gt; &gt; i also got this:<br>
&gt; &gt; <a href="http://www.amazon.com/gp/product/B005CLMJLU/ref=oh_details_o02_s00_i00" target="_blank">http://www.amazon.com/gp/product/B005CLMJLU/ref=oh_details_o02_s00_i00</a><br>
&gt; &gt; so i can ssh in on my local network (headless). although i have not<br>
&gt; &gt; tried it w/out the powered usb hub.<br>
&gt; &gt;<br>
&gt; &gt; just my own status update.<br>
&gt; &gt;<br>
&gt; &gt; m<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Aug 28, 2012 at 3:10 PM, Pierre Massat &lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; Hi all,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I succesfully ran Pd on a headless Raspberry Pi (which is no big feat per<br>
&gt; &gt; &gt; se. I&#39;ve written a tutorial here :<br>
&gt; &gt; &gt; <a href="http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/" target="_blank">http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/</a>),<br>

&gt; &gt; &gt; but i&#39;m getting a really heavily distorted sound from the analog output.<br>
&gt; &gt; &gt; No idea why...<br>
&gt; &gt; &gt; Any experience to share?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Cheers,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Pierre.<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; feed your perception: <a href="http://blauwurf.at" target="_blank">http://blauwurf.at</a><br>
&gt; <a href="http://soundcloud.com/noiseconformist" target="_blank">http://soundcloud.com/noiseconformist</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
feed your perception: <a href="http://blauwurf.at" target="_blank">http://blauwurf.at</a><br>
<a href="http://soundcloud.com/noiseconformist" target="_blank">http://soundcloud.com/noiseconformist</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br>