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

ill try it tonight.

1 Like

Thanks. Because each track changes sample rate then it kind of magnifies the issue more than normal album listening.

A couple of us have reproduced this issue with Up Gateway UAC2 input but if another person can test, it’s more data points.

Just play 3 or 5 seconds of each track then ‘next track’ so that you can race through the playlist and force lots of sample rate changes

No static or any other abnormalities , samplerate changes confirmed in hqplayer web os.

Question

Would i be able to do what im doing now with the up gateway with something like the fitlet airtop for some more intense dsd conversions.

Airtop3 – build-to-order – fit IoT

Since such computers don’t have device side USB functionality, only if you keep the UP Gateway as an input NAA.

@jussi_laako

Airtop3 has 1x usb gen2 type c port which should support DRD (dual role device). Dont know if that makes a difference.

Are there any other more powerful units with device side USB ? Or possible to build something?

Can you share this via Google Drive for me to try out.

The older versions aren’t available anymore. I want to try to see if that version doesn’t have the white noise/static issue.

I do recall it working well a while ago but can’t remember which version it changed behaviour

You mentioned 4.32 is broken in another way for you ?

Sure ill do it later today. Yes 4.32 UAC2 input doesnt work and crashes when trying to play music requiring restart.

1 Like

With USB Type-C it is not always clear when they document such. There can be a lot of confusion. Sometimes they confuse dual role and alternate mode. So I would double-check with the manufacturer.

Second thing is whether there’s required device mode support on Linux driver side.

Alternate mode support usually means support for DisplayPort through Type-C in addition to USB 3.2.

@dabassgoesboomboom
Send me a message for file link

Thanks for sending this. I tried it.

I’m not sure how you were able to evade issues with that Qobuz playlist of mine where each track changes sample rate, but I had issues on multiple tries. Same issues two others in this thread have confirmed also.

I thought there was something special about this version number but its the same issue I’ve had for 12+ months.

I have two UP Gateways (purchased 12 months apart) and tried on both and it’s easily reproducible.

You mentioned you only sometimes get the static / white noise though.

I guess you’ve been very lucky to have the issue rarely !

And @jussi_laako NAA image 4.2.5 (ramfs) seems broken for UAC2 input function.

Auto sample rate switching doesn’t work at all.

Maybe related to the issue @Rich_haislip has with 4.32 Embedded image.

Which kernel version does the working one have? Only change I made to the networkaudiod is that I removed the default rate assumption when rate changes, but source has not set any rate yet.

I would say it depends on the source. For example Windows and macOS drivers at the other end behave quite differently. If source is a streamer, it likely runs some version of Linux.

I’ve tried Linux source, Windows and macOS many times

Same result

I don’t use it anymore so I lost track which kernel works.

I only thought I’d try 4.2.5 today as I was testing rich’s older version

RME ADI-2 is my main daily HQP input these days - rock solid reliable

I only try UAC2 input to see if it is working these days if I see something somewhere that makes me think I should give latest version a try.

No, actually there are no changes at all since 4.2.3 in July in terms of UAC2 input.

1 Like

OK, I have spent a day on this and I have one solution that seems to work. Where I originally did a lot of testing.

Ubuntu Focal (20.04 LTS) and my custom 5.4 kernel that matches the original 20.04 kernel. Officially, Canonical supports Ubuntu 20.04 until April 2025 (and security support until April 2030), and Linux kernel team supports 5.4 LTS kernel until December 2025. So it should be good for a while.

I have now updated my custom kernel and networkaudiod package to latest ones for latest Focal. And tested that things seem to work for me at least when source is Windows 10 + HQPlayer with the stock Windows 10 UAC2 driver.

Ubuntu Focal Server minimal, installed on internal eMMC of UP-Board.

P.S. Canonical has Ubuntu Server 20.04 for RPi4 as well, so it could be possible to make this viable for RPi4 as well. but I will look into that part later.

2 Likes

Thanks Jussi!

