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.

inbox zero and project review

On this weekend and last weekend, I managed to get a lot of general clean-up stuff done. I’ve got my personal GMail account at inbox zero. (And I got my work mail down to zero too.) I downloaded and reviewed a bunch of financial statements and similar stuff that I’d been putting off for too long. And I got a lot of music-related organization and clean-up done (though my CDs are still not in alphabetical order).

So I’m thinking a bit about projects that I started, but put on hold at some point, and whether or not I should pick them up again, or if I should look for some new stuff to do.

I started learning Ruby (and Ruby on Rails) earlier this year. I read all the way through a good general book on Ruby, and started into a RoR book, but didn’t finish it. I’d kind of like to pick that up again, but I haven’t quite talked myself into it.

I also spent some time this year learning about SharePoint. I made a certain amount of progress with that, and came close to completing a SharePoint project at work, but then priorities shifted, and that project got put on hold, along with a bunch of other SharePoint stuff I was going to do. I’ll probably get back to those projects late this year or early next year.

I haven’t done anything with EdX or Coursera since the Superheroes course, which was really more for fun than a real educational course. So I should probably think about doing some kind of structured course for the fall.

So here I am, on a Sunday night in September, thinking about what I’m going to do with my spare time for the next few months. Hopefully, I can come up with something better than “watch Columbo episodes on Netflix”, which was kind of my summer project, to be honest. (I’m exaggerating. I did a lot of good stuff this summer. But I also watched a lot of Columbo.)

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.

Labor Day

As I posted a few days ago, I’ve been thinking about the way I listen to music a lot lately. I have a rough plan sketched out to consolidate a lot of my music collection, then copy it to a USB hard drive and listen to it with a small Raspberry Pi device that’s connected to my main stereo.

I’ve completed the first part of this plan, which was to merge the iTunes libraries on my Mac and PC. I had looked at a few possible ways to do that, and settled on SuperSync. I bought a two-seat license to it, and installed one on my Mac and one on my PC. I didn’t actually run a full merge of the two libraries. Rather, I found all the full albums that were on my Mac but not my PC, and copied them over to the PC. So now the PC definitely has a copy of all the full albums that I’ve either ripped from CD or bought from iTunes (or Amazon or wherever else). My full music library is around 50 GB now. (That’s just music, not video.) So that’s pretty substantial, but not out of control.

I would recommend SuperSync to anyone else needing to do something like this. It’s fairly easy to use, and I didn’t have any problems connecting the two computers over the network and transferring files between libraries.

So now the next part of the plan is to rip some CDs. I’ve ripped a fair number already, whenever I had a CD that I wanted to listen to on my iPod or iPhone. But I have hundreds of CDs that I haven’t ripped.

When I started thinking about this, I remembered that I had a ridiculous number of CDs in the trunk of my car. With my old car, I had a six-CD changer in the trunk, and I used to buy a lot of music in MP3 format from emusic, then burn regular audio CDs, and listen to them in the car. So I just kept tossing CDs into cardboard boxes in the trunk. And sometimes I’d take some regular CDs out to the car, then they’d wind up in those boxes in the trunk and never get back inside the house. Well, when I got my new car, I just moved those boxes to the trunk of the new car. But I have an aux jack in this car, so I can just plug in my iPhone. I do listen to CDs in the car occasionally, but all those burned CDs in the trunk have really become just dead weight.

So instead of doing something normal and fun for Labor Day, I decided to clean out the trunk of my car and go through all those CDs. Most of the burned CDs went straight in the garbage. The regular CDs are getting tossed back in with my main CD collection.

I also remembered that the single-disc CD player in my current car can play MP3 CDs. I’d always meant to try that out, but never got around to it. So I decided that I could put together a much more focused CD collection for the car, with just MP3 CDs, so each CD could have a half-dozen albums on it. And I also figured that I could start on some more CD ripping too, maybe ripping some of my favorite old CDs, then consolidating them on MP3 CDs.

So I started this morning, and now it’s almost 3pm. I made ten MP3 CDs total, and I even went out to the car and double-checked them to make sure they were playable. (And they are!) So I’ve got maybe 60 hours of music, which ought to keep me out of trouble for a while. (And, yes, I could have just loaded all this music to an iPod or something, but the nice thing about the MP3 CDs is that I can use the regular controls on the CD player to control things, instead of having to fumble around trying to deal with an iPod. Also, I don’t have a working iPod, and I don’t have enough room on my phone to load a lot of music, and I have an ample supply of blank CD-Rs. So this way works better and doesn’t cost me anything.)

Overall, I’ve now got another 20 or 30 CDs ripped, I’ve organized my collection a bit more, and I’ve cleaned out the car a good bit. So that was worth doing, though if I have to tell anyone at work tomorrow what I did on Labor Day, they’re going to think I’m a nerd and/or an idiot for wasting a perfectly nice day.

