Jump to content
4est

HQPlayer's Network Audio Adapter

Recommended Posts

Thanks to the Armbian guys I have now downloaded a beta version of Ubuntu (ARMBIAN Ubuntu 16.04.1 LTS 3.4.113-sun8i) onto my NanoPi M1.

 

Then I logged in as root user and downloaded the networkaudiod_3.4.0-32_armhf.deb package using

 

wget https://www.signalyst.eu/bins/naa/linux/trusty/networkaudiod_3.4.0-29_amd64.deb

 

and then installed it using

 

apt-get install ./networkaudiod_3.4.0-32_armhf.deb

 

At the end there is an error - not sure if this is important ( ?).

 

N: Can't drop privileges for downloading as file '/root/networkaudiod_3.4.0-32_armhf.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

 

With HQPlayer desktop running on a macMini on the same LAN it can’t find any NetWork Audio Adaptors.

 

Back to the SoC where I installed the NAA. If I use

 

ps –ef

 

to list processes.

 

Or

service --status-all

 

to list all services.

 

There is no mention of “networkaudiod” anywhere. So it seems the NetWork Audio Adaptor is not running.

 

Have I missed something, am I doing something wrong ?.

Share this post


Link to post
Share on other sites
Thanks to the Armbian guys I have now downloaded a beta version of Ubuntu (ARMBIAN Ubuntu 16.04.1 LTS 3.4.113-sun8i) onto my NanoPi M1.

 

Then I logged in as root user and downloaded the networkaudiod_3.4.0-32_armhf.deb package using

 

wget https://www.signalyst.eu/bins/naa/linux/trusty/networkaudiod_3.4.0-29_amd64.deb

 

and then installed it using

 

apt-get install ./networkaudiod_3.4.0-32_armhf.deb

 

At the end there is an error - not sure if this is important ( ?).

 

N: Can't drop privileges for downloading as file '/root/networkaudiod_3.4.0-32_armhf.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

 

With HQPlayer desktop running on a macMini on the same LAN it can’t find any NetWork Audio Adaptors.

 

Back to the SoC where I installed the NAA. If I use

 

ps –ef

 

to list processes.

 

Or

service --status-all

 

to list all services.

 

There is no mention of “networkaudiod” anywhere. So it seems the NetWork Audio Adaptor is not running.

 

Have I missed something, am I doing something wrong ?.

 

Problem solved.

 

I ran the code..

 

