<?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>betaplane.org &#187; music</title>
	<atom:link href="http://www.betaplane.org/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betaplane.org</link>
	<description>Arno C. Hammann, Princeton NJ USA</description>
	<lastBuildDate>Tue, 18 Oct 2011 03:57:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>An OS X Service to batch-rename song titles in iTunes</title>
		<link>http://www.betaplane.org/itunes-batch-rename/</link>
		<comments>http://www.betaplane.org/itunes-batch-rename/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 04:21:50 +0000</pubDate>
		<dc:creator>Arno Hammann</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[batch rename]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[song titles]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://www.betaplane.org/?p=437</guid>
		<description><![CDATA[I&#8217;ve always found it annoying that you can&#8217;t make pattern-like changes to the titles of a batch of songs, in the spirit of batch renaming files (admittedly, a bit of a science itself). So, I figured, maybe that&#8217;s finally a reason to learn how to use Automator, and the time spent on it might come [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always found it annoying that you can&#8217;t make pattern-like changes to the <em>titles</em> of a batch of songs, in the spirit of batch renaming files (admittedly, a bit of a science itself). So, I figured, maybe that&#8217;s finally a reason to learn how to use <a href="http://www.macosxautomation.com/automator/">Automator</a>, and the time spent on it might come in useful later on if I ever want to create another Automator workflow. Needless to say, I gave up <sup class='footnote'><a href='#fn-437-1' id='fnref-437-1'>1</a></sup>, except: Automator <em>does</em> let you just package any <a href="http://www.macosxautomation.com/applescript/">AppleScript</a> as a <a href="http://www.apple.com/macosx/what-is-macosx/scripting.html">Service</a> (although only since Snow Leopard, I believe), and that&#8217;s exactly what I did.</p>
<p>Download here: <a href="http://www.betaplane.org/wp1/../downloads/iTbr.zip" onClick="javascript: pageTracker._trackPageview('iTbr'); ">iTunes batch rename workflow</a></p>
<p>Install: unzip, double click install.app<br />
Requirements: OS X 10.6 Snow Leopard (I believe)<br />
Use: select files in iTunes, go to menu iTunes > Services > iTunes batch rename</p>
<p>When invoked from the Services menu, a dialog box asks for a <a href="http://www.perl.org/">Perl</a> substitution pattern of the form <code>s/expr1/expr2/</code> etc, where <code>expr1</code> is a <a href="javascript:searchWWW('perl+regular+expression')" title="search with google">Perl regular expression</a> to be replaced by <code>expr2</code>. The given expression is applied to all song titles, not the file names.</p>
<p>For example, if your song titles all contain the name of the artist, say</p>
<blockquote><p>Telephone (Lady Gaga)<br />
Bad Romance (Lady Gaga)<sup class='footnote'><a href='#fn-437-2' id='fnref-437-2'>2</a></sup></p></blockquote>
<p>you can simply strip it by using the pattern <code>s/ \(Lady Gaga\)//</code> . The backslashes just escape the brackets, which are reserved characters in Perl; if you&#8217;re not familiar with Perl regular expressions, find a nice tutorial on them via the search engine of your choice. </p>
<p>If I see that people are at all interested and download the workflow, I might start implementing more features (of course you might also just do it yourself&#8230;). The first one on my list is to put the songs&#8217; actual filenames in a variable so one can parse them to fill in blank song titles. A semi-natural second follow-up would be the ability to modify the artist field as well. I&#8217;m thinking here of files with a filename containing both artist and title, but devoid of metadata.
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-437-1'>It seems to me that anything I am interested in doing with Automator can either <em>only</em> or <em>much more quickly</em> be done in AppleScript or other script languages&#8230; and that even though I know almost nothing about AppleScript. And btw, I just wanted to try this footnote plugin. <span class='footnotereverse'><a href='#fnref-437-1'>&#8617;</a></span></li>
<li id='fn-437-2'>No, I&#8217;m not a fan, in fact, I couldn&#8217;t care less&#8230; <span class='footnotereverse'><a href='#fnref-437-2'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.betaplane.org/itunes-batch-rename/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A chance concert at the Coffee House</title>
		<link>http://www.betaplane.org/a-chance-concert/</link>
		<comments>http://www.betaplane.org/a-chance-concert/#comments</comments>
		<pubDate>Thu, 18 May 2006 23:29:11 +0000</pubDate>
		<dc:creator>Peter Kwan</dc:creator>
				<category><![CDATA[archive]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.betaplane.org/wordpress/http:/www.betaplane.org/admin/2006/05/21/a-chance-concert-at-the-coffee-house/</guid>
		<description><![CDATA[Yesterday after dinner I was walking in the front court of Graduate College for some fresh air, and for some desperate timeout from my last-minute deep-water-cramp-style preparation for the slide set of my research seminar talk &#8212; my advisor just changed my flow completely two days ago, added to my plate no fewer than 10 [...]]]></description>
			<content:encoded><![CDATA[<div>Yesterday after dinner I was walking in the  front court of <a href="http://www.princeton.edu/%7Egradcol/">Graduate College</a> for some fresh air, and for some desperate timeout from my last-minute deep-water-cramp-style preparation for the slide set of my research seminar talk &#8212; my <a href="http://www.princeton.edu/%7Erblee">advisor</a> just changed my flow completely two days ago, added to my plate no fewer than 10 slides, and I have until Thursday (today) to show her I am capable. Did someone tell you grad school is enjoyable? If so, he or she is not your friend. (I am just kidding, I enjoyed it very much now. Highly recommended.)</div>
<p><span id="more-7"></span></p>
<div>Back to my after dinner business (and it had nothing to do with the toilet, alright?). As I was wandering in the court, what sounded like heavenly music came streaming from the wide open windows of the coffee house, filling the entire courtyard with the passion in the music, blending just right with the spring breeze.</div>
<div>I will be honest  with you: I am a nosy person. So I instinctly dashed towards the coffee house. What I saw was a <a href="http://www.diyweddingphotos.com/b/peterlearnphoto_light.html">well-lit</a> scene of friend betrayal. Maestro Herr Hammann was at the piano, Natalia and Pedro in the audience. How could they possibly do this without telling me? You see. First, you donâ€™t expect a nice old chap like Pedro would betray people. Second, it is not like they have to find me or walk upstairs to my room to tell me or anything. There is this technology, invented by electrical engineers, called the <a href="http://en.wikipedia.org/wiki/Cellphone">cellphone</a>; and Herr Hammann knows my number. At the crime scene his cellphone was sitting right on top of the piano. This was enough for me. I was ready to storm out of the room and sink back to my slides. Perhaps this would give me that extra anger-induced energy to finish the slides in time. I mean come on! There is no excuse.</div>
<div>But really, at the scene, before my anger had any chance of developing into some manly actions, the music had melted it away, and turned it into pure enjoyment. I sat docilely at the back of the room. Herr Hammann played some Chopin, a Brahms, and I think Beethoven Sonata no. 31. On the Beethoven I tried to help the Maestro turn the pages. Jesus, the score is so complicated I could barely follow! But I used to sight-read just this kind of things. (OK. There was another major reason why it was hard to follow. Hammann would know this deep in his heart. Right, Herr? But I won&#8217;t comment here) This made me feel a little sad about my lack of practice on the flute. It seems like I can&#8217;t play that kind of music any more. What a loss! But this is an aside, and did not really hamper the evening. Then the Maestro played one more finale piece, about which I embarassingly asked,</div>
<div>&#8220;What was that piece?&#8221;</div>
<div>The Maestro looked extremely puzzled to my question, plus a hint of &#8220;Duh?&#8221; in his eyes. But with his grace he lightly replied.</div>
<div>&#8220;It was Chopin&#8217;s Ballade,&#8221; without making a fuss out of it.</div>
<div>But you can still read something from what was missing in his answer. It was so obvious to him and Natalia that he did not even mention <em>which</em> Ballade it was! Was it no. 1, or no. 3, or what? I learned my lesson yesterday &#8212; at the end of a piece, if you don&#8217;t have a clue what was played, smile to the pianist and stop there; don&#8217;t even try to applaud for you don&#8217;t know when the piece ends. It is fine, you won&#8217;t look stupid if you don&#8217;t comment or anything; but you are damned if you ask questions like mine, or start clapping as the pianist hits the piano again after a short pause, as required by the composer.</div>
<div>I enjoyed the concert very much. When I was back in my room, I slipped <a href="http://www.amazon.com/gp/product/B0000026FJ/sr=8-1/qid=1147975735/ref=pd_bbs_1/103-2423204-2107837?%5Fencoding=UTF8">Horowitz&#8217;s Ballade</a> (no. 1) into my war-torn CD player. I could not help but realized that Horowitz was not even remotely as good as Herr Hammann. You know, Horowitz never had that touch that Hammann has. He never quite got the buttons right. Hammann is the master of the buttons! I went on to waste the rest of my night in a fantasy. I thought of becoming Herr Hammann&#8217;s agent: we quit PhD, go on tour in the most famous concert halls around the world, autograph CDs, posters, napkins, or anything that is shuffled in front of us by the fans, collaborate with great conductors to play the Rach 3 (oops, I can&#8217;t name even one conductor now, the really good ones are dead, might be except <a href="http://www.pbs.org/wnet/americanmasters/database/levine_j.html">James Levine</a>), mingle with some Hollywood types, sign up with DG, beat the crap out of the old <a href="http://en.wikipedia.org/wiki/Maurizio_Pollini">Pollini</a> in the Grammy Awards in 2008, make a ton of money&#8230;&#8230; and buy a MacBook.</div>
<div>C&#8217;est <a href="http://en.wikipedia.org/wiki/Louis_Armstrong"><em>La Vie En Rose</em></a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.betaplane.org/a-chance-concert/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

