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

@jussi_laako

something happened tonight cant figure it out. was listening IFI zen stream USB>upgateway USB>holo may dac and playing with speaker delays went to do a input reset from uac2 to playlist back to uac2 and now it will not pass sound through the upgateway.

2022/10/15 00:33:41 Close previous transport

  • 2022/10/15 00:33:41 UAC2 input engine uninitializing…
  • 2022/10/15 00:33:41 UAC2 input engine uninitialized
    & 2022/10/15 00:33:41 Set transport (240):
    & 2022/10/15 00:33:41 Playlist clear
    2022/10/15 00:33:41 Web switch input: #playlist#
    2022/10/15 00:33:44 Close previous transport
    & 2022/10/15 00:33:44 Set transport (5): USB Audio Class 2
    2022/10/15 00:33:44 found matching input: USB Audio Class 2
    2022/10/15 00:33:44 Audio transport: rate=0 channels=2 format=auto buffer=100
    2022/10/15 00:33:44 Input SDM packing: 1
  • 2022/10/15 00:33:44 UAC2 input engine initializing…
    2022/10/15 00:33:44 UAC2 input initial state 44100/32/2
    2022/10/15 00:33:44 UAC2 input sampling rate: 44100 (44100)
    2022/10/15 00:33:44 UAC2 input channels: 2 (2)
    2022/10/15 00:33:44 UAC2 input Available rates:
    2022/10/15 00:33:44 UAC2 input 32000
    2022/10/15 00:33:44 UAC2 input 44100
    2022/10/15 00:33:44 UAC2 input 48000
    2022/10/15 00:33:44 UAC2 input 64000
    2022/10/15 00:33:44 UAC2 input 88200
    2022/10/15 00:33:44 UAC2 input 96000
    2022/10/15 00:33:44 UAC2 input 128000
    2022/10/15 00:33:44 UAC2 input 176400
    2022/10/15 00:33:44 UAC2 input 192000
    2022/10/15 00:33:44 UAC2 input 256000
    2022/10/15 00:33:44 UAC2 input 352800
    2022/10/15 00:33:44 UAC2 input 384000
    2022/10/15 00:33:44 UAC2 input 512000
    2022/10/15 00:33:44 UAC2 input 705600
    2022/10/15 00:33:44 UAC2 input 768000
  • 2022/10/15 00:33:44 UAC2 input engine initialized
    2022/10/15 00:33:44 Audio transport: rate=0 channels=2 format=auto buffer=100 (normal)
    & 2022/10/15 00:33:44 Play
    2022/10/15 00:33:44 Web switch input: USB Audio Class 2
  • 2022/10/15 00:33:44 Playback engine running
    2022/10/15 00:33:44 Rate or blocksize change triggered
    2022/10/15 00:33:44 Rate: 44100, block size: 4704, frame size: 588
    2022/10/15 00:33:44 Block size: 4704 (sample: 4)
    2022/10/15 00:33:44 Playback engine ratio: 32
    2022/10/15 00:33:44 Filter: sinc (medium low)
    2022/10/15 00:33:45 Dither: 9th order noise shaping for 20-bit
    ! 2022/10/15 00:33:45 clHQPlayerEngine::Execute(): clHQPlayerEngine::InitSpeakers(): clString::ToFloat(): not a float
    2022/10/15 00:33:45 Stop request (reset)
  • 2022/10/15 00:33:45 Playback engine stopped
    & 2022/10/15 00:33:45 Stop…
    & 2022/10/15 00:33:45 …stopped
    2022/10/15 00:33:45 Set volume: -3 +
    2022/10/15 00:33:45 Audio transport: rate=0 channels=2 format=auto buffer=100 (normal)

Solved - reflashed usb drive hqplayeos

after some months I am revisiting this thread.
Were you able to retest UPGateway again with latest NAA images naa-425-x64.img and HQPlayer Desktop 4.19.3?

Will try to test again at the weekend and get that special USB cable out of my drawer and connect to my IPAD for testing Apple Music

See discussion above just last week.

What issues were you having?

And what music sources were you using?

So the static noise issue is gone now with latest NAA image and Desktop server module?
During our latest test some months ago we were testing iPad/Iphone playing Apple Music, Tidal, Qobuz using your playlist

If you read last week’s chat above, Jussi tried a different way - Ubuntu server running his custom kernel, on the UP.

He said he doesn’t get the issue now but i still get it.

So we need another person to test it out

1 Like

Thx
Didn’t get that detail with Ubuntu server with custom kernel before.
Now I understood.

Are you comfortable with installing Ubuntu Server to give it a try?

