<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Parolski.com &#187; xmms-mad</title>
	<atom:link href="http://www.parolski.com/tag/xmms-mad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parolski.com</link>
	<description>Faith, Solaris, and Chicken Korma, by Anton Parol</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:34:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Playing mp3s on OpenBSD 4.3</title>
		<link>http://www.parolski.com/2008/09/06/playing-mp3s-on-openbsd-43/</link>
		<comments>http://www.parolski.com/2008/09/06/playing-mp3s-on-openbsd-43/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 22:50:44 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[hexdump]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[openbsd]]></category>
		<category><![CDATA[openbsd 4.3]]></category>
		<category><![CDATA[xmms]]></category>
		<category><![CDATA[xmms-mad]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=96</guid>
		<description><![CDATA[You can find XMMS in the ports collection, which is great. XMMS will even play you wav files out of the box. To get mp3s to play, you&#8217;ll need to do a little bit more work and also install: xmms-mad which you can find in /usr/ports/audio (presuming thats where you put your ports files) In [...]]]></description>
			<content:encoded><![CDATA[<p>You can find XMMS in the ports collection, which is great. XMMS will even play you wav files out of the box. To get mp3s to play, you&#8217;ll need to do a little bit more work and also install:<br />
<code><br />
xmms-mad</code></p>
<p>which you can find in <code>/usr/ports/audio</code> (presuming thats where you put your ports files)</p>
<p>In unix pretty much everything is a file (<a href="http://www.informit.com/articles/article.aspx?p=424451">some people don&#8217;t like this</a>), including audio devices. So if you fancy listening to some white noise, just <code>cat</code> a file to <code>/dev/sound</code> <img src='http://www.parolski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Its got to be said, the documentation from the bsd guys is very thorough. Its not good enough for them that they get your mp3s playing. <a href="http://www.openbsd.org/faq/faq13.html">They tell you</a> that wav and au files use little-endian byte ordering and signed linear quantization. You could figure this out by reading the header with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hexdump&amp;sektion=1">hexdump(1). </a>Reading the hex of your audio files, wow, thats a bit hardcore! Having said that, if you cared a little bit more and read up what that meant, you might be a better person. Or maybe a little more bitter&#8230;.or maybe neither. Who knows! <img src='http://www.parolski.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Either way, enjoy the audible goodness!<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hexdump&amp;sektion=1"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/09/06/playing-mp3s-on-openbsd-43/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
