<?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>&#964;&#949;&#967;&#957;&#959;&#963;&#959;&#966;&#953;&#945; &#187; Music</title>
	<atom:link href="http://lackoftalent.org/michael/blog/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://lackoftalent.org/michael/blog</link>
	<description>The occasional rambling of a digital library artisan</description>
	<lastBuildDate>Sun, 13 May 2012 19:17:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Command-line shuffle</title>
		<link>http://lackoftalent.org/michael/blog/2009/09/26/command-line-shuffle/</link>
		<comments>http://lackoftalent.org/michael/blog/2009/09/26/command-line-shuffle/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 20:50:05 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/?p=500</guid>
		<description><![CDATA[Being a nerd, I tend to like the command-line. When I&#039;m working on my laptop at home, I tend to like listening to music. Before I discovered that mplayer had a really convenient shuffle idiom, I would invoke it thusly (to listen to all my Pavement tracks in shuffle mode): export IFS=$'\n' for track in [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:500"><!-- &nbsp; --></abbr>
<p>Being a nerd, I tend to like the command-line.  When I&#039;m working on my laptop at home, I tend to like listening to music.  Before I discovered that <a href="http://en.wikipedia.org/wiki/MPlayer">mplayer</a> had a really convenient shuffle idiom, I would invoke it thusly (to listen to all my Pavement tracks in shuffle mode):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">IFS</span>=$<span style="color: #ff0000;">'\n'</span>
<span style="color: #000000; font-weight: bold;">for</span> track <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>upnp<span style="color: #000000; font-weight: bold;">/</span>MediaTomb<span style="color: #000000; font-weight: bold;">/</span>Audio<span style="color: #000000; font-weight: bold;">/</span>Artists<span style="color: #000000; font-weight: bold;">/</span>Pavement <span style="color: #660033;">-name</span> \<span style="color: #000000; font-weight: bold;">*</span>.mp3 <span style="color: #000000; font-weight: bold;">|</span> ~<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>shuffle.py<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #c20cb9; font-weight: bold;">mplayer</span> <span style="color: #007800;">$track</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>And the wee shuffle script I whipped together looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/env python</span>
<span style="color: #808080; font-style: italic;"># shuffle.py</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">random</span>
&nbsp;
args = <span style="color: #008000;">list</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">stdin</span><span style="color: black;">&#41;</span>
<span style="color: #dc143c;">random</span>.<span style="color: black;">shuffle</span><span style="color: black;">&#40;</span>args<span style="color: black;">&#41;</span>
<span style="color: #dc143c;">sys</span>.<span style="color: black;">stdout</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span>args<span style="color: black;">&#41;</span></pre></div></div>

<p>And here&#039;s the convenient shuffle idiom that renders my arg-shuffling script somewhat useless:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>upnp<span style="color: #000000; font-weight: bold;">/</span>MediaTomb<span style="color: #000000; font-weight: bold;">/</span>Audio<span style="color: #000000; font-weight: bold;">/</span>Artists<span style="color: #000000; font-weight: bold;">/</span>Pavement <span style="color: #660033;">-name</span> \<span style="color: #000000; font-weight: bold;">*</span>.mp3 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">mplayer</span> <span style="color: #660033;">-playlist</span> - <span style="color: #660033;">-shuffle</span> <span style="color: #660033;">-loop</span> <span style="color: #000000;">0</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2009/09/26/command-line-shuffle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>And what rough beast</title>
		<link>http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/</link>
		<comments>http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 05:15:43 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
				<category><![CDATA[Feeds]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/?p=277</guid>
		<description><![CDATA[Lack of Talent, its hour come round at last, slouches towards podcastdom to be born. It&#039;s late and I&#039;m tired, so here&#039;s the skinny: at the beginning of the year I ambitiously[1] resolved to record one song per month. Instead I&#039;ve serendipitously turned up the LOT recording sessions from July 2005, which we call the [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:277"><!-- &nbsp; --></abbr>
<p><a href="http://lackoftalent.org/music/2009/"><img style="float: left; margin: 5px;" src="/music/2009/burlap_overseas_thumb.jpg" alt="Lack of Talent :: The Burlap Overseas" /></a></p>
<p>Lack of Talent, its hour come round at last, slouches towards <a href="http://lackoftalent.org/music/2009/">podcastdom</a> to be born.  </p>
<p>It&#039;s late and I&#039;m tired, so here&#039;s the skinny: at the beginning of the year I ambitiously[<a href="http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/#footnote_0_277" id="identifier_0_277" class="footnote-link footnote-identifier-link" title="Read: foolishly">1</a>] resolved to record one song per month.  Instead I&#039;ve serendipitously turned up the LOT recording sessions from July 2005, which we call the Burlap Overseas, and which I never really went through.  Now that stuff is backed up six ways from Sunday[<a href="http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/#footnote_1_277" id="identifier_1_277" class="footnote-link footnote-identifier-link" title="Phew.  I am a paranoid backup freak.">2</a>] and I owe it to my fellow Lack of Talenteers to go through all these hours of raw audio and pick out some interesting bits so we have something to build on the next time we get together[<a href="http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/#footnote_2_277" id="identifier_2_277" class="footnote-link footnote-identifier-link" title="Est. 2013">3</a>].</p>
<p>If you&#039;re interested, feel free to subscribe to the podcast and listen along.  Updates will be sporadic, perhaps even spasmodic or spastic.  Now the disclaimers: you should know that LOT was never about songs or practice or technique or order or music, really; we are true to our name[<a href="http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/#footnote_3_277" id="identifier_3_277" class="footnote-link footnote-identifier-link" title="At least I am">4</a>]; it&#039;s about some friends gathering in my grandparents&#039; basement with lots of music gear[<a href="http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/#footnote_4_277" id="identifier_4_277" class="footnote-link footnote-identifier-link" title="We switched instruments often, sometimes even playing the ones we could &amp;#8220;play.&amp;#8221; ">5</a>], even more alcohol, a box fan to keep us cool, a washing machine to clean Gramma&#039;s clothes, and a microphone that runs the whole darned time.  This is booze-soaked sonic experimentation among close friends and even if you hear nothing else, you should hear hints (or squeals, or yawps) of joy amidst the cacophony.</p>
<h5>Notes</h5><ol class="footnotes"><li id="footnote_0_277" class="footnote">Read: foolishly</li><li id="footnote_1_277" class="footnote">Phew.  I am a paranoid backup freak.</li><li id="footnote_2_277" class="footnote">Est. 2013</li><li id="footnote_3_277" class="footnote">At least <em>I</em> am</li><li id="footnote_4_277" class="footnote">We switched instruments often, sometimes even playing the ones we could &#034;play.&#034; </li></ol><br/>
<hr/>]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2009/01/29/and-what-rough-beast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