I’ll give it a test run probably next week and will report back

Hi @jussi_laako

I’ve given it a try.

See below.

What is this bytchtnocodec ?

2022/10/08 23:04:02 NAA input discovered network audio: name='input-naa' version='Signalyst Network Audio Daemon 4.2.5'  [hiddenmyIP]
& 2022/10/08 23:04:02 NAA input discovered network audio: name='input-naa' version='Signalyst Network Audio Daemon 4.2.5'  [hiddenmyIP]
& 2022/10/08 23:04:02 NAA input discovered network audio: name='upboard' version='Signalyst Network Audio Daemon 4.2.6'  [hiddenmyIP]
& 2022/10/08 23:04:02 NAA input discovered network audio: name='DietPi' version='Signalyst Network Audio Daemon 4.2.0'  [hiddenmyIP]
& 2022/10/08 23:04:02 NAA input discovered network audio: name='upboard' version='Signalyst Network Audio Daemon 4.2.6'  [hiddenmyIP]
& 2022/10/08 23:04:02 NAA input discovered network audio: name='DietPi' version='Signalyst Network Audio Daemon 4.2.0'  @[hiddenmyIP]
  2022/10/08 23:04:03 NAA input connect to [hiddenmyIP] [ipv6]
  2022/10/08 23:04:03 NAA input network endpoint: USB Audio Class 2 (USB Audio Class 2)
  2022/10/08 23:04:03 NAA input network endpoint: RME HDSPe AIO (Analog) (RME HDSPe AIO (Analog))
  2022/10/08 23:04:03 NAA input network endpoint: RME HDSPe AIO (Toslink) (RME HDSPe AIO (Toslink))
  2022/10/08 23:04:03 NAA input network endpoint: RME HDSPe AIO (Coaxial) (RME HDSPe AIO (Coaxial))
  2022/10/08 23:04:03 NAA input network endpoint: RME HDSPe AIO (AES) (RME HDSPe AIO (AES))
  2022/10/08 23:04:03 NAA input network endpoint: ADI-2 Pro (Analog) (ADI-2 Pro (Analog))
  2022/10/08 23:04:03 NAA input network endpoint: ADI-2 Pro (AES) (ADI-2 Pro (AES))
  2022/10/08 23:04:03 NAA input network endpoint: ADI-2 Pro (SPDIF) (ADI-2 Pro (SPDIF))
  2022/10/08 23:04:03 NAA input network endpoint: USBStreamer @44.1k (USBStreamer @44.1k)
  2022/10/08 23:04:03 NAA input network endpoint: USBStreamer @48k (USBStreamer @48k)
  2022/10/08 23:04:03 NAA input network endpoint: USBStreamer @88.2k (USBStreamer @88.2k)
  2022/10/08 23:04:03 NAA input network endpoint: USBStreamer @96k (USBStreamer @96k)
  2022/10/08 23:04:03 NAA input network endpoint: USBStreamer @176.4k (USBStreamer @176.4k)
  2022/10/08 23:04:03 NAA input network endpoint: USBStreamer @192k (USBStreamer @192k)
  2022/10/08 23:04:03 NAA input network endpoint: snd_allo_digione: Allo DigiOne HiFi wm8804-spdif-0 (hw:CARD=sndallodigione,DEV=0)
  2022/10/08 23:04:03 NAA input connect to [hiddenmyIP] [ipv6]
  2022/10/08 23:04:03 NAA input network endpoint: USB Audio Class 2 (USB Audio Class 2)
  2022/10/08 23:04:03 NAA input network endpoint: ADI-2-C digi coax (ADI-2-C digi coax)
  2022/10/08 23:04:03 NAA input network endpoint: ADI-2-C optical (ADI-2-C optical)
  2022/10/08 23:04:03 NAA input network endpoint: ADI-2 DAC (51050442): USB Audio (hw:CARD=DAC51050442,DEV=0)
  2022/10/08 23:04:03 NAA input connect to [hiddenmyIP] [ipv6]
  2022/10/08 23:04:03 NAA input network endpoint: USB Audio Class 2 (USB Audio Class 2)
  2022/10/08 23:04:03 NAA input network endpoint: bytcht-nocodec:  (hw:CARD=bytchtnocodec,DEV=0)
  2022/10/08 23:04:03 NAA input discovered 3 Network Audio Adapters
