What is RaopX
RaopX is a Apple Airport Express client for Os X based on raop_play.
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)







after typing RaopX i get: command not found
greetings
Sven,
you’ve got to help me out with a bit more info than that.
At least let me know which install method you have tried and version of Os X you are using?
Hersson
Hersson – I just wanted to add my voice to the chorus of thanks – everything was up and running (and streaming) in minutes without any hitches at all. Thanks.
That’s what I like to hear!!
Thanks Nat, made my day
Hersson
Hi Hersson – another thanks for making the program, I’m on 10.5.8 and get the error message
ERR: exec_request: request failed, error 453
after running the installer package, not building from source…
Hope you can help!
ian
Hi Ian.
According to the RTSP error codes 453 is Not Enough Bandwidth.
I have seen this when I have had iTunes streaming to the AE and then try to start RaopX.
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
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.
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
Tried everything you suggested by still have the “Bus error” – not sure how to proceed. Anything else to share about it? -ADR
No. Sorry
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
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
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?
Just threw it into a gist on github:
http://gist.github.com/305357
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
very cool! It didn’t work for a German OSX though, so I forked it and added some global variables to make it work…
and I added the deletion of the temporary /tmp/raopxtmpbuffer file on quit
Where can i get this version, with the deletion on quit?
http://gist.github.com/377275
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
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.
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.
Download, installed, and running – all within minutes! Why didn’t I find this sooner? Thank you so much!
I get the following error:
RaopX 0.0.4
Searching for RAOP capable devices
ERR: gethostbyname: ‘Marloes-Hollemans-AirPort-Express.local.?’
Does anyone knows what it means and how i can solve this? Mac 10.6.2.
This has to do with the name. I really do not know anything about this all: but if you have spaces in the name of your Airport Express it doesn’t work. At least, when I changed my Airport Express name to something without spaces, I did not get that problem anymore. (I do have another problem: I think Soundflower does not recognize my Airport. In soundflowerbed, it does not see it, and if I enable Soundflower as input and output in system preferences I get no sound – additionally, is says “The selected device has no output controls”. Anyone know what I do wrong?)
I had a bus error on Snow Leopard.
After the package installation,
I moved the RaopX command from /usr/local/bin to anywhere like ~/bin, then the problem disappeared.
I have not looked into the detail, so I don’t know why this fixes.
Hope this helps.
Hi, installed Raopx which works ok!
But, after starting I get this message in Terminal:
RaopX 0.0.4
Searching for RAOP capable devices
Multiple devices found:
0) AirPort-Express-Colette-Beneden.local.
1) Airport-Express-Colette-Boven.local.
Which device would you like to use
Enter number and press :
******I would like to use both devices. How do I enter this
in Terminal? I tried all kinds of combinations but nothing seems to work.
Hi Colette.
There is currently no support for streaming to multiple devices simultaneously
HiHersson, I’am a little sad…. But still thanx for your reaction.
Hi!
I’m having a similar issue as posted by Bruno on 3 December 09. Although I’ve installed Soundflower and RaopX and selected soundflower 2ch for both input and output, when I run RaopX while playing something on spotify, it still streams the sound from the internal mic.
In the system preferences, I see the input level is linked to the song playing rather than the mic.
Running OS 10.6.2.
Any ideas or help would be great! Cheers, Gen
Hi Gen.
Try reinstalling Soundflower and see if that helps.
Hersson
Is it just me, or is the song being played slowly?
I hope it’s just you, or that you have mixed the samplerate frequencies.
Soundflower must be set at 44.1kHz
Getting an error here:
Multiple devices found:
0) Aiport-Express-1–Woonkamer.local.
1) Airport–werkkamer.local.
Which device would you like to use
Enter number and press : 0
raopx(474) malloc: *** error for object 0xb: pointer being reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug
ERR: rtspcl_add_exthds: realloc failed: Cannot allocate memory
Bus error problems
Launched as su (sudo raopx) and that allowed roapx write access to the tmp directory.
I don’t know about the rest..but i installed sunflower.. then RaopX..opened terminal, followed instructions. .got an error.. i shut down iTunes and anything else that was using audio, shut down terminal and restarted terminal, followed instructions again AND bingo it works like a CHARM… dude thank you for making this,
I am on OSX 10.6.3 with intel core 2 duo and 4 gigs ram.. you my friend are freaking brilliant..
Oh and as far as routing.. i used system prefs while sunflower was open in the Audio/midi utility.. as I changed the prefs in system prefs, i could see the settings change in the audio/midi util. because i had an annoying feedback loop, but its all resolved now.. listening to online radio streaming to airport express.. brilliant