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 audio 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
tar zxvf RaopX_v0.0.4.tar.gz cd RaopX_v0.0.4 ./configure make sudo make install
Known 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
I only get ‘Bus Error’, ‘Segmentation Fault’ or ‘Command not found’
Possible workaround: See if you can find the RaopX executable by running ‘ls -l /usr/local/bin’ (without the quotes). if you get permission denied, try with sudo. If the file is there, try moving it to e.g your home folder or the Applications directory and run it from there. (HowTo)
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)
Uninstall Instructions
Open Terminal.app and cut and paste the following commands. One line at a time.
sudo rm /usr/local/bin/RaopX sudo rm /usr/local/lib/libsamplerate.* sudo rm /private/var/db/receipts/com.hersson.raopxVersion004.*
Why doesn’t my comment show up among the others
First of all: Thanks to everyone for taking the time try RaopX and especially to all of you posting comments, but as of today (22nd of November 2011), I will not approve and publish comments with questions answered several times before. There are now approximately 250 comments on this page, which makes it tedious to browse through for anyone looking for a solution to a problem. I’ll keep the comments open for anything new, but will not approve and publish anymore duplicates. It’s now a little over two years since I posted this, and I think all of the more common questions have been answered to some extent. Some only with a ‘I don’t know..’, but that has not changed. Lately there has been an increase in comments about how to uninstall, so I have just added a small section on how to do that. If you post a comment and it doesn’t show up. Please take the time to read through what is already here, or you can contact me on twitter. Also in regards to the ‘thank you’ comments, I really appreciate them, but for the reason mentioned I won’t publish anymore of them.
Thank you.







