Jump to content
IGNORED

HQPlayer Embedded & Ravenna Issue


Recommended Posts

On 8/20/2022 at 1:58 PM, El Guapo said:

I once used my home network for Ravenna audio. Until one day I copied some DSD albums to my NAS while playing the music and the Ravenna audio streams distorted... really bad. So that's why I decided to get a Cisco CBS350 for Ravenna.😅

 

It was a long day playing around with several routers and switches... However in the dual Linux/Widows setup I cannot get rid of crackles and dropouts even without activity other than audio playback. So I am seriously considering the CBS350 you recommend. My network experience is limited though, and before buying it I would appreciate a summary of how to set this up with HQPE and Ravenna on one PC (Linux) and MAD and Aneman on another (Windows). I assume there will be 2 VLAN's? How would these be used? What would be on which VLAN? Would I use both NIC's on the PC with Ravenna ALSA as I did with Ravenna ASIO under Windows? On which VLAN would I access my music, for instance if I use JRiver as control point and HQPE as renderer?

 

audio system

 

Link to comment
14 minutes ago, bodiebill said:

 

It was a long day playing around with several routers and switches... However in the dual Linux/Widows setup I cannot get rid of crackles and dropouts even without activity other than audio playback. So I am seriously considering the CBS350 you recommend. My network experience is limited though, and before buying it I would appreciate a summary of how to set this up with HQPE and Ravenna on one PC (Linux) and MAD and Aneman on another (Windows). I assume there will be 2 VLAN's? How would these be used? What would be on which VLAN? Would I use both NIC's on the PC with Ravenna ALSA as I did with Ravenna ASIO under Windows? On which VLAN would I access my music, for instance if I use JRiver as control point and HQPE as renderer?

You may be able to just plug the switch in and everything will work without special config. I had it working on my network without any config. I switched to a dedicated switch for 12 channel at 32 bit / 352.8 kHz. 
 

I wouldn’t mess with vlans. 
 

Merging offers config info here - https://merging.atlassian.net/wiki/spaces/PUBLICDOC/pages/4817447/Network+Switches+for+RAVENNA+-+AES67

Founder of Audiophile Style | My Audio Systems AudiophileStyleStickerWhite2.0.png AudiophileStyleStickerWhite7.1.4.png

Link to comment
13 minutes ago, The Computer Audiophile said:

You may be able to just plug the switch in and everything will work without special config. I had it working on my network without any config. I switched to a dedicated switch for 12 channel at 32 bit / 352.8 kHz. 

 

'Plug in' as in plug in my current modem-router?

Do you have one or multiple networks? 

 

13 minutes ago, The Computer Audiophile said:

I wouldn’t mess with vlans. 
 

Merging offers config info here - https://merging.atlassian.net/wiki/spaces/PUBLICDOC/pages/4817447/Network+Switches+for+RAVENNA+-+AES67

 

Still a bit confusing to me as this is the same article I quoted above which says "RAVENNA/AES67 network should have its own VLAN and not mixed with other network types."

Just trying to understand before ordering the switch.

 

audio system

 

Link to comment
7 hours ago, bodiebill said:

I replaced my Zyxel modem-router by an Asus RT-N66U, upgraded its firmware, defined some QoS rules in favor of Ravenna and turned of the firewall.

 

There shouldn't be any need to configure any QoS rules as long as the switch honors 802.1p / DiffServ and assigns traffic correctly into different priority queues. RAVENNA and HQPlayer NAA flag the traffic correctly to indicate type of traffic.

 

With some switches ones needs for enable 802.1p and/or 802.3x, but usually default priority queue assignments are fine.

 

Doing unicast RAVENNA (or HQPlayer NAA) for 8 channels or less, is not particularly heavy on the network. So it should work without too much trouble.

 

Did you use same NIC hardware for direct RAVENNA connection you are using for your home network? Or is there possibility that the NIC / driver is different?

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
15 hours ago, Miska said:

 

There shouldn't be any need to configure any QoS rules as long as the switch honors 802.1p / DiffServ and assigns traffic correctly into different priority queues. RAVENNA and HQPlayer NAA flag the traffic correctly to indicate type of traffic.

 

With some switches ones needs for enable 802.1p and/or 802.3x, but usually default priority queue assignments are fine.

 

Thanks. I ordered the Cisco switch...

 

15 hours ago, Miska said:

Doing unicast RAVENNA (or HQPlayer NAA) for 8 channels or less, is not particularly heavy on the network. So it should work without too much trouble.

 

Did you use same NIC hardware for direct RAVENNA connection you are using for your home network? Or is there possibility that the NIC / driver is different?

 

