<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.hermann-uwe.de" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Uwe Hermann - Playing audio on the NSLU2 - Comments</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2</link>
 <description>Comments for &quot;Playing audio on the NSLU2&quot;</description>
 <language>en</language>
<item>
 <title>soundcards</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-59230</link>
 <description>&lt;p&gt;Thanks for really usefull article! you can get those same soundcards dirt cheap from dealextreme, 3.98 US dollars, free shipping!. I didn&#039;t know those work for linux, but thanks to you now I do&lt;/p&gt;
</description>
 <pubDate>Tue, 07 Oct 2008 15:21:00 +0200</pubDate>
 <dc:creator>anacron</dc:creator>
 <guid isPermaLink="false">comment 59230 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Unable to Play Streaming WMA/ASX Files with mplayer</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-50020</link>
 <description>&lt;p&gt;Anyone experiencing extremely choppy audio while trying to play online ASX/WMA streams in mplayer? &lt;/p&gt;
&lt;p&gt;Tried all sorts of solutions, from adjusting srate to tweaking -cache control in mplayer options, to no avail. &lt;/p&gt;
&lt;p&gt;Would like to see some input from you guys. &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
 <pubDate>Sat, 19 Jan 2008 21:48:20 +0100</pubDate>
 <dc:creator>meappy</dc:creator>
 <guid isPermaLink="false">comment 50020 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>OSS</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-50002</link>
 <description>&lt;p&gt;Nice, thanks for the OSS sound tip.&lt;/p&gt;
&lt;p&gt;Uwe.&lt;/p&gt;
</description>
 <pubDate>Sat, 19 Jan 2008 11:36:31 +0100</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 50002 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>/dev/dsp (No such file or directory)</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-49999</link>
 <description>&lt;p&gt;I was toying with the idea of purchasing a wireless radio receiver, when I had a light bulb moment, &quot;Why not use my NSLU2 + Debian to play audio?&quot; My Debian Slug has been serving me for about a year plus now, and attaching a USB Audio Device to it would have made it play online radio just as well. Brilliant!&lt;/p&gt;
