HiFiBerry DAC and Volumio setup

My HiFiBerry DAC arrived from Switzerland yesterday. (Amazing how fast something can get from Switzerland to NJ for only $11.) I took my Raspberry Pi out of the old case, plugged the DAC into it (and screwed everything together) and put the whole thing into the new case. Getting Volumio to use the DAC was easy; it’s just a selection from a drop-down menu under the settings page.

The new case is a nifty little snap-together thing made out of transparent plastic. (A small part of it cracked off while I was putting it together, but it’s fine.) I’m not hearing a huge difference in sound quality compared to using the headphone jack on the Pi, but I think I can detect some difference. (It might just be my imagination though.) Keep in mind that I don’t have a terribly high-end setup, so “your mileage may vary” as the saying goes. Also, I haven’t tried any lossless files yet, just regular MP3s and AACs.

And I got a 128GB USB thumb drive from Amazon, which is now plugged into the Pi, in place of the 32GB drive I was previously using. I’m going through my music collection alphabetically, and copying selected stuff over to it. I’ve done A through H now, and still have plenty of space left.

So I think I may have hit on a good working setup for this thing now. It’s relatively convenient to use, sounds good, and doesn’t take up much space, make any noise, or use much power.

playing with Volumio

I’ve made some progress with Volumio, and I’m having fun with it, so I thought I’d write a follow-up to my previous post.

The DAC that I ordered from HiFiBerry has shipped, but it turns out they’re in Switzerland, so it’s going to take a while to get here. (I’d have know that if I’d read their about page.) So I’ve decided to go ahead and start using the Pi as-is, through the headphone jack. Sound quality is OK, but I’m hoping the DAC improves it.

I’ve installed MPoD on my iPhone, and I think that’s the best way to control Volumio, though it doesn’t let you start a web radio station; it’s just good for your local music. But it’s much better for navigating my music collection than the Volumio web interface. I may mess around with other MPD clients at some point, and see if I can find a good one for Mac and/or Windows, but I’m fine with just MPoD for now.

I’m still not sure how I want to hook up my music collection to the Pi, but for now, I’m using a 32 GB USB thumb drive. As of this morning, I’ve copied over about 6GB worth of music, which is enough to mess around with, but not really a significant portion of my collection. Yesterday, I saw a 128 GB thumb drive on sale for $30, so maybe that’s the way to go.

I wasn’t initially that interested in the web radio functionality of Volumio, but I think it might come in handy. Where I live, I don’t have much luck receiving radio signals (too far from both New York and Philly), so I don’t listen to much radio at home. But, if I can get a few interesting stations set up, maybe that will be useful. Volumio ships with a bunch of stations already set up, but around half of them don’t work. I figured out enough to add a couple of stations on my own, but I only got one working, WXPN, which is a Philly station that I can usually pick up on my stereo, but not always. I’ve also tried getting WQXR set up, but I haven’t gotten that working. And WFMU is one of the stations in the default list that works, so that’s cool. I used to listen to them a lot, before I moved out of their range.

So I’m having fun with this. It’s giving me a chance to dig into my music collection, and find stuff I haven’t listened to in a long time. And it’s motivating me to organize the collection a bit more.

And it’s fun to play with the Raspberry Pi. I have a few ideas about other uses for a Pi, so I may find myself ordering another one at some point.

Fun with the Raspberry Pi

I ordered a Raspberry Pi kit earlier this week, and it showed up in the mail yesterday. I ordered this kit from Amazon. It’s a nicely-packaged kit, with the Pi, a case, a power supply, a wifi dongle, an SD card, and a few other things.

The SD card comes with the standard NOOBS image on it already. My intention was to wipe that out and install Volumio, but I thought I’d give the standard setup a try, just to see how it worked. To do that, I had to hook the Pi up to a USB keyboard and mouse, and an HDMI monitor. My normal computer monitor doesn’t have HDMI, so I had to use my TV instead. That was a little awkward, since I don’t have a good surface for the mouse close enough to the TV, but I managed. The standard setup is quite easy, and doesn’t require an internet connection. Basically, it just allows you to set a few parameters, then it installs Raspbian Linux onto the SD card. From there, you can use the command line or start a GUI shell. I messed around with that for a while, then unhooked everything, so I could get Volumio installed.

To do that, I had to download the Volumio install image, and write it to the MicroSD card. I wasn’t sure if I was going to be able to do that, since I don’t have a MicroSD slot on my PC, but I managed to find a MicroSD to SD adapter in my pile of random memory cards, and used that to get the MicroSD card into my PC. From there, I followed the simple instructions on Volumio’s site, cross-referencing this useful blog post. You can set up Volumio without hooking up a monitor or keyboard. You just need to plug the Pi into a wired Ethernet connection to get the initial setup done. So I did that, and got it set up through the browser interface at volumio.local. I set up my wifi card, then unplugged the Ethernet cable, rebooted, and all was well. To test it, I copied a Paul McCartney album to a USB thumb drive and plugged it in. I also plugged headphones into the audio out jack. Volumio had no trouble seeing the USB drive, and the audio played through the headphones, no problem. The audio quality coming out of the standard output jack isn’t great though. (I also plugged it in to my receiver, to try that out, and it sounds OK there, but still not great.)

So I ordered a DAC with RCA output jacks from HiFiBerry this morning. And a new case from them too, since the one from CanaKit isn’t going to work with the DAC on top of the Pi. I’m hopeful that this will give me acceptable sound quality. Between the kit from CanaKit, and the stuff from HiFiBerry, I’ve now spent more than $100 on this project, so I’m going to feel a little stupid if it doesn’t sound at least as good as a $100 CD player.

The next part of the project is going to be figuring out how I want to get my music collection hooked up to the Pi. The USB thumb drive I used for testing was formatted as FAT, so I’m glad to see that I don’t have to use an EXT4 formatted drive, or jump through any hoops to get the Pi to recognize a FAT drive. I had bookmarked a good writeup on dealing with different file systems on the Pi, but I don’t think I’ll need to worry about it. So I should be able to use either a USB thumb drive, or a USB hard drive for my music. The thumb drive would be easier, since I won’t have to worry about power. I have a 32GB thumb drive that I’m not using, but that’s not quite big enough for everything. A 64GB drive would only cost about $20 and would be big enough to fit my main MP3 collection. I also have several USB hard drives gathering dust in my apartment, including a small 120GB drive that would probably be perfect for this. I’m not sure if the Pi would provide enough power for it though, so that could be an issue. So I guess the next part of this project, while I’m waiting for the DAC to get here, will be to experiment with hard drives and thumb drives.