By the way, I stuck with iTunes for the CD ripping, tweaking my settings a bit so I’d be getting fairly high-quality VBR MP3s. I still want to try dBpoweramp, but I don’t think I need it. Recently, I had been allowing iTunes to rip CDs with its default settings, but that leaves me with AAC files instead of MP3 files, and my car CD player can’t read AAC’s. (I was pretty sure it wouldn’t, but I checked and verified that it can’t.) So now I’m going to be sure I rip only to MP3.

thinking about music

Listening to music used to be pretty simple. I’d turn on the stereo, put a record on the turntable, and that was it. It’s gotten a lot more complicated now, though, and I’ve been going back and forth on a few things, thinking about what kind of hardware, software, and services I use to consume music.

I could (and probably will) write a new post about how I’m listening to music on my iPhone right now, but this particular post is going to be about listening to music at home.

I have a fairly old, but still good, stereo setup: a receiver with a handful of standard RCA inputs, and a decent pair of speakers. I used to have a low-end DVD player hooked up to it, which I was using as a CD player, but that broke a while back. (I hooked that up after my original CD player broke.) And I used to have a turntable and a cassette player, but I got rid of those a long time ago. I have a mini-stereo cable hooked in to one of the RCA inputs, and I plug that into my iPhone when I want to listen to, say, Slacker on my stereo. But I currently have no way to listen to CDs on it, or to stream music from my Mac or PC to it. I can also listen to music via my Roku, Apple TV, or PS3 (using various services), but I need to have the TV turned on to use any of those, and I don’t really like to have to leave the TV on while I’m listening to music. It generates a fair bit of heat, and a little noise. (If there was a way for the TV to pass the audio out without having the screen on, that might work, but my TV doesn’t do that.) And I can use the PS3 to listen to regular audio CDs of course, but that’s serious overkill, given the amount of noise and heat produced by the TV and PS3 combined.

So I’d been halfheartedly looking for a new CD player to hook up to the stereo. Well, it turns out, nowadays, that it isn’t as easy to find a small, simple, CD player with regular RCA outputs as it used to be. One limiting factor for me is that I don’t have that much room, so I need a small one. (I actually have my Dad’s old 5 CD changer, and that would work fine, but I just can’t fit it on my shelf.)

So now I’ve been thinking that I’m really a bit behind the times, and I should instead come up with a good way to pipe my digital music collection through my stereo.

First, I started thinking about consolidating the two iTunes libraries that I currently have. I have separate libraries on my Mac and my PC, with significant overlap. But there’s a lot of stuff I ripped to the Mac and never copied to the PC, and vice versa. So, first, I’m looking at ways to merge my iTunes libraries. I looked at a few programs, and SuperSync looks like it would be the best option for me. If it works as advertised, I should be able to install it on my Mac and on my PC, and consolidate the libraries over my network, without pulling over all the duplicates.

Second, I started thinking about ripping all of my CDs. I’ve ripped a number of them already, maybe 20-30% of the CDs I own, but I haven’t ripped everything. I’d say I have a couple of hundred CDs that I don’t have in my iTunes library. So I considered doing something vaguely fancy, like using dBpoweramp to rip them to FLAC, so I’d have lossless copies. Or maybe using EAC. But after thinking about it, I think I’d be fine just using iTunes, and ripping them using the higher-quality AAC settings, or maybe the Apple lossless format.

From there, I’m thinking about building a little box with a Raspberry Pi running Volumio or OSMC. I would just attach a USB hard drive to it with all my music files, and plug it into my receiver with the regular mini-stereo output on the Pi. (And if that doesn’t sound good enough, I could add a DAC with RCA outputs to the Pi.) So that would be small enough to fit on my shelf, use minimal power, make very little noise, and it should be controllable from my laptop and my phone, via a web interface.

I’m not sure how far I’m going to get with this plan. And there are a number of alternatives which might be simpler than my Raspberry Pi plan. But I had some fun today investigating software and hardware options for this. And I like the idea of messing around with a Pi and some open-source audio software. If I go that route, and it works well, maybe I can consider trying some other Raspberry Pi projects.

Goodbye, Instacast

I found out today that my podcast app of choice, Instacast, has been discontinued. It still works, for now, but I guess I should find a new app to use. I was actually thinking about trying a new app anyway, but had been too lazy to actually download and try anything.

I’ve been curious about Marco Arment’s Overcast, so I just downloaded that to my iPhone, and I’m going to give it a try. I’m seeing a few things about it that I already don’t like, but I’ll see if I can figure it out and get used to it. (There’s a good write-up on Overcast at The Sweet Setup.)