When on Windows I had good results using two different NICs on the PC, on different subnets, one on the home network and one dedicated to Hapi.

When on Linux I only use one of the NICs and everything runs on the home network, including Hapi.

My goal is to get the latter setup to play undistorted. Currently there are occasional glitches, dropouts, short electronic screaming sounds, or sometimes playback stops altogether.

 

 

audio system

 

Link to comment
9 hours ago, bodiebill said:

@Miska

Something I do not understand about playing with HQPE into Ravenna...

 

With this setting there is music:

image.thumb.png.f7d12a57cffa97cf1becce332a1563fa.png

 

but with this setting no sound:

image.thumb.png.1b4e415967111114c7b46e030dee7fc5.png

 

Any explanation?

 

I am using the more forgiving settings for testing, but aim to use the EC modulators when things have settled -- if they ever will...

 

Sample rate mismatch between HQPlayer and Hapi?

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
On 8/21/2022 at 9:26 PM, The Computer Audiophile said:

My network is a bit different from most. You should be able to connect the switch to your router and have it work. 

 

Why not do it the way recommended by Merging? Looks easy enough with the configuration files they provide. I guess to start simple I should choose the top one? Or would a dual VPN have benefits? Reading the preceding posts I guess there may be different opinions on this.

 

image.thumb.png.8983b11f12c79c0fd2dd8bc139c8350b.png

 

P S Actually, I expect that the second option will not work with Ravenna ALSA on Linux and MAD/Aneman on Windows, for the same reason that the 2nd NIC cannot be used in that setup. Correct me if I am wrong.

 

audio system

 

Link to comment
1 hour ago, bodiebill said:

 

Why not do it the way recommended by Merging? Looks easy enough with the configuration files they provide. I guess to start simple I should choose the top one? Or would a dual VPN have benefits? Reading the preceding posts I guess there may be different opinions on this.

 

image.thumb.png.8983b11f12c79c0fd2dd8bc139c8350b.png

 

P S Actually, I expect that the second option will not work with Ravenna ALSA on Linux and MAD/Aneman on Windows, for the same reason that the 2nd NIC cannot be used in that setup. Correct me if I am wrong.

I don’t recommend vlans unless you understand them and need them. People think they are the answer to everything, but on a home network, where you may want to use an app that won’t work if devices are on different vlans, it can be a pain. People will troubleshoot for weeks before remembering the issue is the vlans they “had” to use. 
 

Vlans are great when needed. Not so great when unneeded. 

Founder of Audiophile Style | My Audio Systems AudiophileStyleStickerWhite2.0.png AudiophileStyleStickerWhite7.1.4.png

Link to comment
1 hour ago, The Computer Audiophile said:

I don’t recommend vlans unless you understand them and need them. People think they are the answer to everything, but on a home network, where you may want to use an app that won’t work if devices are on different vlans, it can be a pain. People will troubleshoot for weeks before remembering the issue is the vlans they “had” to use. 
 

Vlans are great when needed. Not so great when unneeded. 

 

OK, thanks. I will will try your method first: just plug in the Cisco switch into my router and then connect the Linux PC with the Ravenna ALSA driver and the Windows NUC with MAD & Aneman to the switch. Due tomorrow, fingers crossed...

 

audio system

 

Link to comment

I have had pertinent, attentive and prompt support from Merging via email. Two quotes:

 

The ASIO or the ALSA device should be placed on the Crown Icon to then be able to drive any sampling rate change.

Though I still think it could be beneficial if everything follows the S/R of the Hapi (i.e. with Hapi in the crown).

 

Unfortunately it can’t work with regular router, only managed switch are benchmarked to work with our AOIP technology.

 

 

audio system

 

Link to comment
5 hours ago, bodiebill said:

I have had pertinent, attentive and prompt support from Merging via email. Two quotes:

 

The ASIO or the ALSA device should be placed on the Crown Icon to then be able to drive any sampling rate change.

Though I still think it could be beneficial if everything follows the S/R of the Hapi (i.e. with Hapi in the crown).

 

Unfortunately it can’t work with regular router, only managed switch are benchmarked to work with our AOIP technology.

 

In any case, if necessary, you can use a NAA as regular network - RAVENNA bridge. Since NAA is designed to work on regular networks and even over WiFi.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
7 hours ago, Miska said:

In any case, if necessary, you can use a NAA as regular network - RAVENNA bridge. Since NAA is designed to work on regular networks and even over WiFi.

 

Do you mean running NAA on a device that also has the Ravenna ALSA driver (like HQP OS or GentooPlayer) for instance like this:

JRiver as control point --> HQPE as renderer --> NAA --> Ravenna ALSA --> Hapi ?

 

