<?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>blog.humaneguitarist.org &#187; transcripts</title>
	<atom:link href="http://blog.humaneguitarist.org/tag/transcripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.humaneguitarist.org</link>
	<description>discoveries in digital audio, music notation, and information encoding</description>
	<lastBuildDate>Tue, 07 Feb 2012 03:33:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>segmenting audio with AudioRegent, SoX and XML</title>
		<link>http://blog.humaneguitarist.org/2010/01/16/segmenting-audio-with-audioregent/</link>
		<comments>http://blog.humaneguitarist.org/2010/01/16/segmenting-audio-with-audioregent/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:05:39 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[digital audio]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[AudioRegent]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[SoX]]></category>
		<category><![CDATA[transcripts]]></category>

		<guid isPermaLink="false">http://blog.humaneguitarist.org/?p=697</guid>
		<description><![CDATA[For some reason I&#160;feel obligated to point out that I&#160;haven&#8217;t blogged in a while for a few reasons: Christmas break from school/work at the University of Alabama the desire not to blog for the sake of blogging and &#8230; I&#8217;ve been working on something huge &#8211; at least for me. It&#8217;s a piece of software [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason I&nbsp;feel obligated to point out that I&nbsp;haven&#8217;t blogged in a while for a few reasons:</p>
<ol>
<li>Christmas break from school/work at the University of Alabama</li>
<li>the desire not to blog for the sake of blogging</li>
<li>and &#8230;</li>
</ol>
<p>I&#8217;ve been working on something huge &#8211; at least for me. It&#8217;s a piece of software called AudioRegent that harnesses XML to create derivative &quot;clips&quot; of regions within WAV audio files. <em>A region is simply a user-defined segment within an audio file, like a track on a Compact Disc.<br />
</em></p>
<p>Besides writing the program in Python, which I&nbsp;pretty much finished in December, I had to also develop the XML format which I&nbsp;call <a href="http://blog.humaneguitarist.org/projects/audioregent/#SimpleADL">SimpleADL</a> (Simple Audio Decision List) that AudioRegent looks at and then makes derivative audio clips by leveraging <a href="http://sox.sourceforge.net/">SoX</a>, the Sound Exchange command line audio editor. AudioRegent and SimpleADL can also be used to sync audio to text, like transcripts.</p>
<p>Actually, the programming and devising SimpleADL were the easy part. The hard stuff was the documentation and deciding on a license for the software.</p>
<p>I&nbsp;tried to find a balance in documenting the software: being thorough without writing a novel. I&#8217;m not sure I&nbsp;succeeded, but I can always improve it with time.</p>
<p>I used the W3C&#8217;s <a href="http://www.w3.org/Amaya/">Amaya</a> editor to write the documentation in XHTML. Sure, you can use OpenOffice to export a document to XHTML, but man is it bloated and messy. Amaya writes really clean XHTML.</p>
<p>As for the license, I&nbsp;chose the <a href="http://creativecommons.org/licenses/BSD/">BSD license</a>. As I&nbsp;understand it, this allows one to use the source code at will in future open or closed-source applications as long as you maintain the credits for AudioRegent. I&nbsp;was tempted to use the <a href="http://www.mozilla.org/MPL/">Mozilla Public License</a> (MPL) which, again from what I&nbsp;can tell, is similar to the BSD license except that any source derived from AudioRegent would have to stay open-source though any peripheral code can be closed-source. I absolutely decided against the <a href="http://www.gnu.org/licenses/gpl.html">GNU&nbsp;General Public License</a> which is viral and imposes its philosophy perpetually on all subsequent code, even peripheral code. Some have even argued that it works against its own objectives and is <a href="http://croftsoft.com/library/tutorials/gplmpl/">less &quot;open&quot; than the MPL</a>.</p>
<p>Now I&nbsp;realize that, practically speaking, a skilled programmer could write better code from scratch in 30 minutes as opposed to the some 30 hours I&nbsp;needed, but I&nbsp;wanted to go about this quasi-professionally. And I&nbsp;learned more about licensing, which was cool.</p>
<p>Anyway, rather than try and explain the software itself and how to get it, I&#8217;d be better off pointing you to the <a href="http://blog.humaneguitarist.org/projects/audioregent/">documentation</a> if you have any interest &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.humaneguitarist.org/2010/01/16/segmenting-audio-with-audioregent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