There were actually a number of things I didn’t like about Instacast when I first started using it, but over time I got used to it, and I think it worked pretty well for me, with a few little annoyances that continued to bother me.

Overcast made it very easy to set up an account, save the credentials for it to 1Password, and then import my subscriptions from Instacast, so that was quite nice. Once I had it set up, though, it marked all old podcast episodes as “played,” so it looks like I’m going to have to go in and manually download the stuff I hadn’t yet listened to in Instacast. I’m figuring out how to do that now.

I also recently signed up for Huffduffer, so I could easily download and listen to arbitrary episodes from podcasts I don’t regularly listen to. I’m thinking that might be easier to manage in Overcast than Instacast.

I think I’m going to try to start using Overcast tomorrow, during my morning commute. If it works well, I’ll delete Instacast and be done with it. If not, them maybe I’ll switch back to Instacast for a while until I can find something I like.

AD&D gold box games

I was happy to discover that some of the old AD&D gold box games are now available at GOG.com. I’ve played through all of the AD&D gold box games, except for Dark Queen of Krynn, which I started but never finished.

GOG released three collections of AD&D games, but all the ones I’m interested in are in the second collection, which is only $10. Sadly, they don’t have the Krynn games in there, but if they’ve got all the others, I imagine they’ll release the Krynn ones at some point.

I’m probably going to buy this collection, since it’s only $10, and I love these games, but honestly I’m probably not going to replay them. I already own plenty of games that I’ve never played, or never finished. (I never finished Final Fantasy VIII, and never started FF IX or X, and I have all of them sitting on a shelf.) I just don’t have the time to play all these games! Every once in a while, I think I should rethink the way I use my limited spare time, and maybe spend more of it on interactive fun, like gaming, and less on passive stuff, like TV watching.

Well, anyway, it’s nice to see these games (and so many others) available in a legal DRM-free format, playable on modern PCs.

reading digital comics

This morning, I decided that I’d like to read the Dresden Files comic series that I bought as part of a Humble Bundle last year. I’m using Comic Zeal on my iPad to read DRM-free digital comics. I’ve been using it for a while, and it works pretty well.

Getting comics onto the iPad is, theoretically, easier than it used to be. In the old days, there weren’t too many apps that had good support for loading files into them from external sources. GoodReader was the first iOS app that I can think of that had good support for loading in files from multiple sources. But now, there’s a lot better support for this kind of thing, due mostly to the support for document providers added in iOS 8. So Comics Zeal now supports loading in files from iCloud, DropBox, Google Drive, and OneDrive (and possibly more, but those are the ones I’m using).

Humble also now has a web interface where you can access and download all past purchases. And Safari now lets you download and open files in specific apps, and Comic Zeal supports this. So my first thought was to go to the Humble site, sign in to my account, and download the comics. The series I want to read is a five-issue series and all five issues are separate files. So I went ahead and tried downloading the first issue from the web. It worked well enough, but it took a long time to download, and the default file name under Humble’s library is a bit weird, so I thought maybe I should try a different method.

So I booted up my desktop PC, where I know I already had the comics downloaded, and copied them up to my Google Drive. After waiting for them to sync up, I then tried to pull them into Comic Zeal. No dice. I could see them, but clicking on them did nothing. After struggling with that for a while I gave up and decided to sync them across the old-fashioned way, with iTunes File Sharing. That worked.

So, after all that, I just sat down and opened issue #1. The cover looks good. Then, I swipe to get to page 1. And… Comic Zeal crashes. Now, this is probably not Comic Zeal’s fault, entirely. All sorts of things could be wrong here; the CBZ file could have gotten corrupted at one of several stages. But it’s frustrating, either way.

So I downloaded the file again from Humble, and checked the MD5 checksums on both copies, and they’re both identical. And Humble lets you see the MD5 on their web site, and that’s the same too, so the file isn’t getting screwed up on download. So I gave up on the CBZ file and downloaded the PDF. Then I copied that up to Google Drive and tried to download it into Comic Zeal. That worked, so I guess the original issue with Google Drive is that it doesn’t want to let you download CBZ files, but PDFs are ok. (Which doesn’t make any sense, but ok.)

And I opened the PDF in Comic Zeal, and I can (at least) get to page one now, so here’s hoping I can get through the rest of the issue. Then, we’ll find out if the CBZ files for issues 2 through 5 are good, or if I’m going to have to replace them with PDFs too.

Oh, and the series I’m trying to read is War Cry, which should be pretty good. I haven’t read any Dresden comics before, but they’re co-written by Jim Butcher, and they’ve gotten generally positive reviews, so I’m hopeful.

But if I’d had the trade paperback instead of digital files, I’d probably be done reading the whole thing by now!