Friday, February 8, 2013

AirPlay with RaspberryPi

I spend a lot of time in my garage tinkering and like to listen to music while I'm out there.  Typically I used my iPhone with Rhapsody, but as you can image the sound is not so good.  I heard about a project of turning a RaspberryPi into an AirPlay device.  I thought this would be a great "add-on" to my RPi already in the garage for motioning and controlling my garagedoor opener. (see here for that project: https://github.com/smanders7/garagedooropener).   I use AirPlay a lot around my house mainly with Rhapsody.  I have been a Rhapsody subscriber for many, many years.  I use it with an Airport Express on my main receiver in my Family Room.  I occasionally use AirPlay to stream music/video to a couple of Apple TVs too.  I also have a squeezebox there in case I don't want my Phone to be used as the source.  

Quick Analysis:
  • RPi audio out is PWM which is not very good quality...at all.
  • But its in my garage, does it matter?
  • I have an extra set of Bookshelf speakers in a closet, could I reuse those?
  • I have a nice USB DAC with Burr Brown chips call TotalBit Head that is lightly used.  Could I repurpose it.  Would standard sound drivers on RPi be enough?
    • Is it quick to get working?
  • I have a set of older computer speakers that are technically amplified
Decision for now:
Get AirPlay working with existing sound on RPi and with Computer Speakers to get proof-of-concept working.  Also see how much I use it before investing time and maybe money.

Status:
Last night I was able to get the AirPlay software all running with the PC speakers connected.  I'm a little surprised I have to really crank up the Speaker Volume high to get any significant sound.  The volume on the iPhone is all the way up.  Anyway, we will see how it goes.  BTW, I used this guide to get it going, but I skipped the 3rd DAC part.

Areas of discussion...

Here's a list of projects I have done in the past, let me know if there are any you would like to see more details on...

  • Home network/infrastructure and planning
    • Equipment
    • Basic Home Automation
    • Garagedoor Status and Control via RaspberryPi and iPhone
    • Alarm System Basics (ADT Pulse)
    • X10 along with iPhone Control
    • Fully wiring a home post construction
  • Cars
    • 2015 Nissan GT-R Premium
      • Replaced Tires with Michelin Pilot Super Sport
        • Front 285/35ZR-20
        • Rear  295/35ZR-20
      • Otherwise Stock
    • SOLD - 2008 Mitsubishi Evolution MR
      • Evo X
      • Bolt-ons
      • ECU Modifications
        • Tuning (Boost, Timing, Fuel Mix)
        • 3rd Party ECU Firmware
    • SOLD - 2003 Mitsubishi Evolution GSR
      • Evo 8
    • SOLD - 2000 Honda S2000
    • SOLD - 1995 Mitsubishi Eclipse GS-T
    • Working on Cars in general
    • CarComputer with ignition integration
    • HPDE (High Performance Driver Education)
    • Autocross
  • Workbench/Tools/Organization/Garages
  • Financial
    • Trading Futures
    • Automated Trading
    • Tradestation
    • Probabilities Trading Integrated with Mechanical Trading
  • Sports
    • Table Tennis
      • Equipment
      • Technique
    • Mountain Biking
      • Just getting back into it
      • Really enjoying it
    • Golf
      • Equipment
      • Raleigh area courses
    • Racquetball
      • Equipment
    • Tennis
      • Tough on the body/back
      • Only have so much time so pulling back from tennis at the moment
  • Music
    • Trombone
      • Playing in Raleigh Civic Symphony
      • Equipment
    • Playing Piano
    • Tuning Pianos
  • RC
    • Cars
      • 1/8 Electric Buggies
      • SCT 4x4
      • Crawlers
      • Micros
      • Rally
      • Bashers
      • Transmitters
      • Chargers/Batteries
      • Racing/Local Tracks
    • Planes/Helicopters
      • Trainer Plane
      • Transmitters
      • Micro Helicopters
      • Simulators
  • Home Audio/Video
    • My Setups