RaopX
What is RaopX
RaopX is a Apple Airport Express client for Os X based on raop_play version 0.5.1.
What is the main difference between RaopX and raop_play
The original raop_play lets you stream music files to your Airport Express. RaopX streams any audio that comes in on the default input device of your Mac, and combined with the routing functionality of Soundflower this gives you the ability to stream audio from any application you’ve got on your Mac to the Airport Express.
Requirements
- Xcode Developer Tools – Available from your Os X install DVD, or you can download it from Apple Developer Connection (Only needed if building from source)
- libsamplerate (Secret Rabbit Code) – Get it here (Only needed if building from source)
- Soundflower – Get it here
Install Instructions: Using the installer package
Only for Intel Macs running OS X 10.5 or newer
- Download and install Soundflower – follow instructions
- Enable Soundflower – Set ‘Soundflower (2ch)’ as default input and output device in System Preferences
- Download and install RaopX – Download the RaopX Installer (dmg file) and follow instructions. Installs the RaopX executable and the libsamplerate library into /usr/local/bin and /usr/local/lib
- Start RaopX – Open Terminal.app and enter RaopX at the prompt
Install Instructions: Building from source
- Install Xcode Developer Tools – follow instructions
- Download and install libsamplerate
-
tar zxvf libsamplerate-0.1.7.tar.gz cd libsamplerate-0.1.7 ./configure make sudo make install
- Install RaopX – One of two options
- Option one: Download RaopX_v0.0.4.tar.gz
-
tar zxvf RaopX_v0.0.4.tar.gz cd RaopX_v0.0.4 ./configure make sudo make install
- Option Two: Download and unzip the Xcode project. Open project in Xcode and build it. Copy executable to e.g./usr/local/bin/
- Download and install Soundflower – follow instructions
- Enable Soundflower – Set ‘Soundflower (2ch)’ as default input and output device in System Preferences
- Start RaopX – Open Terminal.app and enter RaopX at the prompt
Know Issues
- 9 seconds delay because of buffering
- No support for ‘iTunes Speaker Password’.
- No Tv support
- Consumes disk space while in use (/tmp/raopxtmpbuffer). Approximately 6-700MB per hour
Downloads
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- RaopX_v0.0.4.dmg (2.6 MB) *Only for Intel Macs running OS X 10.5 or newer
- RaopX_v0.0.4.tar.gz (88.7 kB)
- RaopX_v0.0.4XCode.zip (57.3 kB)
February 5, 2010 - 01:29
Hello,
I downloaded RaopX and Soundflower and keep getting
Macintosh-35:~ sean$ RaopX
RaopX 0.0.4
Searching for RAOP capable devices
Connected to AirPort-Express-13.local.
Opening AudioQueue
Bus error
Im not sure what im doing wrong, im setting it, under system preferences as default input and output but for some reason no sound is coming out of my speakers. Im running MAC OSX 10.5.8
I would appreciate any thing you could tell me to help me out,
Thanks
February 5, 2010 - 21:05
Sean,
I still don’t know why some get the Bus error, sorry.
I am hoping that someone will find out and let us know.
If you built RaopX from source you could try the installer and see if that works, or vice versa.
February 5, 2010 - 16:38
Hi Hersson – tried again today and it works perfectly, so that probably was the problem – I’d only just set up the iTunes AE streaming and it was almost certainly on while I was installing RaopX. Many many thanks for the advice and for writing this brilliant little bit of software!
ian
February 10, 2010 - 23:08
Tried everything you suggested by still have the “Bus error” – not sure how to proceed. Anything else to share about it? -ADR
February 12, 2010 - 12:12
No. Sorry
February 13, 2010 - 20:29
hello.
quick question.
it all seems to work fine up to here:
# Start RaopX – Open Terminal.app and enter RaopX at the prompt
the only problem is that i seem to need to do this last step each time i want to play music and that as soon as i quit Terminal the music stops. I have never used terminal before so not sure if there is a way to save this command or to make it automatic so i dont have to open Terminal each time i want to play music (from spotify).
many thanks for the help,
Alexandre
February 14, 2010 - 12:13
Alexandre,
RaopX needs Terminal. There are ways to make things automatic and you could probably run RaopX in a screen session so you don’t see it, but this is really a very very bad idea. You do not want RaopX running in the background all the time. Even if you are not playing music RaopX will then gradually consume all of your disk space.
What you could do is make a script that starts RaopX every time you start Spotify or something like that.
The first thing you could try is just to make a shortcut to RaopX in you Applications folder.
If you enter this: ln -s /usr/local/bin/RaopX /Applications/RaopX in Terminal.app you should see an icon for RaopX appear in your Applications folder, and if you then double click the icon RaopX should start. It will, as before, start in a Terminal, and if you close the Terminal window RaopX and your music will stop, but at least you don’t have to start Terminal.app and then enter RaopX every time, and this is safe.
Regards,
Hersson
February 16, 2010 - 07:44
I’ve just spent the evening putting together a more automated solution for this. It’s a little cheap, using AppleScript UI scripting to change to SoundFlower input and output, but it does work. Where can I post it?
February 16, 2010 - 07:49
Just threw it into a gist on github:
http://gist.github.com/305357
February 16, 2010 - 21:41
Beautiful!!!
Works like a charm.
Sam, just a little comment, when you kill the process RaopX does not delete the tempfile. It will be the deleted next time RaopX starts so it’s no big deal, but to keep things nice and tidy you should delete the /tmp/raopxtmpbuffer file after killing the process.
Thanks for sharing.
Hersson
March 2, 2010 - 12:20
hello
I have a probleme. I have installed Soundflower 1.5.1 and RaopX 0.0.4 on my Mac OS 10.6.2. This step: “– Set ‘Soundflower (2ch)’ as default input and output device in System Preferences” have I also done. But when I now enter in the Terminal the command RaopX, comes followin return: -bash: RaopX: command not found
Have I done something wrong?
Sorry for the disturbance and my bad English
Valentin
March 2, 2010 - 18:48
Hi Valentin.
Sven reported the same thing happening to him. (See his comment from January 21st).
We sent a few emails back and forth, but unfortunately I was not able to help him much. I don’t know if he later has gotten it to work. Can you try the things I have suggested below and see what happens. If your problem then looks the same as what Sven experienced try and move the RaopX executable to a place where you do have access. e.g /Applications/ and run it from there. You can just do sudo cp /usr/local/bin/RaopX /Applications/ in Terminal. Then /Applications/RaopX. Maybe it works, but you may also get an error because you may not have access to libsamplerate either. Try the things underneath first.
Regards,
Hersson
Edited version of my dialog with Sven.
March 3, 2010 - 04:26
I had problems with the bus error, in my case upgrading to Snow Leopard fixed everything….
Handy script by the way; I made 1 small change, adding a try
before the [tell application "System Events"] as I found not having Access for Assistive Devices enabled made that line fail.
March 5, 2010 - 17:20
Download, installed, and running – all within minutes! Why didn’t I find this sooner? Thank you so much!