AVgecko
HomeLearn AV
Toolssoon
← All chapters

9.AV-over-IP

  1. 1Encoders & decoders
  2. 2Codecs, compression & latency
  3. 3Audio networking
Chapter0/3
← 9. AV-over-IP

Audio networking

Dante, AES67 and clocking on a shared network.

Chapter 910 minAudio routing & clock simulator

Networked audio arrived in installed AV years before networked video, and it is now the default. A single network cable to a ceiling microphone can carry many channels of audio plus power and control, replacing a bundle of analog mic cables. Behind most of these systems are a few technologies — and one critical idea: everyone shares a clock.

The main technologies

TechnologyWhat it isWhere you'll meet it
DanteAudinate's proprietary audio networking, licensed into a very wide range of productsMost installed AV: mics, DSPs, amplifiers, conferencing
AES67An open AES standard for exchanging audio between different networking systemsLinking Dante, Ravenna and other systems; broadcast
AVB / MilanIEEE standards that reserve bandwidth in the switches; Milan profiles them for pro audioLive sound and some installations; needs AVB-capable switches
Dante
What it isAudinate's proprietary audio networking, licensed into a very wide range of products
Where you'll meet itMost installed AV: mics, DSPs, amplifiers, conferencing
AES67
What it isAn open AES standard for exchanging audio between different networking systems
Where you'll meet itLinking Dante, Ravenna and other systems; broadcast
AVB / Milan
What it isIEEE standards that reserve bandwidth in the switches; Milan profiles them for pro audio
Where you'll meet itLive sound and some installations; needs AVB-capable switches

Because Dante is so common, this lesson uses its terms. The ideas — devices, channels, subscriptions and a shared clock — apply to the others too.

Devices, channels and subscriptions

Each device offers transmit channels (audio it can send) and receive channels (inputs that can listen). Routing means subscribing a receive channel to a transmit channel, usually in software such as Dante Controller, by device and channel name rather than by IP address. Name devices clearly — “BRD-CeilingMic-1” beats a factory default — because subscriptions follow the names.

Audio travels as flows of packets. By default, Dante sends unicast flows to each receiving device; for one-to-many distribution it can use multicast, which brings in the IGMP considerations of Chapter 8.

Clocking: one leader for everyone

Digital audio is a stream of samples taken at a fixed rate — 48,000 per second at 48 kHz (Chapter 1). If two devices' sample clocks run even slightly differently, one gradually produces more samples than the other consumes, and the audio clicks or drops out. So networked audio devices elect one clock leader, and all others lock to it using the Precision Time Protocol (PTP), sent over the same network.

  • An election chooses the leader automatically. You can bias it by marking one reliable, always-on device — often the DSP — as preferred leader.
  • Devices must run at the same sample rate to exchange audio. A 96 kHz device can't subscribe to a 48 kHz one.
  • PTP messages are why QoS matters: they need consistent, prompt delivery (Chapter 8's DSCP table).
Audio routing & clock simulator
Devices
Ceiling mic00:1d:c1:4a:12:07
Wireless receiver00:1d:c1:39:80:2c
Room PC00:1d:c1:6f:05:91
DSP00:1d:c1:7e:b4:5e
Clock leader
DSP input subscriptions
In 1● Audio flowing
In 2● Audio flowing
In 3● Audio flowing
In 4Silent

DSP is the clock leader, because it's marked preferred. Every other device locks its sample clock to it, so all their audio stays in step. Subscriptions only work between devices running at the same sample rate.

A simplified model of Dante-style routing and clock election. Real elections also weigh each device's clock quality and any external sync source.

Subscribe DSP inputs to different channels. Switch the wireless receiver to 96 kHz and watch its subscription fail. Then untick the DSP's preferred-leader box, and try marking two devices preferred.

Latency settings

Each receiving device holds incoming audio in a small buffer, set by its latency setting, so packets that take slightly different times to arrive can still be played out in step. Dante's default is 1 ms. Lower settings suit small, fast networks; larger networks with more switches between devices may need a higher setting. Packets that arrive later than the setting allows are lost, which you hear as clicks. Audinate publishes guidance on which settings suit which network sizes.

Redundancy

Many Dante devices have two network ports, primary and secondary. Connected to two fully separate networks, they send every audio stream over both, and a receiver carries on seamlessly if one network fails. The two networks must never be connected to each other.

In the field

Intermittent clicks or dropouts on a Dante system usually come down to clocking or the network: check which device is clock leader and whether it's stable, that Energy Efficient Ethernet is off, that QoS is set, and whether latency settings suit the number of switch hops.

Key takeaways

  • 01Dante dominates installed AV; AES67 links different systems; AVB/Milan reserves bandwidth in AVB switches.
  • 02Routing means subscribing receive channels to transmit channels by device and channel name.
  • 03All devices lock to one clock leader over PTP; set a reliable device as preferred leader.
  • 04Devices must share a sample rate to exchange audio.
  • 05Latency settings must cover the network's delay variation; dual networks give seamless redundancy.

Check your understanding

Q1A 96 kHz device can't subscribe to channels from a 48 kHz microphone. Why?

Q2What does the clock leader do on an audio network?

Q3Dante devices with primary and secondary ports are connected to two separate networks. What does that provide?

← Previous

Codecs, compression & latency