Dear all,
Perhaps someone can recommend a good way to deal with the buffering delay? I am trying to sync up the VLC player, and setting Audio Desynchronization Compensation to -9000ms doesn’t produce accurate results. Again, thanks for your patience and any comments are appreciated.
whenever i try to connect to one of my 2 airports i get this message,Raopx(1214) malloc: *** error for object 0×2: pointer being reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug
ERR: rtspcl_add_exthds: realloc failed: Cannot allocate memory
is there a fix for this?
This is very cool if it works but I just got everything up and running and the audio that streams from Chrome via Soundflower to my AirportExpress is playing slower than it should. Any thoughts or options to change the playback rate? Thanks. Jeff
@Jeff
You haven’t by any chance set the sample rate for Soundflower to 48kHz? That would cause a similar effect. Setting it to 44.1kHz should fix it though.
Any idea for streaming to airport with Mac OS X Version 10.4.11?
Thanks
@Mark
You’ll have to build RaopX and libsamplerate from source,
I have not tried this myself, but I don’t know of any reason why it wouldn’t work on 10.4.11.
Hey at first all i got was a bus error but now I get this:
RaopX 0.0.4
Searching for RAOP capable devices
ERR: exec_request: request failed, error 453
what do i do? i’m REALLY low tech please help!
hi. similar problem.
how did you get rid of the bus error?
Thank you so much for your help.
Regards
Daniel
@Daniel M
Try moving the executable currently located in /usr/local/bin/RaopX to e.g you home- or Applications folder.
and I’m still getting a bus error
RaopX 0.0.4
Searching for RAOP capable devices
Connected to .
Opening AudioQueue
Bus error
it’s working now, not sure how but it is. thanks so much for this great way of streaming!!
@Sylverminx
You’re welcome. Glad you worked it out.
Excellent little util. Shorten that 9 sec buffer delay and it’ll be amazing.
Thanks for providing this.
thanks fior developing this alternative solution to wireless audio in Macs…
However I noticed my delay is of about 24 seconds and the pitch of the songs is considerably lower than normal (makes sound a Tenor like a Baritone and a Baritone like a Bass).
I am running a Macbook late 2007:
- 2.2 GHz Intel Core 2 Duo,
- 4GB 667Mhz DDR2 SDRAM and
- very limited hard drive space (2.11GB left!)
Any insights on how can I solve these issues?
@Mr. Drive
I don’t know why you are experiencing a 24 second delay.
The lower pitch might be caused by a mismatch in samplerates between RaopX and Soundflower.
Comment by Arnaud on December 6th 2009:
Getting this:
tecnoluxs-macbook:~ TECNOLUX$ RaopX
RaopX 0.0.4
Searching for RAOP capable devices
No RAOP capable devices found
Appreciate your support…
@Juan
Not much to say really.. is your AE powered on? Does it work with iTunes.. either way RaopX can’t find it? Do you have a very slow network or maybe weak signal?
i ve installed both and when i try to open raopx in terminal i get this error
Searching for RAOP capable devices
ERR: gethostbyname: ‘sam-howard-williamss-AirPort-Express.loc?’
any ideas?
@Sam
RaopX failed to resolve the hostname and get the ip of your AE.
Someone made a comment about this earlier and suggested to change the name of the AE to something shorter.
Maybe that will work for you as well
I just keep getting the bus error. Have tried restarting and reinstalling. Any ideas?
Have you tried moving the executable to e.g your Applications folder?
hey
the install is comleted but I can not open the program raopX anythere .. its not working on my macbook p.
need help tks !
@phil
What do you mean when you say you can not open the program anywhere? Is the problem that you can’t find the executable, which is named RaopX and not raopX by the way, or have you tried to move it from the default location and it still does not run?
@Hersson
I followed the instructions, but when I run “RaopX” in terminal (without quotes) I get:
command not found
Ideas?
@Aaron
I’ve noticed some issues with the default install path for RaopX (/usr/local/bin/). Some seem to get the ‘Bus Error’ and others can’t access the file at all. I am guessing you are in the latter category. See if you can find the RaopX executable by running ‘ls -l /usr/local/bin’ (without the quotes). if you get permission denied, try with sudo. If the file is there, try moving it to e.g your home folder or the Applications directory and run it from there.
Hersson
@Hersson
Worked perfect! Thanks much. Hopefully the 9 second delay can be fixed one of these days but this is awesome.
I don’t get it. Installed everything fine. Set Soundflower input/output to 2ch as instructed in SysPrefs. Clean start using ->sudo RaopX. Should I be able to get a stream playing in Safari to my AE speakers? Should Soundflower be set to None (OFF)? If it’s set to Built-in Output then my laptop speakers play the stream like normal. The only thing I hear out of my AE speakers are sounds from the internal microphone even though I set input to Soundflower (2ch) in SysPrefs. In fact, I can see the input level indicators moving as they should to the stream in Safari. So that part is working! It’s just not making it to my speakers – except for sounds from the internal microphone. OK, so my Airport utility shows I have a password set for the speakers! That’s that problem, right? Well, it says I need a password and won’t let me update it w/o one. Thoughts?
@JD
Drop the sudo, and just enter RaopX.
If I drop the sudo, I get this:
[jdmac:/usr/local/bin] % RaopX
RaopX 0.0.4
Searching for RAOP capable devices
Connected to AirportX.local.
Opening AudioQueue
Segmentation fault
Thanks again for any suggestions!
@JD
See my response to Aaron from October 22nd.
Try moving the RaopX executable from /usr/local/bin/ to e.g your home- or the Applications folder.
Sorry – forgot to mention that I did try that one also.
[jdmac:~] % RaopX
RaopX 0.0.4
Searching for RAOP capable devices
Connected to AirportX.local.
Opening AudioQueue
Segmentation fault
@JD
Then I don’t know, sorry.
Maybe you can try and build from source and see if that helps?
Works great! THANKS!
@ALI
You are welcome. Thanks for the comment.
Everythong works like a charm. But if I want to watch a youtube video the 9 seconds delay ruin everything. Is there a way to work with this delay, so I can lipsynch the videos?
e.g. +9 seconds.
that would make this software very very useful.
Still it works very well.
@luckyo
If the delay was constant at 9 seconds you probably could do something without that much work to delay youtube accordingly. Unfortunately the delay is drifting slightly which makes it almost impossible. It has to be done right. RaopX ain’t written with that in mind.. I made it just to be able to play music from Wimp (Norwegian Spotify competitor) on my stereo, but the source is here for you to download.. be my guest, use it and fix it
Best regards,
Hersson