audio system

 

Link to comment
39 minutes ago, bodiebill said:

Do you mean running NAA on a device that also has the Ravenna ALSA driver (like HQP OS or GentooPlayer) for instance like this:

JRiver as control point --> HQPE as renderer --> NAA --> Ravenna ALSA --> Hapi ?

 

Yes, that should work. I know some people do that on a Windows or macOS machine to avoid dealing with the Ravenna ALSA driver.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
On 8/23/2022 at 7:35 PM, El Guapo said:

Yes. Use the top one. The bottom one which I’m using now has incorrect description on their web: port 1-4 and 9 should be for generic ip network, port 5-8 and 10 are for Ravenna.

 

Indeed that must be a mistake in the Merging instructions for switch auto-configuration as 9 and 10 are Combo ports (RJ45 or SFP), and these should be on different VLANs.

 

Still struggling here with the setup. Too early to report back but learning a lot :-)

 

audio system

 

Link to comment

Today I did make progress with the Cisco CBS350 switch. After just plugging it into my router, I still had hiccups and other strange behavior. Then I decided to make 2 VLANs. Merging's auto-config file gave an error when uploading, so I did it manually. There are clear instructions on the Merging website and this for me was also more educational. So now I have VLAN 1 (192.168.1.x, ports 1-4) for my normal home network and VLAN 2 (169.254.x.x, ports 6-10 incl. both SFP's) for Ravenna AES64. So far so good.

 

One thing I am still looking at is the HQPE renderer function. It worked on and off last week but since today I can no longer get it to work. The goal is to have JRiver control the renderer. An old HQPE manual mentions that in the JRiver DLNA settings I need to set the Mode to Original and the format to PCM L24 No header.

image.png.b648e77b2ed3e0aa89fd38a351ebee89.png

 

I find this somewhat surprising as the Original setting greys out the Format setting. Also, with these settings applying DSP in JRiver is not possible. However I got it to work like this last week. But now no longer. Could it have something to do with the subnets?

 

Cisco switch: 169.254.1.254
PC NIC1: 192.168.1.139 (internet access)
PC NIC2: 169.254.47.30 (Ravenna ALSA driver, HQPE)
NUC ethernet: 169.254.218.196 (MAD and Aneman)
NUC WiFi: 192.168.1.116 (internet access)
Hapi: 169.254.20.202

 

JRiver shows the HQPE renderer as being on 169.254.47.30:

image.png.63af2a114cc1cbbfef4bf2918902e495.png

 

 

Upon Play:

image.png.2ce4fea990404b56eda2abe351b4def6.png

 

audio system

 

Link to comment
6 minutes ago, The Computer Audiophile said:

I never use 169.254.xxx.xxx subnets on Merging components, even if I'm connecting directly from a computer to the component.

 

I just followed Merging's instructions. And it looks like it cured some strange behavior.

 

However, I did notice just now that JRiver suddenly sees HQPE renderer on the other ip address:

image.png.dc8e7400dcfd02809a6103284e911d39.png

 

while before it was

image.png.de430f53f9f39bf4a4102c9c7c65c6d5.png

 

Is there a way to influence this?

 

audio system

 

Link to comment
24 minutes ago, bodiebill said:

However, setting it to Specified output format breaks it again. So DSP with JRiver does not seem possible when streaming to HQPE. Is this a know thing?

 

I think I've heard that JRiver has such limitation. But why do you want to do DSP with JRiver if you use HQPlayer?

 

13 minutes ago, bodiebill said:

However, I did notice just now that JRiver suddenly sees HQPE renderer on the other ip address:

image.png.dc8e7400dcfd02809a6103284e911d39.png

 

while before it was

image.png.de430f53f9f39bf4a4102c9c7c65c6d5.png

 

Now it looks more normal...

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to comment
21 minutes ago, bodiebill said:

Is there a way to influence this?

169.254.x.x is zeroconf IP address. Generated by device itself. Most likely Ravenna network prefer zeroconf for killing less brain cells.😆

 

If you setup 2 VLANs, you can either configure dual RJ45 NAA as bridge or dual RJ45 HQPe server.

 

If you choose first option, designate one of the RJ45 connects to Ravenna VLAN (remember to edit Ravenna configuration file) and the other RJ45 connects to home network. HQPe connects to home network. HQPe will see the NAA at home network side.

 

If you choose second option, NAA is not needed anymore. Just designate one of the RJ45 of HQPe server to connect to Ravenna VLAN (same, needs to properly conf Ravenna). HQPe's audio will direct output to Hapi. The other RJ45 connects to home network. Other devices will see your HQPe server at home network side.

Link to comment

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...