<?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>James Badger&#039;s Personal Site &#187; Cocoa</title>
	<atom:link href="http://jamesbadger.ca/category/development/cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesbadger.ca</link>
	<description></description>
	<lastBuildDate>Wed, 21 Mar 2012 00:45:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Play Sound (Universal)</title>
		<link>http://jamesbadger.ca/2011/04/04/play-sound-universal/</link>
		<comments>http://jamesbadger.ca/2011/04/04/play-sound-universal/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 01:40:37 +0000</pubDate>
		<dc:creator>James Badger</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Local Talk]]></category>

		<guid isPermaLink="false">http://jamesbadger.ca/?p=106</guid>
		<description><![CDATA[I received some requests to update the Play Sound Automator action to work with newer Macs, so I went and posted the source to Github. Upon restoring the source code from a backup, it was quite a surprise finding out &#8230; <a href="http://jamesbadger.ca/2011/04/04/play-sound-universal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I received some requests to update the <a href="http://jamesbadger.ca/2005/11/16/20/">Play Sound</a> Automator action to work with newer Macs, so I went and posted the <a href="https://github.com/openfirmware/Play-Sound">source to Github.</a> Upon restoring the source code from a backup, it was quite a surprise finding out that it was already a git repo… five years ago!</p>
<p>I also rebuilt a binary version of the action, which is incredibly simple to install: just double-click. It is also compatible with both PPC and Intel Macs, I had success running it with 10.4 on a G4 Mac Mini. You can <a href="https://github.com/downloads/openfirmware/Play-Sound/PlaySound_Universal.zip">download from Github</a> or <a href="http://jamesbadger.ca/wp-downloads/PlaySound_Universal.zip">download from my site</a>.</p>
<p>Additionally, it is now open source so if you see any changes (the code has been changed in over five years), fork it on Github and let me know!</p>
<p>Special Thanks:<br />
<a href="http://stackoverflow.com/questions/5303507/create-universal-automator-action/5343462#5343462">StackOverflow — Create Universal Automator Action</a><br />
<a href="http://googlefodder.tumblr.com/post/287723746/64-bit-automator-and-snow-leopard">Google Fodder — 64-bit Automator and Snow Leopard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jamesbadger.ca/2011/04/04/play-sound-universal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Play Sound</title>
		<link>http://jamesbadger.ca/2005/11/16/20/</link>
		<comments>http://jamesbadger.ca/2005/11/16/20/#comments</comments>
		<pubDate>Wed, 16 Nov 2005 06:47:46 +0000</pubDate>
		<dc:creator>James Badger</dc:creator>
				<category><![CDATA[Cocoa]]></category>

		<guid isPermaLink="false">http://jamesbadger.ca/?page_id=20</guid>
		<description><![CDATA[Notice: Newer version available There is a newer version of the action available, with support for Intel and PPC Macs. Download. You could use the version on this page, but it is only compatible with PPC Macs. Don&#8217;t even try &#8230; <a href="http://jamesbadger.ca/2005/11/16/20/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div style="background-color: #EEE; padding: 1em">
<h2>Notice: Newer version available</h2>
<p>There is a <a href="http://jamesbadger.ca/2011/04/04/play-sound-universal/">newer version of the action</a> available, with support for Intel and PPC Macs. <a href="http://jamesbadger.ca/wp-downloads/PlaySound_Universal.zip">Download</a>.</p>
<p>You could use the version on this page, but it is only compatible with PPC Macs. Don&#8217;t even try to run it on a new Mac. Seriously, it doesn&#8217;t work.</p></div>
<h3>Play Sound</h3>
<p>Version 1.0 &#8211; Nov 15/05</p>
<p>Play Sound is an Automator action that simply tries to play any sound file passed into it. Learn more about <a href="http://www.apple.com/macosx/features/automator/" title="Apple - Mac OS X - Automator">Automator</a></p>
<p>It will accept a list of files, and only play audio files of types AIFF, M4A, MPEG (MP3), WAV, and ULAW. I may add support for more formats in the future, I wasn&#8217;t sure how it would handle trying to play a non-audio file.</p>
<div class="download">
<h3>Download</h3>
<p><a href="/wp-downloads/playsound10.dmg">Download Disk Image &#8211; 208KiB</a><br />
<span class="small">MD5 (playsound10.dmg) = 39fe792f5617cdacd6577489ca4f8354</span>
</div>
<h4>Requirements</h4>
<p>A Macintosh<br />
Mac OS X version 10.4.0 or greater</p>
<h4>Cost</h4>
<p>Free!</p>
<h4>Installation</h4>
<p>Open the disk image after downloading, and open the Installer program. You will be guided through installation. If you prefer to install the file manually, you can drag the file to the location of your choice.</p>
<h4>Getting Started</h4>
<p>After installing the file, open the Automator application in your Applications folder. Try to recreate the workflow below, substituting in a folder of sounds you have on your Mac. If you don&#8217;t know what to choose, try <b>/System/Library/Sounds</b><br />
<img src="/wp-downloads/example_workflow.png" title="A sample workflow" style="border: 1px solid #000" /></p>
<p>You can find the Play Sound action under the System category. If the workflow is correct, it should try to play every sound file in the directory, one after another. You can halt the program at any time by pressing Stop, which will interrupt the currently playing sound.</p>
<h4>Known Issues</h4>
<p>Limited to audio files of types AIFF, M4A, MPEG (MP3), WAV, and ULAW.</p>
<h4>Version History</h4>
<p>Play Sound Action<br />
November 15th, 2005<br />
- First Release</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesbadger.ca/2005/11/16/20/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Widgets &amp; Actions</title>
		<link>http://jamesbadger.ca/2005/11/09/widgets-actions/</link>
		<comments>http://jamesbadger.ca/2005/11/09/widgets-actions/#comments</comments>
		<pubDate>Wed, 09 Nov 2005 22:42:18 +0000</pubDate>
		<dc:creator>James Badger</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://jamesbadger.ca/?p=17</guid>
		<description><![CDATA[I have the &#8220;Play Sound&#8221; Action ready, but actions don&#8217;t have the same type of ease of installation that is found with screen savers, where double-clicking it will install it (either in the user&#8217;s folder, or in the main library &#8230; <a href="http://jamesbadger.ca/2005/11/09/widgets-actions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have the &#8220;Play Sound&#8221; Action ready, but actions don&#8217;t have the same type of ease of installation that is found with screen savers, where double-clicking it will install it (either in the user&#8217;s folder, or in the main library folder). So I wrote a small installation program to handle this, hopefully it is lightweight enough to make it easy for any user, and look nice too. I went for Applescript Studio for the installer (I thought it would be faster to develop), but it makes me appreciate the advantages of Cocoa more, I think.</p>
<p>Also developing a widget. Or two. Both powered by PHP, because a) it&#8217;s installed on Tiger, and b) it&#8217;s really easy to write with. Maybe I&#8217;ll convert them to Cocoa or something later (Cocoa is fast!), but I really want to get some feedback on them.</p>
<p><a href="http://developer.apple.com/macosx/automator.html" title="Apple Developer: Working with Automator">Working with Automator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jamesbadger.ca/2005/11/09/widgets-actions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

