RaopX

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
  • 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


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.

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.*
  • Twitter
  • Facebook
  • del.icio.us
  • Digg
  • Google Bookmarks
  • StumbleUpon
  • FriendFeed

264 thoughts on “RaopX”

  1. installed RaopX_v0.0.4.dmg (2.6 MB) on 10.5.8 No Dice! Can not find /usr/local/bin/. Do I have to uninstall before trying to build from source which does not seem to be helping out.

  2. I disabled the AE speaker password but then got :

    Connected to Date-Shake.local.
    Opening AudioQueue
    Bus error

    I tried to move RaopX to applications folder doing the following:

    gregory-sullivan-sullivans-macbook-pro:~ gregorysullivansullian$ mv /usr/local/bin/Raopx ~/Applicatons
    mv: rename /usr/local/bin/Raopx to /Users/gregorysullivansullivan/Applicatons: Permission denied
    gregory-sullivan-sullivans-macbook-pro:~ gregorysullivansullivan$ sudo mv /usr/local/bin/Raopx ~/Applicatons
    Password:
    gregory-sullivan-sullivans-macbook-pro:~ gregorysullivansullivan$ Raopx
    -bash: Raopx: command not found
    gregory-sullivan-sullivans-macbook-pro:~ gregorysullivansullivan$ Raopx
    -bash: Raopx: command not found

    That didn’t work so I tried to reverse the command:

    gregory-sullivan-sullivans-macbook-pro:~ gregorysullivansullivan$ mv /usr/local/bin/Raopx ~/Applicatons no
    usage: mv [-f | -i | -n] [-v] source target
    mv [-f | -i | -n] [-v] source … directory
    gregory-sullivan-sullivans-macbook-pro:~ gregorysullivansullivan$ Rapox
    -bash: Rapox: command not found

    No Dice.
    Did I do something horribly wrong?
    What should I do?

    Also I have installed RaopX multiple times using both methods listed here do i need to uninstall and start fresh??? If so how is that done.

    Thank You,
    Greg

    1. Hi Greg.

      I am afraid you have a few typos among your commands.

      Try this:
      Reinstall RaopX using the installer.
      If/when you get the bus error move RaopX to the /Applications folder:
      sudo mv /usr/local/bin/RaopX /Applications/RaopX

      Now try starting RaopX by running it with the new full path:
      /Applications/RaopX

      ———————————————
      To clear things up:
      In your previous attempt you wrote ~/Applicatons and not /Applications/ which is two errors in one. Instead of moving the executable to the Applications folder you moved and renamed it to a file called Applicatons in your home folder. Which probably works, but then you’ll have to run it by entering Applicatons at the prompt and not RaopX.. where you also made a small typo.. it’s RaopX with capital R and X,( which I admit is stupid)

      Hope it works out.

      -Hersson-

  3. Right on! You are unbeliviably helpful. And I could not have done this with out cutting and pasting your cmmds in. Thank you thank you thank you.

    When are you building RaopX for the Iphone? I think it would be reasonably popular.

    1. You are very welcome :)

      Since Apple added Airplay to iOS 4.2 there is really no need for RaopX on the iPhone.
      (And I should probably fix the bugs in the current version before starting a new project :???: )

  4. Hí,

    Can you help me please?

    I get the following problem:

    Searching for RAOP capable devices
    ERR: gethostbyname: ‘AirPort-Express-van-James-Jones.local.?’
    MacBook-Pro-van-James-Jones:~ JamesJones$

    What do I have to do?

    James

    1. Hi James.

      Would it be possible for you to try and change the name of your AE to something shorter?
      You could also try to add the name and ip of your AE to your /etc/hosts file.

  5. Works great routing GarageBand to Soundflower which RaopX sends to speakers!

    The 9 second delay (buffer) makes it useless to do musical work though. Is there a way to remove the buffer / delay?

  6. Hi , thanks for this , its amazing .

    The command ‘sudo mv /usr/local/bin/RaopX /Applications/RaopX’ to move to the applications was the only way i could get it to work at all .

    Much respect for bringing the music .

  7. Success!
    Many Thanks to Hersson!
    Genius!!
    Tried to install a script for ease ( and to avoid Terminal, but can’t seem to get it work.
    Oh well, will do without

    Cheers

  8. hi, I tried to make it worked but i’m faced to this message

    MacBook-Pro-de-jra:~ jra$ RaopX

    RaopX 0.0.4

    Searching for RAOP capable devices
    ERR: gethostbyname: ‘AirPort-Express-de-DRAP-Jean-Marie.local?’

    can anybody help me with this, I m a noob with a mac terminal

  9. After finally getting RaopX to work all I can hear is the internal microphone on the airport express. Changed audio settings to Soundflower. Any ideas?

    1. @Nathan

      Running RaopX as super user (with sudo) has that effect. I you have to run RaopX with sudo to run it, try moving the executable to your home folder or the /Applications/ directory like described in the “I only get bus error…… ” paragraph above.

  10. Hi there,

    I was about to say I’m having issues.. but then realised my speakers were unplugged from my Airport Express. Thanks so much for this, it’s great, works like a charm!

  11. Hi,
    I have started RaopX yesterday and the app was just perfect. I could play the sound of my computer on my Hi-Fi. Today, I start the app with the Terminal and this is what I got:
    Which device would you like to use
    Enter number and press : 0
    RaopX(536) 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

    Can you explain me how to solve this please? I don’t know how to use the code in the Terminal… Should I uninstall the app and reinstall?

    1. Very interesting.

      This error has been reported a couple of times before, but this is the first time anyone has had a working installation and then later reported an error. I am sorry to say that I don’t know what causes this. If you reinstall and/or get it to work again please post another comment to let others know what you did. Sorry that I can’t be of more help.

      1. same here:

        RaopX 0.0.4

        Searching for RAOP capable devices

        Multiple devices found:
        0) device1.local.
        1) device2.local.

        Which device would you like to use
        Enter number and press : 1
        raopx(44250) malloc: *** error for object 0xd: pointer being reallocated was not allocated
        *** set a breakpoint in malloc_error_break to debug
        ERR: rtspcl_add_exthds: realloc failed: Cannot allocate memory

        1. Hit this after installing the RaopX. Rebooting my Mac fixed this problem. Hope this helps. I noticed only one source can be used to a destination at a time. RaopX will prevent iTunes from using that destination. You need to stop RaopX before using iTunes to that destination.

          1. I have the same problem. It sometimes works, sometimes not. Rebooting doesn’t necessarily solve the problem. Try again in a day or two and it may have fixed itself.

            1. I resolved the problem by turning off one of the two devices. It’s been working fine for a week. I suspect the problem happens only when there are multiple devices on the network.

  12. Will the 10sec delay be fixed in short term? Because of this delay it’s a bit annoying to use RaopX. I cannot check a few songs I like because I have to wait 10sec before I hear the new song and when I skip to the next one, it will take another 10sec before I hear the next song :(

    Also when changing the volume the effect will only be applied after the 10sec delay :(

  13. Also it would be great if there was a very small tiny app or widget like thingy with 2 buttons: switch between 2ch Soundflower/Internal speakers and the second button that will start/stop RaopX selecting a predefined airplay device automatically.

    1. Take a look through the comments. There exists several applescripts made by RaopX users doing almost exactly what you are looking for.

      1. Is itunes then hiding some special features, because it doesn’t need to buffer for 9 seconds ?
        Glad it works here anyway :)
        Kind regards.

  14. Doesn’t work for me :(
    geting error:

    RaopX 0.0.4

    Searching for RAOP capable devices
    ERR: exec_request: request failed, error 500

  15. Super tool! hank you very much. Now trying to avoud the 9 sec delay: Is it possible to deactivate the internal speaker of my Mac and only send the sound to the AE?

Comments are closed.