Skip to content

How to turn your Raspberry Pi into an Airplay Receiver to play sounds from your iPhone or Mac

Andrea Cuadra edited this page Apr 12, 2016 · 1 revision

PART I

Follow this guide. It's kind of old, but many of the things that must be changed are available in the comments: http://raspberrypihq.com/how-to-turn-your-raspberry-pi-into-a-airplay-receiver-to-stream-music-from-your-iphone/

Here are I few things I had to do: If make is not working, make sure you don’t just npm install, but also npm update

Shairport has changed a bit so also: $ sudo cp scripts/debian/init.d/shairport /etc/init.d/shairport

and then:

$sudo nano /etc/init.d/shairport

change:

DAEMON=/usr/bin/shairport

to

DAEMON=/usr/local/bin/shairport

change:

USER=shairport

GROUP=nogroup

to:

USER=pi

GROUP=pi

PART II

The sound is not going to be as crisp, so you might want to install a sound card. For that go to the adafruit tutorial: https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi

CONCEPT CLARIFICATION: There are two possible outputs for the sound on your RPi once you plug in the USB sound card. #1 is the default audio jack, and #2 is the one on the card. If you are playing something through your RPi, try both jacks and you’ll see it might play on one and not on the other. You must make sure you’ve given it the right instructions to use the port you intend for it to use.

When you reach the updating-also-config section, make sure you ONLY follow the instruction for the version of RPi you’re using. In my case that was Jessie. There is a section that applies to both versions at the end, make sure not to skip it! https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/updating-alsa-config

Also, access the .conf files you created when setting in the first part and adjust the default settings accordingly as well.

IxE Workshop

For Novices

  1. Unix command review

  2. Hello You Introduction

  3. Log on to your IxE

  4. IxE overview

  5. Run the Hello You example

  6. Understanding Hello You

  7. Logging Out & Shutting Down

Post Novice
0. Logging in as Pi

  1. Preview the larger IxE image
  2. [Project Ideas](Project Ideas)

Also [Related Links](Related Links)

Clone this wiki locally