soma-connect with shairport-sync part 3

Okay, it turns out that there was a lot of hidden magic on the SOMA Connect image that was infeasible to try to migrate/clone over myself, both due to dependencies on how the old-ass Raspbian image is setup in terms of networking, and a whole bunch of random/hidden scripts that do who-knows-what. So I decided to take a different approach, and modify the SOMA Connect image instead.

Read more…

SOMA Connect + shairport-sync: part 2

Last time I had a sorta-working shairport-sync configuration on my Raspberry Pi, but I didn’t have the SOMA Connect hardware actually working, and I had to make a bunch of compromises in order to get things to even try to start up without reimaging to the 32-bit Raspbian operating system.

Well, somehow the filesystem got corrupted and the device was refusing to boot, so I figure this is as good a time as any to document how I got things working in a much nicer way.

Read more…

SOMA Connect + shairport-sync

I’ve reorganized my bedroom and as part of it I decided to finally address the ongoing issues with my audio setup in there. I have an old AirPort Express which I was using as an AirPlay receiver so that I could play music and podcasts and such on the (rather nice) hi-fi speakers, but it’s been super unreliable as of late, and even when it does remain connected, it generates random popping noises on the speakers — not great when I’m trying to sleep!

So anyway I was looking up various aftermarket AirPlay receivers, and most of them are pretty expensive, but then I realized that there’s probably a way of receiving AirPlay on a Raspberry Pi, and yes, there is, and then just as I was about to look for used Raspberry Pis to install this on, I remembered I already have a Raspberry Pi, in my bedroom, in the very same nightstand I would be putting a new one in: because I have SOMA’s older smart shades which use a rebadged Raspberry Pi as their Bluetooth-to-HomeKit bridge.

And the SOMA Connect image is just running Linux (specifically Rasbian 10) and some proprietary software.

Read more…

Music as a salve

I used to be a voracious consumer of music. I would listen to as much music as I could, in as many different genres, from as many different bands, as I could handle, for nearly every waking moment of every day. My music collection has over 53,000 songs with a total duration of over 130 days. My choices in listening devices and methodologies have always been informed by how I can enable myself to listen to as much variety as I could, without needing to actually choose what to listen to at any given time.

Music also helped me to focus what I was working on, and was possibly a big part of my self-medication regime for my ADHD and executive dysfunction. Having music playing made it so much easier for me to focus on what I was doing.

I also developed a peculiar habit: every time I came across a song I really liked, I’d buy the entire discography of the artist as a “surprise gift for my future self.” It’s a big part of why my music library is so big, and it’s given me a lot of delight from always having something new to listen to.

But yet, over the last few years I have barely listened to any music at all, aside from the stuff I’ve been working on myself. Most of my day has been full of silence, pretty much only listening to music when I drive — and I hardly ever drive. And the silence has been overwhelming, maddening, and is possibly a big part of why my brain’s been in vice grips as of late.

How did this happen?

Read more…

Finally have iTunes Music.app + iPhone concordance

Somewhere along the line, iOS device sync started working again.

Smart playlists still don’t sync correctly (they end up getting reshuffled when they end up on the phone), but I have a simple workaround:

  1. Have a smart playlist called Entropy Mobile with the shuffle rules I like
  2. Have a regular playlist called Entropy Queue, which is synchronized to the iPhone
  3. Occasionally copy the contents of Entropy Mobile into Entropy Queue

The nice thing about this is it’s also easier for me to curate stuff, like albums which got partially played, or where I want to move an album to happen later or whatever.

It’s still not perfect and there’s still some asinineness of smart playlists where they’re always incorrectly-shuffled when I first launch Music.app, but clearing out the list and letting it refill means it’ll be shuffled correctly. I guess the main downside is that I need to be a bit more deliberate about populating my phone with music, but that’s not necessarily a bad thing.

Read more…

Today’s Catalina iTunes Music gripe

iOS and watchOS have a great little remote control app for iTunes, which lets you control iTunes playback. It’s useful when I need to play or pause music during a typing break, or if I get a phone call while I’m in another room from my computer or whatever.

It’s supposed to work with Music.app.

It doesn’t.

I mean, it’ll pretend to connect just fine, but it never actually shows any of the playback information, and the controls do nothing.

Bonus fuckery: iTunes Match completely messed up the Fingertips suite on They Might Be Giants' Apollo 18. Tracks were out of order (yeah, yeah, I know it’s supposed to be shuffled but my brain has a thing) and half of them were glitched out and truncated.

The ongoing quagmire that is iTunes Catalina Music.app

So, the latest issue with iTunes is that for whatever reason it’s stopped letting me actually play in a shuffle-from-library way. Which is to say, they got rid of the view where you can just see your whole library as the library, and click a “play” or “shuffle” button from there. I don’t know when it disappeared, but I know it used to be there, and now it isn’t.

