<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sound problems on ARM platform]]></title><description><![CDATA[<p>I'm trying to use pd-extended on an ARMv7 platform <a href="http://radxa.com/Rock" rel="nofollow">Radxa Rock Pro</a>.  This is a fairly powerful 4-core ARM Cortex-A9 based system with 2GB of RAM, running Debian Wheezy with kernel 3.0.36.  The pd-extended version is 0.43.4-1, which I've compiled myself from source.</p>
<p>Unfortunately, I've so far been unable to make pd-extended produce any sound. Upon startup it always complains with either a <code>ALSA output error (restart failed): Broken pipe</code> error (when using -audiodev 1) or a <code>error: audio I/O stuck... closing audio</code> error (when using -audiodev 2).  The available audio devices provided by -listdev are as follows:</p>
<pre><code>audio input devices:
1. RK29_RK1000 (hardware)
2. RK29_RK1000 (plug-in)
3. ROCKCHIP-SPDIF (hardware)
4. ROCKCHIP-SPDIF (plug-in)
audio output devices:
1. RK29_RK1000 (hardware)
2. RK29_RK1000 (plug-in)
3. ROCKCHIP-SPDIF (hardware)
4. ROCKCHIP-SPDIF (plug-in)
</code></pre>
<p>(I have no way of testing the SPDIF output).</p>
<p>Note that running <code>speaker-test -t wav -c 2</code> works as expected, and I've added my user to the <code>audio</code> group.</p>
<p>Anyway, has someone managed to get pd-extended running on an ARM-based device?  Is the problem related to PD itself or could there be a bug in the sound driver for this particular board? Or is there something else I should try?  Thanks in advance.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 02:13:19 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/8816.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Nov 2014 12:10:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sound problems on ARM platform on Fri, 28 Nov 2014 12:10:30 GMT]]></title><description><![CDATA[<p>I'm trying to use pd-extended on an ARMv7 platform <a href="http://radxa.com/Rock" rel="nofollow">Radxa Rock Pro</a>.  This is a fairly powerful 4-core ARM Cortex-A9 based system with 2GB of RAM, running Debian Wheezy with kernel 3.0.36.  The pd-extended version is 0.43.4-1, which I've compiled myself from source.</p>
<p>Unfortunately, I've so far been unable to make pd-extended produce any sound. Upon startup it always complains with either a <code>ALSA output error (restart failed): Broken pipe</code> error (when using -audiodev 1) or a <code>error: audio I/O stuck... closing audio</code> error (when using -audiodev 2).  The available audio devices provided by -listdev are as follows:</p>
<pre><code>audio input devices:
1. RK29_RK1000 (hardware)
2. RK29_RK1000 (plug-in)
3. ROCKCHIP-SPDIF (hardware)
4. ROCKCHIP-SPDIF (plug-in)
audio output devices:
1. RK29_RK1000 (hardware)
2. RK29_RK1000 (plug-in)
3. ROCKCHIP-SPDIF (hardware)
4. ROCKCHIP-SPDIF (plug-in)
</code></pre>
<p>(I have no way of testing the SPDIF output).</p>
<p>Note that running <code>speaker-test -t wav -c 2</code> works as expected, and I've added my user to the <code>audio</code> group.</p>
<p>Anyway, has someone managed to get pd-extended running on an ARM-based device?  Is the problem related to PD itself or could there be a bug in the sound driver for this particular board? Or is there something else I should try?  Thanks in advance.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform</guid><dc:creator><![CDATA[smark]]></dc:creator><pubDate>Fri, 28 Nov 2014 12:10:30 GMT</pubDate></item><item><title><![CDATA[Reply to Sound problems on ARM platform on Fri, 28 Nov 2014 13:12:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smark">@smark</a> Can you provide the full flags:<br />
pd-extented -rt -alsa -channels 2 ...?</p>
<p>Also try to use Miller's version first:<br />
<a href="http://msp.ucsd.edu/Software/pd-0.46-2.src.tar.gz" rel="nofollow">http://msp.ucsd.edu/Software/pd-0.46-2.src.tar.gz</a> (source)<br />
<a href="http://msp.ucsd.edu/Software/pd-0.46-2.rpi.tar.gz" rel="nofollow">http://msp.ucsd.edu/Software/pd-0.46-2.rpi.tar.gz</a> (compiled)</p>
<p>Cheers~</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/2</guid><dc:creator><![CDATA[EEight]]></dc:creator><pubDate>Fri, 28 Nov 2014 13:12:44 GMT</pubDate></item><item><title><![CDATA[Reply to Sound problems on ARM platform on Fri, 28 Nov 2014 14:32:01 GMT]]></title><description><![CDATA[<p>These are the two invocations I've tried:</p>
<p><code>pd-extended -path $PATH -open $PATCH -nogui -alsa -channels 2 -audiodev 1</code></p>
<p>and</p>
<p><code>pd-extended -path $PATH -open $PATCH -nogui -alsa -channels 2 -audiodev 2</code></p>
<p>(Where $PATH and $PATCH are my actual directory and file)</p>
<p>The first invocation produces the <code>ALSA output error (restart failed): Broken pipe</code> error, whereas the second produces the <code>error: audio I/O stuck... closing audio</code> error.</p>
<p>I've also just tried the vanilla PD you linked to.  In the &quot;Test audio and MIDI&quot; dialog, I can make it output noise, but nothing else.  Moreover, the debug console shows displays <code>tried but couldn't sync A/D/A</code>, which doesn't sound too encouraging...</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/3</guid><dc:creator><![CDATA[smark]]></dc:creator><pubDate>Fri, 28 Nov 2014 14:32:01 GMT</pubDate></item><item><title><![CDATA[Reply to Sound problems on ARM platform on Fri, 28 Nov 2014 14:47:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smark">@smark</a> try with:<br />
<code>sudo pd-extended -rt -alsa -audiodev 1 -r 48000 -audiobuf 64 -channels 2 -stderr</code></p>
<ol>
<li><strong>-audiobuf</strong> is the latency setting, play with this value (the lower the better, but you might get glitches)</li>
<li>also be sure that no other application is using your soundcard</li>
<li>if you can, install a rt-kernel</li>
<li>run with sudo or tweak /etc/security/limits.conf</li>
</ol>
<p>Good luck,<br />
Cheers~</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/4</guid><dc:creator><![CDATA[EEight]]></dc:creator><pubDate>Fri, 28 Nov 2014 14:47:53 GMT</pubDate></item><item><title><![CDATA[Reply to Sound problems on ARM platform on Fri, 28 Nov 2014 17:00:50 GMT]]></title><description><![CDATA[<p>Thanks for the suggestions.  I've tried as you suggested but had no success, either when running as normal user or as root (using sudo).  I'm now going to experiment with Faust -- if the error persists, then the problem is likely to be related to the audio layer itself.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/5</guid><dc:creator><![CDATA[smark]]></dc:creator><pubDate>Fri, 28 Nov 2014 17:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to Sound problems on ARM platform on Sun, 30 Nov 2014 14:29:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smark">@smark</a> &quot;I can make it output noise, but nothing else&quot;</p>
<p>this is a bit strange...are you sure? noise tends to sound much louder than the sine wave in the &quot;test audio and midi&quot; patch. I tried with a raspberry pi and had to turn the volume quite high to hear the sine wave, where I didn't need to do anything to hear the white noise.<br />
I mean, why would Pd be able to output [noise~] to the sound card, but nothing else?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8816/sound-problems-on-arm-platform/6</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Sun, 30 Nov 2014 14:29:49 GMT</pubDate></item></channel></rss>