If so, i can share instructions how to install his custom kernel - it’s a few short steps, quite easy. Then the use afterwards is identical to using the image.

At the moment it works great for Jussi and still not great for me.

We need a 3rd person to be the decider to say if the issue is gone or not :smile:

Pls share the instructions.
I will have a look

Ok well Ubuntu Server is simple enough - plenty of how-to guides out there.

Install Focal Server:

https://releases.ubuntu.com/focal/ubuntu-20.04.5-live-server-amd64.iso

Use etcher to burn to USB stick.

After that all you need to do is type the below commands.

Do a reboot and the rest is done in HQPlayer as per normal to get UAC2 input working.

sudo wget https://www.sonarnerd.net/src/focal/linux-image-5.4.216-jl+_5.4.216-jl+-1_amd64.deb

sudo wget https://www.sonarnerd.net/src/focal/linux-headers-5.4.216-jl+_5.4.216-jl+-1_amd64.deb

sudo dpkg -i [linux-headers-5.4.216-jl+_5.4.216-jl+-1_amd64.deb](https://www.sonarnerd.net/src/focal/linux-headers-5.4.216-jl+_5.4.216-jl+-1_amd64.deb)

sudo dpkg -i [linux-image-5.4.216-jl+_5.4.216-jl+-1_amd64.deb](https://www.sonarnerd.net/src/focal/linux-image-5.4.216-jl+_5.4.216-jl+-1_amd64.deb)

sudo wget https://www.signalyst.eu/bins/naa/linux/focal/networkaudiod_4.3.0-55_amd64.deb

sudo dpkg -i [networkaudiod_4.3.0-55_amd64.deb](https://www.signalyst.eu/bins/naa/linux/focal/networkaudiod_4.3.0-55_amd64.deb)

sudo apt-get install alsa-utils

wget https://www.sonarnerd.net/src/focal/libgmpris_2.2.1-8_amd64.deb

sudo dpkg -i [libgmpris_2.2.1-8_amd64.deb](https://www.sonarnerd.net/src/focal/libgmpris_2.2.1-8_amd64.deb)
2 Likes

You don’t need libgmpris for networkaudiod, it is only needed for hqplayerd…

2 Likes

Thanks! Ignore last 2 lines @FooFighter

1 Like

before I start, just saw that the Ubuntu-image is for some AMD CPU.
I have “UP gateway, ATOM x5-Z8350.w/4G memory,32G eMMC board.w/ VESA plate”
Is there also an Ubuntu - Intel version or is this Ubuntu-AMD-kernel Intel-compatible?

Yes compatible.

Thanks for testing this. It might help with getting this UAC2 input fixed if more people can test and report bugs.

Try the same Apple Music / Qobuz playslists

https://open.qobuz.com/playlist/6641931

https://music.apple.com/au/playlist/musiclover-test-tracks/pl.u-EVeeIa63be6

What is called “x86-64” that is 64-bit extension to the Intel x86 architecture, is called “amd64” on Debian and Linux because it was designed by AMD and then (5 years) later copied by Intel and something they now call Intel64. In contrast to IA32 that was their name for x86. They had something called IA64 too, aka Itanium, that was a total flop and doesn’t exist anymore.

So, yes, nowadays Intel CPUs are compatible with amd64 architecture.

3 Likes

gosh, Ubuntu installed and standard NAA mode working flawlessly with attached Holo Audio Spring 3 KTE to UPGateway. Now after additionally connecting the USB3 OTG cable to iPhone CCK and not seeing any device on IOS I started remembering that it didn’t work a few months before either?
Plus there was a limitation with HQPlayer Desktop not allowing both input and output of UPGateway NAA?
Or is that supposed to work meanwhile within the Ubuntu solution so I don’t need to connect my Mac mini M1 where HQPlayer Desktop is running directly to my DAC?

Edit: My Hieb RS6 is working through UApp as a source for testing but HQPlayer Desktop can still not select same input and output device.
So I will need to move my Mac mini M1 towards my DAC in order to continue testing it seems.
But not today anymore then.

Yes - NAA can’t be both input and output

Don’t have a laptop around that can run NAA for output? For testing only, not permanent

my old i7 Macbook isn’t working we had that topic before but I have an Ifi Zen Stream

1 Like

Well hardest part is over ! Installing Ubuntu and NAA.

But you will still need a way to listen to the sound quality at your Mac with Holo

I keep a cheap combo DAC/headamp for troubleshooting/testing purposes like this - Pro-Ject Pre Box S2 DAC

shouldn’t another NAA like IFI Zen stream connected to my main DAC suffice?
unfortunately HQPlayer Desktop is hanging now after settings this up in the config