Using any audio source with HQPlayer - Spotify, Amazon, Apple Music, YouTube Music, Deezer, Soundcloud [2023]

The RPi4 is powered via a power supply that connects to the Pi2AES HAT.

Which OS is this NAA running? Is the type-C interface switched to device (peripheral) mode?

The NAA is running NAA OS 5.13. Yes, I edited the config file to switch the USB C interface to peripheral mode.

My PC recognizes the NAA as “Speakers HQPlayer” when connected via the USB C interface, and everything works in that configuration. So I believe the NAA is set up correctly. The problem appears to be on the iPhone side, it does not recognize the NAA as an output device for some reason.

Do you have a powered USB hub in between providing power to the RPi?

I’m using this feature quite a bit with my iPhone and iPads.

1 Like

No powered USB hub, but since the RPi4 is powered via the HAT my understanding is that a direct C-to-C connection between the IPhone and RPi4 should suffice?

I also tried using an M1 iPad Air as the source and that didn’t work either. Oh well, would have been nice to get this working but I’m all out of ideas.

On an unrelated note, if anyone is wondering whether the Tidal Windows client has been fixed to properly switch sample rates in exclusive mode, the answer is unfortunately no. When I engage exclusive mode the output is resampled to the fixed sample rate configured in Windows.

Yes, it should if you have some PSU hat on it.

But if the NAA doesn’t appear on your HQPlayer, then it is either network issue, or the NAA is not coming up properly. So first thing is to get it selected as input device, before that it won’t do anything useful


Same problem on macOS too last time I tried


I assume Qobuz connect does not connect to HQPe at the moment.
Am I correct? (These are not puns
)

No, not supported at the moment.

1 Like

Different question: is there any way of connecting Shanling CR60 to hqplayer? Like with cheap cd drives. Thank you!

It has digi coax and TOSlink outputs so this can feed HQPlayer using the methods discussed in this thread - HQPlayer wouldn’t know if it is a CD player or Bluesound Node or WiiM Mini streamer (with SPDIF outputs anyway).

The USB output could feed NAA OS like USB sources discussed in this thread. For a CD it is fixed output at PCM44.1kHz

Since auto sample rate switching isn’t required there might be an easier way with USB directly connected to NAA OS or even HQPlayer server.

I’ve never tried a CD player. @jussi_laako might be able to help

The rear:

For just RedBook, there are inexpensive simple Toslink input → USB dongles out there which work fine. Since there’s no need for automatic rate switching in such cases, RedBook is always 44.1k. This approach works also for Spotify, since it is also always 44.1k.

One possibility is also RPi based input NAA, using HifiBerry Digi+I/O hat. They also offer a nice compatible steel case for the combo. Same device can also double as USB input NAA with automatic rate switching.

1 Like