Category Archives: doubleTwist

Amplify your music with MagicPlay and the Raspberry Pi

MagicPlay is an open cross-platform audio streaming standard (think “HTTP for music”) that supports synchronized streaming to multiple speakers (like Sonos). For more details, see this Verge story. In the near future you’ll be able to buy WiFi speakers, TVs and other products that come with MagicPlay support out of the box. If you want to try MagicPlay right now, you can turn an existing device such as the Raspberry Pi into a MagicPlay device and stream music to it using doubleTwist Music Player for Android.

Prerequisites:

If you would like to skip building the source code, you can download a binary package instead.

1. Download the AllJoyn source code (AllJoyn is a P2P framework developed by Qualcomm to power the Internet of Things).
2. Unzip the AllJoyn code: tar -zxvf alljoyn-3.3.0-src.tgz; cd alljoyn-3.3.0-src
3. Clone the following two repositories:

4. Apply this patch: zcat magicplayd.diff.gz | patch -p0
5. Build AllJoyn library: make OS=linux CPU=armhf VARIANT=release
6. Build and install audio service: cd services/audio; make CPU=armhf; sudo make CPU=armhf install

The MagicPlay service (/etc/init.d/magicplayd) has now been installed and will automatically start on boot.

Note that if you want to use a USB sound card with MagicPlay on the Raspberry Pi, you will need to modify services/audio/src/posix/ALSADevice.cc prior to step #7 and replace “plughw:0,0″ with “plughw:1,0″ and “hw:0″ with “hw:1″ (since the USB sound card would be sound card #2).

To get beta builds of doubleTwist Music Player for Android, make sure to join the doubleTwist Google Plus community.

The setup pictured below includes a LP-2020A+ Lepai amplifier ($20) and Micca MB42 speakers ($50).

RaspberryPi-MagicPlay

MagicPlay1MagicPlay2

Pogue and Mossberg on doubleTwist

David Pogue in his Nexus One review last week:

The Nexus doesn’t come with any iTunes-style companion software, either. Enterprising techies know about the free DoubleTwist program for Mac or Windows, which simulates iTunes for the purposes of loading up your phone with music, photos and videos.

This week, Walt Mossberg in a follow-up to his Nexus One review:

Google doesn’t supply any equivalent to Apple’s iTunes or the BlackBerry media-syncing software. However, the third-party program doubleTwist, available at doubletwist.com, is designed to function as a sort of iTunes for syncing Android, Palm and BlackBerry devices.

What are you waiting for? Go download doubleTwist now and sync with your Nexus One :)

The Cure for iPhone Envy: The story behind the doubleTwist ad

For our “The Cure for iPhone Envy” ad campaign we leased the window on the BART exit outside the SF Apple Store. Our contract with BART’s ad agency specified that the ad would go up on Monday morning, the day of the WWDC keynote. However, the ad agency jumped the gun and our ad went up on Friday the weekend before. Shortly after the ad was put up, it was ripped down by a BART employee. A tipster sent me pictures of this happening:

Ad being ripped down

BART’s excuse for ripping down the ad was that it was “too dark” and not letting through enough light into the BART exit. However, we have pictures that show there was plenty of light coming through the ad (the ad is printed on a clear plastic material):

Light showing through ad

We then submitted the following revised ad with a white background. A white ad would have let even more light through (notice how bright the bottle is in the original ad above). However, it was rejected for having a solid white background (!).

Rejected white ad

At the ad agency’s request, we then made the background completely transparent. It’s a lot harder to read text on a transparent background… After complying with all their requests to change the ad, we still haven’t been given a firm date on when the ad will be back up.

Apple is a major BART advertiser (in the past they’ve plastered entire BART stations with iPod ads). Apple’s WWDC conference ends on Friday. It’s pretty obvious what’s going on here… I’m sure our ad will conveniently be back up after WWDC ends.

Follow me on Twitter.

Palm Pre USB hack confirmed

A little birdie provided me with the following:
Palm Pre Video

As I speculated in my previous blog post on Palm Pre Sync and now confirmed by the image above, when the Pre is in “Media Sync” mode it identifies itself as an Apple iPod. However, it’s only the Mass Storage interface that identifies itself as an iPod. The root USB node (IOUSBDevice) still identifies the device as a Palm Pre (not visible in the image above). This means that Apple can very easily update iTunes to block the Pre.

Follow me on Twitter.

Update: that the Pre still works with the new iTunes 8.2 release is not surprising and doesn’t mean much. The news about the Pre’s iTunes support came out on Friday. iTunes 8.2 was released on Monday. Software has release cycles that include QA. There’s simply no way Apple could have made changes to how iTunes identifies an iPod and passed the new build through QA in such a short amount of time.