&lt;p&gt;So off I went, to the computer stores, bought myself the same USB Audio Device called &quot;3D Sound&quot; which you have. I have a full Debian running on my overclocked NSLU2. &lt;/p&gt;
&lt;p&gt;What to do next? That&#039;s when I stumbled on your Blog &lt;/p&gt;
&lt;p&gt;You&#039;re right that the USB Audio Device works out of the box on Debian 2.6.18-4-ixp4xx which is installed in my NSLU2&lt;/p&gt;
&lt;p&gt;For people who plan to use this similar USB Audio Device and run into an error like &lt;cite&gt;/dev/dsp (No such file or directory)&lt;/cite&gt; while trying to play audio, that&#039;s because this device uses ALSA drivers&lt;/p&gt;
&lt;p&gt;mplayer and madplay search for &lt;code&gt;/dev/dsp&lt;/code&gt; which is what OSS programs use&lt;/p&gt;
&lt;p&gt;The following modules will have to be loaded for backward compatibility with OSS (Open Sound System) programs, ALSA uses &lt;code&gt;/dev/snd/*&lt;/code&gt; devices.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;modprobe snd-pcm-oss&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;modprobe snd-mixer-oss&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Reference: &lt;a href=&quot;http://tldp.org/HOWTO/Alsa-sound-2.html&quot;&gt;http://tldp.org/HOWTO/Alsa-sound-2.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That&#039;s it!&lt;/p&gt;
&lt;p&gt;Works like charm :)&lt;/p&gt;
&lt;p&gt;Thanks for the write up Uwe, nice read on the various players that work.&lt;/p&gt;
</description>
 <pubDate>Sat, 19 Jan 2008 06:20:52 +0100</pubDate>
 <dc:creator>meappy</dc:creator>
 <guid isPermaLink="false">comment 49999 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>My experience</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-48770</link>
 <description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;I&#039;m myself trying to configure my Turboslug to do lot of things, which include a music server. I&#039;m writing down all the stuff I&#039;m doing, to publish later on the webserver that is supposed to run on it (not yet online, that&#039;s why my webpage says &quot;Forbidden access&quot;).&lt;/p&gt;
&lt;p&gt;I work on the music part for the moment. My system is a Debian Etch 4.0r0 for now, and MPD runs fine, but only for MP3 and FLAC files. Ogg files (320kpbs I admit) takes up 98%+ of the CPU and are inaudible.&lt;/p&gt;
&lt;p&gt;For MP3s (320kpbs also) it plays at ~7%, better than Mr Hermann it seems. Same for the FLACs, around 8-9%.&lt;/p&gt;
&lt;p&gt;I will try to install the tremor decoder for ogg, and recompile mpd to use it. But I need to switch to testing for it... Or use a backport. I don&#039;t know yet.&lt;/p&gt;
&lt;p&gt;I hope this will be useful to you.&lt;/p&gt;
</description>
 <pubDate>Fri, 13 Jul 2007 07:12:14 +0200</pubDate>
 <dc:creator>Antemaro</dc:creator>
 <guid isPermaLink="false">comment 48770 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Hm, I didn&#039;t notice mixer</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-48769</link>
 <description>&lt;p&gt;Hm, I didn&#039;t notice mixer problems or overdriving problems the last time I tried. I used both passive and active speakers with good success.&lt;/p&gt;
&lt;p&gt;Uwe.&lt;/p&gt;
</description>
 <pubDate>Thu, 12 Jul 2007 21:37:00 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 48769 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>USB Audio working how well?</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-48752</link>
 <description>&lt;p&gt;hi, very interesting article.&lt;br /&gt;
I have exactly the same device as yours as usb audio card but&lt;br /&gt;
I have a problem with the mixer... it does not work!&lt;br /&gt;
The problem is that connecting to a pair of amplified speakers&lt;br /&gt;
it overdrives them and the only solution is to use software mixing but&lt;br /&gt;
it reduces audio quality.&lt;br /&gt;
Do you have the same problem?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jul 2007 18:10:27 +0200</pubDate>
 <dc:creator>Marco Cogoni</dc:creator>
 <guid isPermaLink="false">comment 48752 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>The article is very good </title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-48730</link>
 <description>&lt;p&gt;The article is very good&lt;/p&gt;
</description>
 <pubDate>Tue, 03 Jul 2007 02:58:20 +0200</pubDate>
 <dc:creator>wltuoye</dc:creator>
 <guid isPermaLink="false">comment 48730 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>save flash life</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-46670</link>
 <description>&lt;p&gt;On some (Unslung?) wiki page, I found a recommendation to make /var/log a ramdisk. Since it only said how to copy /var/log to memory but not back (which might be important), here&#039;s mine:&lt;/p&gt;
&lt;p&gt;#!/bin/sh&lt;br /&gt;
# /etc/init.d/mount_var.sh&lt;br /&gt;
# Script section to create ramdisk for /var&lt;/p&gt;
&lt;p&gt;# disable the oom-killer to use the full swap&lt;br /&gt;
/sbin/sysctl -w vm.overcommit_memory=1&lt;br /&gt;
# From JNC : this command does not exist on my slug (release 2.7)&lt;/p&gt;
&lt;p&gt;# better only use /var/log then the full /var&lt;br /&gt;
# following lines might need to be adjusted according to your OS and/or installed services&lt;br /&gt;
/bin/echo &quot;Creating ramfs for /var/log:&quot;&lt;br /&gt;
/bin/mkdir -p /var/oldlog&lt;br /&gt;
/bin/mount -t ramfs ramfs /mnt -o maxsize=256&lt;br /&gt;
/bin/cp -rp /var/log/* /mnt/&lt;br /&gt;
/bin/mount -o bind /var/log /var/oldlog&lt;br /&gt;
/bin/mount -o bind /mnt /var/log&lt;br /&gt;
/bin/umount /mnt&lt;br /&gt;
return 1&lt;/p&gt;
&lt;p&gt;and:&lt;/p&gt;
&lt;p&gt;#!/bin/sh&lt;br /&gt;
# /etc/init.d/umount_var.sh&lt;br /&gt;
# Script section to destroy ramdisk for /var&lt;/p&gt;
&lt;p&gt;/bin/echo &quot;Destroying ramfs for /var/log:&quot;&lt;br /&gt;
#/bin/cp -rp /var/log/* /var/oldlog&lt;br /&gt;
/usr/bin/rsync -au /var/log/. /var/oldlog/.&lt;br /&gt;
/bin/umount /var/log&lt;br /&gt;
/bin/umount /var/oldlog&lt;br /&gt;
return 1&lt;/p&gt;
&lt;p&gt;Together with these links&lt;br /&gt;
lrwxrwxrwx 1 root root  23 May 21 16:35 ../rc0.d/S37umount_var.sh -&amp;gt; ../init.d/umount_var.sh&lt;br /&gt;
lrwxrwxrwx 1 root root  23 May 21 16:36 ../rc6.d/S37umount_var.sh -&amp;gt; ../init.d/umount_var.sh&lt;br /&gt;
lrwxrwxrwx 1 root root  22 May 21 15:34 ../rcS.d/S37mount_var.sh -&amp;gt; ../init.d/mount_var.sh&lt;br /&gt;
I suppose disk write access will be limited to software installs (and some swap, since ramdisk old contents will overflow to swap I suppose)&lt;/p&gt;
&lt;p&gt;Suggestions welcome.&lt;/p&gt;
</description>
 <pubDate>Sat, 02 Jun 2007 10:41:04 +0200</pubDate>
 <dc:creator>Stephen</dc:creator>
 <guid isPermaLink="false">comment 46670 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>mpd</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-44723</link>
 <description>&lt;p&gt;Should run pretty good, lots of people seem to be using it (I haven&#039;t tried yet, don&#039;t need it). There&#039;s a good page in the NSLU2-Linux wiki on that...&lt;/p&gt;
&lt;p&gt;HTH, Uwe.&lt;/p&gt;
</description>
 <pubDate>Tue, 15 May 2007 22:54:15 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 44723 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Mplayer</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-44722</link>
 <description>&lt;p&gt;Yep, true. This is not compiled in the standard mplayer Debian package, though (maybe worth a wishlist bug report)...&lt;/p&gt;
</description>
 <pubDate>Tue, 15 May 2007 22:52:24 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 44722 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Vorbis, Tremor</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-44721</link>
 <description>&lt;p&gt;The &quot;normal&quot; ogg123 is floiting point, thus slow. The tiny program (ivorbisfile_example) uses &quot;Tremor&quot; which is a fixed-point version of the code and works fine (or at least better).&lt;/p&gt;
&lt;p&gt;There&#039;s no Tremor support in ogg123 Debian package (yet), as far as I know.&lt;/p&gt;
</description>
 <pubDate>Tue, 15 May 2007 22:51:02 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 44721 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Fixed Point?</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-44700</link>
 <description>&lt;p&gt;Is that Vorbis decoder the floating point or fixed point version. (I ask this with the understanding that floating point is software emulated by the kernel on ARM processors that don&#039;t have some form of FPU).&lt;/p&gt;
</description>
 <pubDate>Tue, 15 May 2007 21:07:57 +0200</pubDate>
 <dc:creator>mentor</dc:creator>
 <guid isPermaLink="false">comment 44700 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>fixed-point decoders</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-44513</link>
 <description>&lt;p&gt;You should compile mplayer with tremor and libmad and configure it to use those. Then mplayer should work.&lt;/p&gt;
</description>
 <pubDate>Mon, 14 May 2007 17:01:59 +0200</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 44513 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Please do expand on the</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comment-44512</link>
 <description>&lt;p&gt;Please do expand on the &quot;implemented [...] measures to maximize the life time of the USB thumb drive&quot;. I&#039;d think that it is pretty hard to destroy a flash drive, see the article about &lt;a href=&quot;http://www.dansdata.com/flashswap.htm&quot;&gt;swap space on flash drives at Dan&#039;s Data&lt;/a&gt;.&lt;br /&gt;
Regardless of that I&#039;d think that after the garanty on these things (5 or 10 year mostly) runs out, the replacement would would cost almost nothing (Moore&#039;s Law).&lt;/p&gt;
</description>
 <pubDate>Mon, 14 May 2007 13:49:32 +0200</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 44512 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Playing audio on the NSLU2</title>
 <link>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://www.hermann-uwe.de/photoblog/3d-sound-usb-audio-device&quot;&gt;&lt;img src=&quot;http://www.hermann-uwe.de/files/images/3d_sound_usb.preview.jpg&quot; width=&quot;160&quot; height=&quot;120&quot; align=&quot;right&quot; hspace=&quot;5&quot; alt=&quot;3D Sound USB Audio Device&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&#039;m a happy &lt;a href=&quot;http://www.nslu2-linux.org/&quot;&gt;NSLU2&lt;/a&gt; user since a few months now, and I&#039;m using it for all kinds of things, e.g. as a 24/7 remote ssh server at home (using &lt;a href=&quot;http://www.dyndns.com/&quot;&gt;DynDNS&lt;/a&gt; and the &lt;a href=&quot;http://packages.debian.org/unstable/net/ddclient&quot;&gt;ddclient&lt;/a&gt; Debian package), as IRC logger (&lt;a href=&quot;http://packages.debian.org/unstable/misc/screen&quot;&gt;screen&lt;/a&gt; + &lt;a href=&quot;http://packages.debian.org/unstable/net/irssi&quot;&gt;irssi&lt;/a&gt;), etc. etc.&lt;/p&gt;
&lt;p&gt;I was considering multiple options as to &lt;a href=&quot;http://www.hermann-uwe.de/blog/silent-fast-long-living-usb-storage-devices-for-use-as-nslu2-hard-drive&quot;&gt;where/how to install the slug&lt;/a&gt; (USB thumb drive, Compact Flash, disk drive, ...) but I settled with a &lt;a href=&quot;http://www.cyrius.com/debian/nslu2/install.html&quot;&gt;full Debian install&lt;/a&gt; on an 1 GB USB thumb drive for now. I implemented some measures to maximize the life time of the USB thumb drive, maybe I&#039;ll post some info on that later...&lt;/p&gt;
&lt;p&gt;One new thing I&#039;ve been trying lately is to use the slug as an audio player.&lt;/p&gt;
&lt;p&gt;As it doesn&#039;t come with an integrated sound card, you have to use an external USB audio device. I&#039;ve got mine (see photo) from eBay for ca. 5 Euro (+ shipping) and it works out of the box with Linux 2.6.18 using the &lt;code&gt;snd_usb_audio&lt;/code&gt; kernel module. You simply attach it via USB (the module is automatically loaded) and then attach external speakers to it. Here&#039;s an &lt;code&gt;lsusb&lt;/code&gt; of the device:&lt;/p&gt;
&lt;pre&gt;
Bus 001 Device 011: ID 1130:f211 Tenx Technology, Inc.
&lt;/pre&gt;&lt;p&gt;
One problem with playing audio on the slug is the slow CPU. At 266 MHz (and without FPU!) playing audio with &quot;normal&quot; audio players such as &lt;code&gt;mplayer&lt;/code&gt; or &lt;code&gt;mpg321&lt;/code&gt; is not possible. But there are several ways to make the slug play your favorite music. Here&#039;s a list of players I tested and a status report of whether they work at all. If yes, I listed a rough percentage of CPU load resulting from playing the music.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;MP3&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;mplayer, mpg321, aplay, playsound, and splay don&#039;t work.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/madplay&quot;&gt;madplay&lt;/a&gt; foo.mp3&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;17% CPU load&lt;br /&gt;
&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ogg vorbis&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;mplayer, aplay, playsound, and ogg123 don&#039;t work.&lt;/li&gt;
&lt;li&gt;
&lt;pre&gt;
$ apt-get install libvorbisidec-dev
$ cd /usr/share/doc/libvorbisidec-dev/examples
$ make
$ cat foo.ogg | ./&lt;a href=&quot;http://packages.debian.org/unstable/libdevel/libvorbisidec-dev&quot;&gt;ivorbisfile_example&lt;/a&gt; | &lt;a href=&quot;http://packages.debian.org/unstable/sound/alsa-utils&quot;&gt;aplay&lt;/a&gt; -f cd
&lt;/pre&gt;&lt;p&gt;       Result: &lt;span style=&quot;color: green&quot;&gt;40% CPU load&lt;/span&gt;
      &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MOD, XM, S3M, IT, etc.&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/mikmod&quot;&gt;mikmod&lt;/a&gt; foo.mod&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;10% CPU load&lt;/span&gt; (even with compressed MOD files)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;WAV&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/graphics/mplayer&quot;&gt;mplayer&lt;/a&gt; foo.wav&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;10% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/alsa-utils&quot;&gt;aplay&lt;/a&gt; foo.wav&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;10% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/libs/libsdl-sound1.2&quot;&gt;playsound&lt;/a&gt; foo.wav&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;10% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;FLAC&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/flac123&quot;&gt;flac123&lt;/a&gt; foo.flac&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;17% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SPEEX&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/speex&quot;&gt;speexdec&lt;/a&gt; foo.spx&lt;/code&gt;: doesn&#039;t work, 100% CPU load. Any known alternatives?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AU&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ cat foo.au &gt; /dev/dsp&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;3% CPU load&lt;/span&gt; (but sounds crappy)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ cat foo.au &gt; /dev/audio&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;3% CPU load&lt;/span&gt; (sounds better)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/graphics/mplayer&quot;&gt;mplayer&lt;/a&gt; foo.au&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;5% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/alsa-utils&quot;&gt;aplay&lt;/a&gt; foo.au&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;5% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/libs/libsdl-sound1.2&quot;&gt;playsound&lt;/a&gt; foo.au&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;5% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AIFF&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/sound/sox&quot;&gt;sox&lt;/a&gt; foo.aiff -t wav - | &lt;a href=&quot;http://packages.debian.org/unstable/sound/alsa-utils&quot;&gt;aplay&lt;/a&gt;&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;50% CPU load&lt;/span&gt; (a bit stupid, but it works)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Streaming MP3&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ &lt;a href=&quot;http://packages.debian.org/unstable/graphics/mplayer&quot;&gt;mplayer&lt;/a&gt; http://www.example.com/foo.mp3&lt;/code&gt;: doesn&#039;t work, 100% CPU load.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ wget http://www.example.com/foo.mp3 -O - | &lt;a href=&quot;http://packages.debian.org/unstable/sound/madplay&quot;&gt;madplay&lt;/a&gt; - &lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;17% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Streaming Ogg Vorbis&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ cd /usr/share/doc/libvorbisidec-dev/examples&lt;br /&gt;
$ wget http://www.example.com/foo.ogg -O - | ./&lt;a href=&quot;http://packages.debian.org/unstable/libdevel/libvorbisidec-dev&quot;&gt;ivorbisfile_example&lt;/a&gt; | &lt;a href=&quot;http://packages.debian.org/unstable/sound/alsa-utils&quot;&gt;aplay&lt;/a&gt; -f cd&lt;/code&gt;: &lt;span style=&quot;color: green&quot;&gt;40% CPU load&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;a href=&quot;http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer&quot;&gt;SlugAsAudioPlayer&lt;/a&gt; page in the &lt;a href=&quot;http://www.nslu2-linux.org/wiki/&quot;&gt;NSLU2-Linux wiki&lt;/a&gt; might have further information on this topic.&lt;/p&gt;
&lt;p&gt;Feel free to add comments if you know of other audio types which can be played on an NSLU2.&lt;/p&gt;
</description>
 <comments>http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2#comments</comments>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1344">audio</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1785">madplay</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1786">mikmod</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/267">mp3</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1200">mplayer</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1756">nslu2</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1669">ogg</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1784">ogg123</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1757">slug</category>
 <pubDate>Mon, 14 May 2007 03:01:42 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">1263 at http://www.hermann-uwe.de</guid>
</item>
</channel>
</rss>