It used to be that if you just had your view set to “albums” and pressed play anyway, it’d go ahead and choose something at random to play. But today it just kept on doing the same album: The Bends by Radiohead. Which is, granted, a great album, but I don’t know why it was choosing that one and that one alone, and I only felt like listening to it once, you know?

Read more…

iTunes Cloud Library seems better now

So, I don’t know if something changed in iOS or in iTunes Cloud Library or what, but now the cloud smart playlist thing is working a lot better now; at the very least, my cloud-synchronized smart playlist is at least doing the proper album shuffle on my phone.

It still doesn’t seem to be updating what’s in the playlist based on what’s been played/skipped recently, though. But it’s hard to tell if that just takes a while for the play stats to get updated and propagated or what. To be fair this is a hard problem.

Meanwhile, I also finally upgraded my laptop to Catalina. The new Music app is taking for-freaking-ever to sync over my library. But at least it claims to support it, after clicking “Please don’t sign me up for Apple Music” about a dozen times, and then once again saying “yes I’m sure” when I tell it to turn on syncing my actual library. But this also gave me an opportunity to see how much of my stuff is broken; the Native Instruments installer is working now, and while NI still doesn’t recommend upgrading, all of their software that I use seems to be supported.

Unfortunately, my desktop’s audio interface isn’t currently supported on Catalina, so I won’t be upgrading that any time soon. Presonus have said that they will be releasing a Catalina update for it after all (after years of saying they wouldn’t release any more updates) but there’s no timetable for it. If there’s no update in, say, 3 months, I might have to start looking into new audio hardware, and that’s expensive and I’ve yet to see another audio interface which supports (or at least advertises) the hardware submix functionality that I use on the FireStudio. I got used to that when I set up my Twitch setup but have found it to be genuinely useful for keeping my headphone and speaker mix separate regardless. It’s nice not having to deal with muting my connected microphones every time I switch to my speakers.

iTunes Match kinda sucks

So remember how I was using iTunes Match and a smart shuffle app to manage my music?

Well, that hasn’t ended up working all that well.

The smart shuffle app, in particular, is incredibly unreliable and slow, and also my iTunes Match-backed library has… Issues.

Like, a lot of songs won’t sync over because of an “unspecified error” (I assume label interference, because they’re all songs from a particular label as far as I can tell), and a lot of other songs won’t sync over because they appear as “duplicates” since like… sometimes I have more than one instance of a song across multiple albums. Best-of compilations and singles releases and so on. Sometimes it does legitimately find a duplicate I want to get rid of but most of the time it’s just… not. And even when it does, it’s a crapshoot as to which one it decides is the duplicate and which is the “real” one.

Like. My whole thing is listening to albums, not individual songs, and if a song appears in multiple albums, I want it to be played within all of those albums.

At least they seem to have figured out that there are sometimes multiple versions of a song by the same artist and on different albums (like, it never seems to show the various Past Masters versions of Beatles songs as duplicates of the album versions). (Oh I guess I talked about that last time too. Obviously this is important to me.)

I’ve also noticed that playing songs on the iPhone doesn’t update the play stats in my cloud library, and even with the enormity of my library I’m still hearing albums more frequently than I’d like.

I feel like there has got to be a better way than any of this.

Oh wait, there was one, and Apple stopped bothering to support it.

How the heck I can listen to music the way I want to

Okay, after posting my rant, someone on a Slack I’m on pointed me to Smart Shuffle, an alternate player for iOS which plays music the way I want to listen to it. (Thanks, Roman!)

I also signed up for iTunes Match, which provides the only part of Apple Music I care about (while also costing way less). And it seems to be doing a good job of pre-populating my device with music, and Smart Shuffle is able to play from iCloud while I’m on wifi and then automatically switch to stuff that’s locally cached when I’m not on it, so hopefully that makes for a reasonably seamless experience.

I guess with the vast quantity of music I have at this point I don’t really care about play stats for excluding stuff I’ve heard recently since I have so much of it that it’s less likely for duplication to happen like that.

The iPhone does have a setting for how much music to prefetch but as far as I can tell there’s no way to tell it which playlists/songs/whatever to prioritize; as far as I can tell it intends to focus on stuff that I listen to already, which is pretty much the opposite of what I want.

I suppose that if I care incredibly deeply about having proper randomness available on my phone I could just get a 512GB iPhone when I inevitably upgrade. I guess that’s a decision I can make next time I’m in Portland (which is in just two weeks).

One annoyance with iTunes Match so far is that it refuses to cloud-upload songs which it sees as duplicates. Fortunately its duplicate detection seems to be a lot better than in the bad old days of just matching artist and title, but unfortunately it still means that if you have an artist who has released multiple close-enough-to-each-other versions of the same song on different albums, or has released a best-of compilation, you’ll only get one rendition of it and it won’t appear in all the albums, and you can’t even choose which one is the canonical album placement. Kind of annoying. But less annoying than all the other things iTunes annoys me with, I guess.