+ 2022/10/08 23:04:03 NAA input connect to [hiddenmyIP] [ipv6]
# 2022/10/08 23:04:03 NAA input clNetEngine::Connect(): initialize: clUAC2Engine::Initialize(): UAC2::Open(): No such file or directory.

Also seen this in alsamixer on the upboard

and

image

Hmm I think this is more the issue?

NAA input clNetEngine::Connect(): initialize: clUAC2Engine::Initialize(): UAC2::Open(): No such file or directory.

It’s in PCI mode + devicemode + sideband

image

And another strange thing is networkaudiod.xml only has this ( i deleted other inputs to keep it simple):

But hqplayer log shows these other “inputs” like USBStreamer and RME but there are no other input naa’s powered on:

  2022/10/09 00:07:57 NAA input network endpoint: USB Audio Class 2 (USB Audio Class 2)
  2022/10/09 00:07:57 NAA input network endpoint: RME HDSPe AIO (Analog) (RME HDSPe AIO (Analog))
  2022/10/09 00:07:57 NAA input network endpoint: RME HDSPe AIO (Toslink) (RME HDSPe AIO (Toslink))
  2022/10/09 00:07:57 NAA input network endpoint: RME HDSPe AIO (Coaxial) (RME HDSPe AIO (Coaxial))
  2022/10/09 00:07:57 NAA input network endpoint: RME HDSPe AIO (AES) (RME HDSPe AIO (AES))
  2022/10/09 00:07:57 NAA input network endpoint: ADI-2 Pro (Analog) (ADI-2 Pro (Analog))
  2022/10/09 00:07:57 NAA input network endpoint: ADI-2 Pro (AES) (ADI-2 Pro (AES))
  2022/10/09 00:07:57 NAA input network endpoint: ADI-2 Pro (SPDIF) (ADI-2 Pro (SPDIF))
  2022/10/09 00:07:57 NAA input network endpoint: USBStreamer @44.1k (USBStreamer @44.1k)
  2022/10/09 00:07:57 NAA input network endpoint: USBStreamer @48k (USBStreamer @48k)
  2022/10/09 00:07:57 NAA input network endpoint: USBStreamer @88.2k (USBStreamer @88.2k)
  2022/10/09 00:07:57 NAA input network endpoint: USBStreamer @96k (USBStreamer @96k)
  2022/10/09 00:07:57 NAA input network endpoint: USBStreamer @176.4k (USBStreamer @176.4k)
  2022/10/09 00:07:57 NAA input network endpoint: USBStreamer @192k (USBStreamer @192k)
  2022/10/09 00:07:57 NAA input network endpoint: snd_allo_digione: Allo DigiOne HiFi wm8804-spdif-0 (hw:CARD=sndallodigione,DEV=0)
  2022/10/09 00:07:57 NAA input connect to [hipemyIP] [ipv6]
  2022/10/09 00:07:57 NAA input network endpoint: USB Audio Class 2 (USB Audio Class 2)
  2022/10/09 00:07:57 NAA input network endpoint: bytcht-nocodec:  (hw:CARD=bytchtnocodec,DEV=0)
  2022/10/09 00:07:57 NAA input discovered 2 Network Audio Adapters
+ 2022/10/09 00:07:57 NAA input connect to  [hipemyIP]  [ipv6]
# 2022/10/09 00:07:57 NAA input clNetEngine::Connect(): initialize: clUAC2Engine::Initialize(): UAC2::Open(): No such file or directory.

hqplayerd.xml only has 2 inputs but “input-naa” is powered off completely while i troubleshoot