<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-28824016</id><updated>2011-04-22T06:21:21.883+09:30</updated><title type='text'>A geek's wet dream</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ageekswetdream.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28824016/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ageekswetdream.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Harry Potter</name><uri>http://www.blogger.com/profile/07827491008538326425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28824016.post-114924523745287708</id><published>2006-06-02T18:48:00.000+09:30</published><updated>2006-06-02T21:30:08.160+09:30</updated><title type='text'>"Airtunes" for tight arses; the wireless speakers on OS X howto__</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Champagne Lifestyle, Cask wine budget&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I listen to music quite often on my PowerBook whilst studying, but, like most people, I find hearing it through shitty inbuilt speakers sacrilege.&lt;br /&gt;Aside from setting up my desk next to a stereo, the first solution that comes to mind is Apple's Airport Express with Airtunes; this is essentially a wireless router that has a connection to your stereo, and has the ability to play audio from itunes. This all comes at a price, however.&lt;br /&gt;&lt;br /&gt;The following guide will show you how to live the champagne lifestyle  on a  cask-wine  budget (at least with respect to your audio setup..)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The solution&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Thanks to the effort of hard working and hospitible geeks, a free, open-source solution is at hand! (and has been since about 1998) Its name - the Enlightenment Sound Daemon (esd).&lt;br /&gt;The enlightenment sound daemon is essentially a network-transparent audio protocol, in many  ways is analagous to X11 with graphics (if you don't know what X11 is, then you're not geeky enough for this tute... Buy an airport express)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What you'll need&lt;br /&gt;&lt;/span&gt;This guide covers wireless audio streaming on my powerbook, so from here on I'm going to assume that you have a macintosh, running OS X.&lt;br /&gt;&lt;br /&gt;For your "sound-transmitter" you'll need&lt;br /&gt;&lt;ul&gt;&lt;li&gt;An installed copy of DarwinPorts (get it from http://www.darwinports.org/getdp/)&lt;/li&gt;&lt;li&gt;A copy of &lt;span style="font-weight: bold;"&gt;Audio Hijack Pro  (&gt;1.3) &lt;/span&gt;by Rogue Amoeba (http://www.rogueamoeba.com/audiohijack/) -- If you buy nothing else, I'd highly recommend purchasing this program... Its like a swiss army knife for all of your audio recording needs&lt;/li&gt;&lt;li&gt;Music!&lt;/li&gt;&lt;li&gt;(optionally if you're too cheap to even buy Audio Hijack) - &lt;span style="font-weight: bold;"&gt;SoundFlower and Soundflowerbed -- &lt;/span&gt;top notch loopback sound drivers. Get them from http://www.cycling74.com/products/soundflower&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;For your "sound-receiver" you'll need&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A physical connection into a stereo or a set of speakers&lt;/li&gt;&lt;li&gt;A computer GNU shell-like-environment. Eg linux, cygwin, darwin, etc&lt;/li&gt;&lt;li&gt;The Englightenment sound daemon installed (HINT: if you're using cygwin, you can install the englightenment sound daemon using setup.exe)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Setting up the sound receiver on the stereo-connected machine&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;I've got 2 "sound-receiver" access points; an old Toshiba Tecra500 (pentium 120) in the loungeroom running gentoo-linux, and a P3-700 with windows XP (with a complete cygwin installation) I'll describe how to set up the latter:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;open a cygwin bash shell&lt;/li&gt;&lt;li&gt;run:&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 1px solid black; padding: 0.5em 1em; overflow: auto; text-align: left; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); font-size: small; font-family: monospace;"&gt;esd -tcp -public&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:times new roman;"&gt;Essentially this command starts up the Enlightenment sound daemon and allows it to receive sound from other ip's.  You should hear a funky  sound , denoting that &lt;span style="font-family:courier new;"&gt;esd&lt;/span&gt; is correctly up and running . If no sound is heard, then something isnt working, and you should read the esd manual and perform the usual troubleshooting procedures before proceeding.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;setting up your Macintosh to send audio to your sound-receiver&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt; Ensure that you've got darwinports installed (thats, right, DarwinPorts)&lt;/li&gt;&lt;li&gt;Install the enlightenment sound daemon using ports:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 1px solid black; padding: 0.5em 1em; overflow: auto; text-align: left; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); font-size: small; font-family: monospace;"&gt;sudo port install esound&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;This may take some time, particularly if you're on a G3 or early G4. Grab a coffee, take a slash, etc&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt; Open Audio Hijack Pro. Choose your audio source (eg iTunes), and hit "effects" in the lower-right-hand corner of the window.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt;Click to insert an effect. Choose "4FX effect--&gt; Pipe Dream". Your audio Hijack window should now appear similar to the following:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/7365/3037/1600/audiohijack.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 467px; height: 388px;" src="http://photos1.blogger.com/blogger/7365/3037/320/audiohijack.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt; Ensure that the "pipe dream" effect is not being bypassed. Click on "Editor". A Pipe Dream script editor should now appear. On the lower-left-hand-side of this dialog there should be a pulldown menu with "Custom" written on it. Enter the following script (and save it somewhere):&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div style="border: 1px solid black; padding: 0.5em 1em; overflow: auto; text-align: left; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); font-size: small; font-family: monospace;"&gt;&lt;&amp;0 esdcat -s YOUR-RECEIVER-IP_HERE&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt;Hit Start.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt;Back in the Audio-Hijack main window, hit "Hijack".&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt;With a bit of luck, your iTunes audio should now be playing in your remote computer!&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For the uber tight arses, who can't even afford Audio Hijack.&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Install DarwinPorts and esd (as mentioned above)&lt;/li&gt;&lt;li&gt;Install soundflower.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Open up "System preferences" and hit sound. Set up "Soundflower 2-ch" as your default audio INPUT and your default audio OUTPUT device, and close the preferences pane.&lt;/li&gt;&lt;li&gt;Open up a terminal window, and enter the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 1px solid black; padding: 0.5em 1em; overflow: auto; text-align: left; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); font-size: small; font-family: monospace;"&gt;esdrec | esdcat -s your-sound-receiver-ip-here&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt;your Mac's entire sound output should now be forwared to the remote machine.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28824016-114924523745287708?l=ageekswetdream.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ageekswetdream.blogspot.com/feeds/114924523745287708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28824016&amp;postID=114924523745287708' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28824016/posts/default/114924523745287708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28824016/posts/default/114924523745287708'/><link rel='alternate' type='text/html' href='http://ageekswetdream.blogspot.com/2006/06/airtunes-for-tight-arses-wireless.html' title='&quot;Airtunes&quot; for tight arses; the wireless speakers on OS X howto__'/><author><name>Harry Potter</name><uri>http://www.blogger.com/profile/07827491008538326425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