[color=#000000][font=Menlo]service networkaudiod start
[/font][/color]

I now have audio via HQ Player on the MacMini to the SoC's speakers via Network Audio Adaptor...:-)))

Share this post


Link to post
Share on other sites
I would recommend sending highest possible rate PCM to Chord DACs instead of DSD, because the DSD is anyway converted to PCM there using not-so-great algorithm.

 

You were right, when I first tried this approach, I upconverted to 704 rate and the results didn't wow me. I tried today upconverting to 768 and it sounds great. Many thanks.

 

 

Sent from my iPhone using Computer Audiophile


PS Audio P5 Power Plant>HQ Player Mac Book Pro BootCamp Win10>NAA Mac Mini BootCamp Win 10>REGEN Green>REGEN Amber>IFI iDSD Micro>BHSE>Stax SR-009

Share this post


Link to post
Share on other sites

Hi

I am trying to get an Orangepi plus 2e set up as an NAA.

I have the orangepi up and running using Armbian Xenial (beta at this stage)

I have used the Debian stretch armhf NAA image provided by Miska ( there is no armhf Xenial image available from Miska).

The Debian Stretch armhf.deb installs fine.

When I launch HQPlayer it sees the NAA and my dac. I can set an album playing but there is no volume.

Any ideas?

Do I need to ask Miska for an armhf Xenial download?

Share this post


Link to post
Share on other sites
I am trying to get an Orangepi plus 2e set up as an NAA.

I have the orangepi up and running using Armbian Xenial (beta at this stage)

I have used the Debian stretch armhf NAA image provided by Miska ( there is no armhf Xenial image available from Miska).

The Debian Stretch armhf.deb installs fine.

When I launch HQPlayer it sees the NAA and my dac. I can set an album playing but there is no volume.

Any ideas?

Do I need to ask Miska for an armhf Xenial download?

 

What is your DAC? If your DAC has volume controllable from software, check with "alsamixer" that you have set it to 0 dBFS. And that the volume control in HQPlayer is turned up to -3 dBFS or other suitable value.


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites
What is your DAC? If your DAC has volume controllable from software, check with "alsamixer" that you have set it to 0 dBFS. And that the volume control in HQPlayer is turned up to -3 dBFS or other suitable value.

 

Thanks Miska

Dac has no volume controllable software. (Audionote Dac with Luckit WaveIO usb input)

I got it working by uninstalling pulse audio and fiddling with alsamixer. (only took this unix no nothing about 8 hours)

 

Regards

Carl

Share this post


Link to post
Share on other sites
Yes, "dpkg -i" will just replace the previously installed version.

 

You can then restart the daemon with "systemctl restart networkaudiod" (or just reboot the device).

 

Hi Miska,

 

I am running Desktop 3.13.3 and NAA 3.4.0 (Stretch) and it's working fine but not a single one of the 3.14.X versions can find the Raspberry Pi.

Is there a way to find out what's happening?

I have tried your image and the same happens.

 

Thanks,

Ricardo


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
I am running Desktop 3.13.3 and NAA 3.4.0 (Stretch) and it's working fine but not a single one of the 3.14.X versions can find the Raspberry Pi.

Is there a way to find out what's happening?

I have tried your image and the same happens.

 

If you stop the networkaudiod service first (with "systemctl stop networkaudiod") and then just manually run it with "/usr/sbin/networkaudiod" you'll get informational trace of what is going on. Check if it hears the HQPlayer discovery for example when you go to device selection in HQPlayer 3.14.x. You can also check HQPlayer's log file if it reports a problem or something about the NAA.


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites
If you stop the networkaudiod service first (with "systemctl stop networkaudiod") and then just manually run it with "/usr/sbin/networkaudiod" you'll get informational trace of what is going on. Check if it hears the HQPlayer discovery for example when you go to device selection in HQPlayer 3.14.x. You can also check HQPlayer's log file if it reports a problem or something about the NAA.

Thanks.

I have stopped networkaudiod.

Where do I write the command "/usr/sbin/networkaudiod"?


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites

In the terminal:

 

With 3.13 I get Found ALSA device.

With 3.14 I don't.


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
In the terminal:

 

With 3.13 I get Found ALSA device.

With 3.14 I don't.

 

Are you using IPv4 or IPv6 backend on HQPlayer?

 

Does "ifconfig" on your NAA device show IPv6 address for the interface?


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites
Are you using IPv4 or IPv6 backend on HQPlayer?

 

Does "ifconfig" on your NAA device show IPv6 address for the interface?

 

Hi Miska,

 

This is what I got from "ifconfig":

 

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

inet 169.254.10.205 netmask 255.255.0.0 broadcast 169.254.255.255

inet6 fe80::e903:8789:3c24:cce5 prefixlen 64 scopeid 0x20<link>

ether b8:27:eb:a8:dc:a4 txqueuelen 1000 (Ethernet)

RX packets 11777831 bytes 368893625 (351.8 MiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX packets 345908 bytes 27271916 (26.0 MiB)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536

inet 127.0.0.1 netmask 255.0.0.0

inet6 ::1 prefixlen 128 scopeid 0x10<host>

loop txqueuelen 0 (Local Loopback)

RX packets 2176 bytes 206720 (201.8 KiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX packets 2176 bytes 206720 (201.8 KiB)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

 

I am running Desktop on MacOS 10.10 with IPv4 "Using DHCP" and IPv6 "Automatic".

 

I can't find HQPlayer's log file.

 

Thanks,

Ricardo


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites

I can't find HQPlayer's log file.

Ricardo

 

You likely know this, but just in case: HQPlayer doesn't ordinarily do log files; you have to enable this in the preferences.


One never knows, do one? - Fats Waller

The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein

Computer, Audirvana -> wi-fi to router -> EtherREGEN -> microRendu -> USPCB -> ISO Regen (powered by LPS-1) -> USPCB -> Pro-Ject Pre Box S2 DAC -> Spectral DMC-12 & DMA-150 -> Vandersteen 3A Signature.

Share this post


Link to post
Share on other sites
You likely know this, but just in case: HQPlayer doesn't ordinarily do log files; you have to enable this in the preferences.

 

Thanks but I did know; I just can't find it.

 

R


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
Thanks but I did know; I just can't find it.

 

In finder, use go to folder menu option and go to folder called "~/.hqplayer" and you can find HQPlayer.log there.


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites
In finder, use go to folder menu option and go to folder called "~/.hqplayer" and you can find HQPlayer.log there.

Found it, thanks.

 

What should I look for in the file?


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
In finder, use go to folder menu option and go to folder called "~/.hqplayer" and you can find HQPlayer.log there.

It says here:

 

"Network Audio IPv6 support disabled"

 

Is this the problem?

 

R


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
"Network Audio IPv6 support disabled"

 

Is this the problem?

 

No, on macOS the IPv6 support is always disabled, so it is IPv4 only. Can you email me the log file?

 

Warning lines are prefixed with '#' and errors are prefixed with '!' so it is fairly easy to find issues. But if there is no activity shown at the NAA side when HQPlayer is started or when preferences is trying to list the available devices, then the NAA is not hearing anything from HQPlayer.

 

You can try to switch the networkaudiod to IPv4-only by doing:

export NETWORKAUDIOD_IPV6=0

before starting the networkaudiod with /usr/sbin/networkaudiod


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites
No, on macOS the IPv6 support is always disabled, so it is IPv4 only. Can you email me the log file?

 

Warning lines are prefixed with '#' and errors are prefixed with '!' so it is fairly easy to find issues. But if there is no activity shown at the NAA side when HQPlayer is started or when preferences is trying to list the available devices, then the NAA is not hearing anything from HQPlayer.

 

You can try to switch the networkaudiod to IPv4-only by doing:

export NETWORKAUDIOD_IPV6=0

before starting the networkaudiod with /usr/sbin/networkaudiod

Thanks.

I am away for a few days, will email you the file as soon as I return.

 

Best,

Ricardo


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
No, on macOS the IPv6 support is always disabled, so it is IPv4 only. Can you email me the log file?

 

Warning lines are prefixed with '#' and errors are prefixed with '!' so it is fairly easy to find issues. But if there is no activity shown at the NAA side when HQPlayer is started or when preferences is trying to list the available devices, then the NAA is not hearing anything from HQPlayer.

 

You can try to switch the networkaudiod to IPv4-only by doing:

export NETWORKAUDIOD_IPV6=0

before starting the networkaudiod with /usr/sbin/networkaudiod

 

Hi Miska,

 

I've just sent you an email with the log file.

I've found an errors prefixed with '!':

 

Network is unreachable

 

Thanks,

Ricardo


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
Hi Miska,

 

I've just sent you an email with the log file.

I've found an errors prefixed with '!':

 

Network is unreachable

 

Sounds like a network configuration issue. Does your network connection work? Can you reach internet, for example Google?

 

Check that any firewall software is not blocking traffic to/from HQPlayer.


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites
Sounds like a network configuration issue. Does your network connection work? Can you reach internet, for example Google?

 

Check that any firewall software is not blocking traffic to/from HQPlayer.

 

I am not connected to the internet.

 

My setup consists of a WD NAS, a Macbook, a Netgear switch and the Raspberry-Pi.

It works perfectly with the 3.13 version but not the 3.14...

 

I'll check the firewall.


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
Sounds like a network configuration issue. Does your network connection work? Can you reach internet, for example Google?

 

Check that any firewall software is not blocking traffic to/from HQPlayer.

 

Firewall is off.

I'll email you the 3.13 log file.


"Science draws the wave, poetry fills it with water" Teixeira de Pascoaes

Share this post


Link to post
Share on other sites
Firewall is off.

I'll email you the 3.13 log file.

 

There's also error there.

 

You seem to have a link local IP meaning that you don't have any network configured at all? At least NAA is missing a proper IP address. In typical setup you would have a DHCP server somewhere in the network assigning proper IP addresses to each device. The "Network is unreachable" error results when there is no route to the destination address (in the OS routing table).


Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...