Digital Audio White Paper
Digital Audio White Paper
Digital Audio White Paper
XS(MKMXEP%YHMS
.SLR;EXOMRWSR
An NVision2 Guide
1
The Video Engineers Guide to Digital Audio - John Watkinson
Publishers Forward
Nigel Spratling
Vice President - Marketing
NVision2
ISBN 0-9640361-3-4
2
'328)287
-RXVSHYGXMSR
'LETXIV;LEXMWHMKMXEPEYHMS#
'LETXIV'SRZIVWMSR
'LETXIV0IZIPWERHQIXIVMRK
'LETXIV8VERWQMWWMSR
'LETXIV7]RGLVSRM^MRK
'LETXIV6SYXMRK
'LETXIV,S[HS-KSHMKMXEP#
3
The Video Engineers Guide to Digital Audio - John Watkinson
-2863(9'8-32
This guide is intended for the television engineer faced with the
problem of integrating digital audio systems in a television
environment. Digital audio is a complex subject which is often
described by specialists in a way which leaves many of us
confused. This guide is not like that. It is for normal people who
have a job to do and need to make decisions without getting lost
in pages of math. So there are no equations here, only clear
explanations. And there’s a Glossary where all the buzzwords are
defined.
4
What is Digital Audio
5
The Video Engineers Guide to Digital Audio - John Watkinson
'LETXIV
;LEXMW(MKMXEP%YHMS#
6
What is Digital Audio
9
R
O
W
D
J
H
7 7 7 7 7 7 7 7 7LPH
'DWDWREHVWRUHG
RUWUDQVPLWWHGDUH
ZKROHQXPEHUV
7
The Video Engineers Guide to Digital Audio - John Watkinson
7KLVELWUHSUHVHQWV 7KLVELWUHSUHVHQWV
0RVWVLJQLILFDQWELW /HDVWVLJQLILFDQWELW
06%
1 1 1 1 /6%
7KLVELWUHSUHVHQWV 7KLVELWUHSUHVHQWV
([DPSOHV
+,*+
92/7$*( (/(&75,&$/
/2:
11 66 11 66 0$*1(7,&
237,&$/
0(&+$1,&$/
Figure 1.3 Several ways of handling binary data are shown here. In
electronic circuits, two different voltages are needed, commonly achieved
with a simple on/off switch. In magnetic recording, two flux directions are
used. Optical recording may use alternative opaque or dark areas and
mechanical storage may use raised or depressed areas on a surface.
8
What is Digital Audio
1.2 Digital transmission has the advantage over analog in that it can
reject noise and jitter. If the whole numbers representing the video
waveform voltage are converted into binary, using the conversion
table shown in Fig.1.2, the binary digits, or bits, have only two
states, 1 and 0. These two states can then be represented by any
electrical, magnetic, optical or mechanical system which can exist
in two states. Fig.1.3 shows binary represented electrically by two
6/,&(
/(9(/
&/($1
6,*1$/
12,6<6,*1$/
6/,&(6
+(5(
&/($16,*1$/
6/,&(6+(5(
E
-,77(5'8(7212,6(
Figure 1.4 A Binary signal has the advantage that a simple slicer shown at
(a) can be used to recreate a square signal. The result is that noise only
causes jitter as shown in (b). This can be removed with a well designed
9
The Video Engineers Guide to Digital Audio - John Watkinson
With only two states, more noise can be rejected than in any other
system as Fig.1.4a) illustrates using the example of an electrical
interface. Although the signal transmitted is a clean, two-level
waveform, by the time it reaches the receiver it will be suffering
from noise and jitter. The receiver compares the voltage of the
signal with a reference which is mid-way between the transmitted
levels in a process called slicing. Any voltage above the slicing level
is considered a 1 and any voltage below is considered a 0. This
slicing process will reject considerable amounts of noise and
restore the signal to clean binary once more.
1.3 There are two main advantages which follow from the
characteristics of PCM audio. Firstly, in the absence of a
compression system, the quality of reproduction of a well
10
What is Digital Audio
11
The Video Engineers Guide to Digital Audio - John Watkinson
',*,7$/
5287,1*
$1$/2*
$'& 0$75,;
,1
$1$/2*
'$&
287
5(&/2&.(5
1/ ADCs and DACs determine sound quality and the best available
should be used. Cheap converters are false economy as they drag
down the performance of the rest of the system.
12
Conversion
'LETXIV
'SRZIVWMSR
D
H
J
D
WO
R
Y
Q V 4
R X X
OH V R D
Q
S L WL
P D [ X ]H
D Q
LW
6 H
LP Q
W
R
&
'LVFUHWHWLPH
H
J
D
W
O H
R J
Y D
WO
V
X R
R Y
X H
W
Q
LW H
U
Q F
R LV
& '
&RQWLQXRXVWLPH 'LVFUHWHWLPH
E
4
X
YR DQ
OW WL H OH
D ]H J S
J
H D P
D RQ WO D
[L 6
V R
Y
WH
H
U
F
V
L
'
&RQWLQXRXVWLPH
Figure 2.1 Since sampling and quantizing are orthogonal, the order in
which they are performed is not important. In (a) sampling is performed first
and the samples are quantized. This is common with audio converters. In
(b) the analog input is quantized into an asynchronous binary code.
Sampling takes place when this code is latched on the sampling clock
edges. This approach is universal in video converters.
2.1 The ear can detect tiny amounts of distortion, and will accept
an enormous dynamic range. These characteristics require audio
13
The Video Engineers Guide to Digital Audio - John Watkinson
6LJQDO
F
2IIVHW
14
Conversion
D HWF
)V )
V )
V
%DVHEDQG
)LOWHUUHVSRQVH
E
HWF
)E )V )
V )
V
$OLDV]RQH
F HWF
)E )V )
V )
V
)V)E )V)E
1\TXLVWOLPLW
2XW ,Q
G HWF
D )V
E
D E
0LQLPXPSRVVLEOH
VDPSOLQJUDWH
H
)E ≡
)V [PLQLPXP
%DVHEDQG
Figure 2.3 (a) Spectrum of sampling pulses. (b) Spectrum of samples. (c)
Aliasing due to sideband overlap. (d) Beat-frequency production. (e) 4 x
oversampling.
15
The Video Engineers Guide to Digital Audio - John Watkinson
D E
16
Conversion
Every signal which has been through the digital domain has passed
through both an anti-aliasing filter and a reconstruction filter.
These filters must be carefully designed in order to prevent audible
artifacts, particularly those due to lack of phase linearity as they
may be audible. The nature of the filters used has a great bearing
on the subjective quality of the system. It is difficult to produce an
analog filter with low distortion, but fortunately today the problem
is sidestepped using oversampling. The audible superiority and
economy of oversampling converters has led them to be almost
universal. Strictly speaking, oversampling means no more than
using a higher sampling rate than theory demands. In the loose
sense an "oversampling converter" generally implies that some
combination of high sampling rate and various other techniques
has been applied. Oversampling is treated in depth in a later
paragraph of this section.
17
The Video Engineers Guide to Digital Audio - John Watkinson
H UUR U D
W
9
Figure 2.5 The effect of sampling timing jitter on noise, and calculation of
the rquired accuracy for a 16 bit system. (a) Ramp sampled with jitter has
error proportional to slope. (b) When jitter is removed by later circuits, error
appears as noise added to samples. For a 16 bit system there are 216Q, and
the maximum slope at 20KHz will be 20 000p x 216Q per second. If jitter is to
be neglected, the noise must be less than 1/2Q, thus timing accuracy t’
multiplied by maximum slope =1/2Q or 20 000p x 216Qt’ = 1/2Q
1 .
\ t’ = 2 x 20 000 x p x 216 = 121 ps
18
Conversion
N N N
$XGLRVLJQDOIUHTXHQF\ +]
19
The Video Engineers Guide to Digital Audio - John Watkinson
20
Conversion
9ROWDJH
1RPLQDO
YROWDJH
4XDQWL]LQJ
RI
LQWHUYDOV
TXDQWL]LQJ
4 LQWHUYDOV
E F
0LGWUHDG 0LGULVHU
4 4 4 4
4
4
4XDQWL]LQJ ,QSXW
G HUURU
21
The Video Engineers Guide to Digital Audio - John Watkinson
Whatever the exact voltage of the input signal, the quantizer only
locates the quantizing interval in which it lies. The quantizing
interval is then allocated a code value which is typically some
form of binary number. The information sent is the number of the
quantizing interval in which the input voltage lay. The precise
location within the interval is not conveyed, putting a limit on the
accuracy of the quantizer. When the number of the quantizing
interval, i.e. the sample value, is converted back to analog, it will
result in a voltage at the center of the quantizing interval as this
minimizes the magnitude of the error between input and output.
The number range is limited by the wordlength of the binary
numbers used. For example, in a sixteen-bit system, 65,536
different quantizing intervals exist, although the ones at the
extreme ends of the range have no outer boundary.
22
Conversion
ELWWUDQVIHUIXQFWLRQ
ELWWUDQVIHUIXQFWLRQ
ELWTXDQWL]LQJLQWHUYDO
ELWTXDQWL]LQJLQWHUYDO
YROWV
DQDORJ
23
The Video Engineers Guide to Digital Audio - John Watkinson
24
Conversion
6 D P S OLQ J
* H QWOH D Q D OR J U D WH
ILOW HU VO RS H
$ XGLR
EDQG
D
) E
) V
! ) E
) V
)UH T X HQ F\
H
O
D
F G % G %
V
U
D
H
LQ
O
5
1
6
E
)UH T X HQ F\
1 RUP D O [ [
VD P S OLQ J R YH U R Y HU
U D WH VD P S OLQ J VD P S OL Q J
U
$ X G LR R
OR
I
EDQG H
LV
R
1
1 RL V H D IW H U
ILOW HU LQ J W R
D X G LR ED Q G
F
) V
25
The Video Engineers Guide to Digital Audio - John Watkinson
$1$/2*
$17,$/,$6
$1$/2* 2YHUVDPSOLQJ
'(&,0$7(
,1 $'&
1<48,67
Q[)V Q )V 5$7(
3&0
$1$/2* ,17(5)$&(
$17,,0$*(
26
Levels and Metering
'LETXIV
0IZIPWERH1IXIVMRK
3.1 In the analog domain, the 600 Ohm balanced line has been
widely used for audio. The use of balancing transformers has been
largely supplanted by balanced transformerless circuitry. Fig.3.1a)
shows a typical analog interconnect. The source amplifier device
has a negligible output impedance which is raised to 600 Ohms by
the incorporation of resistors. The load amplifier has a high input
impedance which is reduced by the parallel connection of a
resistor. Effectively the system acts as a potential divider wasting
half of the drive voltage so that the drive amplifier has to produce
+10dBu in order to obtain +4dBu on the line. Clearly if an attempt
is made to drive two 600 Ohm loads, the line will be shunted by
only 300 Ohms and a further 4dB drop will be suffered.
The 600 Ohm source impedance is a hangover from the days when
audio was transmitted over long land lines, between towns, for
example. In this case, the length of the lines approaches the
electrical wavelength of the audio signal and proper source and
load termination is needed to prevent reflections. This is why
video signals need proper termination because the frequencies are
so much higher and the cable lengths easily exceed the signal
wavelength. However, in a typical television studio, the distances
involved are simply not great enough for this to apply to analog
audio. With the exception of long land lines, 600 Ohm source
impedance is inappropriate as it has too many drawbacks.
27
The Video Engineers Guide to Digital Audio - John Watkinson
tens of Kilohms. It will be seen from Fig.3.1b) that the line level is
virtually independent of the number of loads connected and the
source does not have to produce an additional 6dB in level. In the
absence of a characteristic impedance, the concept of delivering
one milliwatt to get 0dBm is meaningless and all levels are
measured in dBu where 0dBu is 0.775 V rms irrespective of
impedance.
Ω
G% G%
Ω
6285&( /2$'
Ω
E 6285&( $1<180%(52)/2$'6
Figure 3.1 (a) Matched impedances waste power because 6dB is lost in the
resulting potential divider. (b) Low output impedance and low input
impedance allows multiple loads.
3.2 In the digital domain the range of signal levels has two limits.
At the bottom of the range is the noise floor due to the ADC. At the
top of the range is a hard clip where the positive and negative ends
of the number scale are reached. The dynamic range achieved
depends on the wordlength and quality of the ADC, but a good
rule of thumb is that each bit in the word gives nearly 6dB of
dynamic range. Thus a 16-bit system might achieve 93dB; a 20 bit
system 115dB. The largest signal which will fit into a digital
numbering system without clipping is defined as 0dBFs (dBs Full
28
Levels and Metering
)6'
&OLS/HYHO
/
(
/,1($5
9
'<1$0,&
(
5$1*(
/
',67257,21
02/
6DWXUDWLRQ
+($'5220
62/
/
(
9
/,1($5
(
5$1*(
/
',67257,21
29
The Video Engineers Guide to Digital Audio - John Watkinson
0HWHUVUHDG
G%
GLIIHUHQW
6RXUFHPDFKLQH 'HVWLQDWLRQ
DVVXPHV PDFKLQHDVVXPHV
)6' G%P )6' G%P
30
Levels and Metering
Fig.3.3 shows how it can happen. An NTSC D-2 DVTR having FSD
set at 20dB above +4dBm makes a transparent digital audio transfer
to a PAL D-2 DVTR which has FSD set at 18dB above +4dBm.
Although the numbers transferred are not changed, the level
meters on the source machine read 2dB higher than on the
destination machine. The 2dB gain error is due to the different
scaling of the two machines. Fortunately the digital transfer means
that no clipping can occur and the copy will be as good as the
original even if it is at the "wrong" level.
176& 3$/(%8
'975 '975
$QDORJ$XGLR2XWSXWV $QDORJ$XGLR,QSXWV
G% G%
31
The Video Engineers Guide to Digital Audio - John Watkinson
3.4 In order to avoid level hassle, the following tips will prove
invaluable:
1. It is vital to decide upon a single FSD level for the plant and stick
to it. NVision ADCs and DACs make this easier because they can
easily be set to clip at 20, 24 or 28 dBm. If all ADCs, and DACs in
the system are set to the same FSD, level change cannot occur
unless program material is coming from elsewhere. If you regularly
take or supply significant numbers of digital tapes to another
installation, consider using the same FSD level as they do.
32
Transmission
'LETXIV
8VERWQMWWMSR
The AES/EBU digital audio interface dates from 1985, but was
revised in 1992. It was designed to ensure interconnection of
professional digital audio equipment irrespective of origin; a goal
which has been met.
33
The Video Engineers Guide to Digital Audio - John Watkinson
,1 3 8 7
' $ 7$
)0 2 8 738 7
D : $ 9 () 2 5 0
WD E OH U H J LV WH U
' 4
'
) 0 R X W
E
& OR FN
Figure 4.1 In FM coding, each data bit is converted into two channel bits
(a), a channel bit 1 causes a transition in the transmitted signal. The FM
coder is shown in (b).
34
Transmission
Ω
7ZLVWHG3DLU
7UDQVPLW Ω
5HFHLYH
Ω
4.3 The standard driver and receiver chips for RS-422A data
communication are employed in AES/EBU, but using transformer
coupling for better common mode rejection and avoidance of
ground loops. Equalization may be employed on longer cable runs.
Fig.4.2 shows the standard configuration. The AES spec does not
specify how to handle the shield (Pin 1) at the receiver. Good
practice requires Pin 1 to be connected to electrical chassis, not
signal ground, so that shield currents cannot produce interference
by flowing in common impedance’s. Not all equipment does this,
and the practice of leaving the shield floating at the receiver was
35
The Video Engineers Guide to Digital Audio - John Watkinson
,QVLGH;/53OXJ
Ω 5HFHLYH
$(65HFHLYHUDQG;/55HFHSWDFOH
36
Transmission
$(65HIHUHQFH
2KP
7HUPLQDWLRQ
37
The Video Engineers Guide to Digital Audio - John Watkinson
7PLQ
7QRP +DOIRIDELSKDVHV\PEROSHULRG
7PLQ 7QRP
P9
7QRP
Figure 4.5 The minimum eye pattern acceptable for correct decoding of
standard two-channel data.
%
G
Q
L
D
J
H
Y
L
W
D
O
H
5
)UHTXHQF\ 0+]
38
Transmission
a one volt peak to peak signal ( +/- 20 percent); the same level as is
used in analog video systems. Fig.4.7 shows what the electrical
interface looks like. It is not compulsory to use the transformers,
but as most implementations are adaptations of existing circuits
the transformers generally remain. Standard video BNC connectors
and analog video grade cable are used. Note the shield bypass
capacitor at the receiver. This is not in the standard, but allows
increased rejection of high frequency interference.
Ω
Ω
&RD[LDO&DEOH
Ω
Many television studios which have gone over to digital video are
left with surplus analog video DAs, routers and cabling. It might be
thought that this equipment would be perfect for digital audio
distribution, but this is not necessarily the case. Such installations
should be treated with caution. Whereas a proper digital audio DA
or router contains reclocking and slicing which launches a clean
signal at the output, video DAs and routers are purely analog
devices which neither slice nor reclock. They will introduce
generation loss which reduces data integrity. It is possible for two
analog video devices to work separately with digital audio, yet
when put in series the combination does not work. In such cases it
is hard to identify the fault.
39
The Video Engineers Guide to Digital Audio - John Watkinson
/ / 0
6 6 $ X GLR 6 DP S OH : R U G 6 9 8 & 3
% % %
3 U H D P E OH 9 D OLG LW\ ) OD J
8 VH U ' D WD
& K D QQ H O6 WD WX V
3 D U LW\ % LW
Four status bits accompany each subframe. The validity flag will be
reset if the associated sample is reliable. AES-3-1992 described the
V-bit as indicating that the information in the associated subframe
is "suitable for conversion to an analog signal". Thus it might be
reset if the interface was being used for non-audio data. The parity
bit produces even parity over the subframe, such that the total
number of ones in the subframe is even. This allows for simple
detection of an odd number of bits in error, but it also makes
successive sync patterns have the same polarity, which can be
used to improve the probability of detection of sync. The user and
channel-status bits are discussed later.
40
Transmission
Two subframes make one frame and frames repeat at the sampling
rate in use. The first subframe will contain the sample from
channel A, or from the left channel in stereo working. The second
subframe will contain the sample from channel B, or the right
channel in stereo. At 48 kHz, the bit rate will be 3.072 MHz. In
order to separate the audio channels on receipt the synchronizing
patterns for the two subframes are different as Fig.4.9 shows.
These sync patterns begin with a pulse length of 1.5 bits which
violates the FM channel coding rules and so cannot occur due to
any data combination. The type of sync pattern is denoted by the
position of the second pulse which can be 0.5, 1.0 or 1.5 bits away
from the first. The third transition is positioned to make the sync
patterns DC free.
6\QF3DWWHUQIRU&KDQQHO$
6\QF3DWWHUQIRU&KDQQHO%
6\QF3DWWHUQIRU&KDQQHO6WDWXV
&
$ &K % &K &K % &K $ &K % &K $
6
6XEIUDPH 6XEIUDPH
6WDUWRI&KDQQHO6WDWXV%ORFN
The channel status and user bits in each subframe form serial data
streams with one bit of each per audio channel per frame. The
channel status bits are given a block structure and synchronized
every 192 frames, which at 48 kHz corresponds to a period of four
milliseconds. The channel A sync pattern is replaced for one frame
only by a third sync pattern denoting the start of the channel status
block.
41
The Video Engineers Guide to Digital Audio - John Watkinson
%\WH
%DVLFFRQWUROGDWD VHH)LJ
0RGHDQGXVHUELWPDQDJHPHQW VHH)LJ
$XGLRZRUGOHQJWK VHH)LJ
9HFWRUHGWDUJHWIURPE\WH UHVHUYHGIRUPXOWLFKDQQHODSSOLFDWLRQV
5HVHUYHG
6RXUFHLGHQWLILFDWLRQ E\WHVRIELW$6&,,QRSDULW\
'HVWLQDWLRQLGHQWLILFDWLRQ E\WHVRIELW$6&,,QRSDULW\
/RFDOVDPSOHDGGUHVVFRGH EELWELQDU\
7LPHRIGD\VDPSOHDGGUHVVFRGH ELWELQDU\
&5&&
Figure 4.10
42
Transmission
R
R U W R
W
W R X W
W F X
W
O O D
OH D
R
X D O
Q X D H O
D
I G V D G
H Q Q X X
W H D Q OH R OH
D ' LR
W D E
W Q
E
U
P
X D
F D D
J U 0 ] D
G R H
O
LV G
0
LV
LQ H
W H ] G + O G
O
D
] V +
W .
D OH ]
W
S + F X E + F
F
L R . Q
P . W H
O D . H
O
G X D LV
D H H
6 LQ D V 0 G V
8
%
J J
(
LQ LQ 6 O
O O G
S S ( R
H
$ U
P G P N W
D H D F H Q
V N V R R
F O K
H R H Q W
F
F O F X H
U U Q W
X H
W X H
W
L D
R D R D Q U
6 U 6 U
R J
L Q
W LO
D
P S
U
R P
I D
V
Q
L
V
L
G
V Q V Q
U LV H
D
D X
H K LR
W
V
G G W
Q L V
LY F D U D L
H
S
H LR K OH U W V
F P O W S E H V D
G H H H LV F D Y O K
H U V
V HO P
LV
R H
W R O D H H
G
Q S
H
D V Q D K V V V
W F L X G L
G G Q P
\ L V
W S O
H - V H D H
G D O Q D H H
E
D P X O LG D
7 K O Y
U K
K D U F K
V
LQ S X H Q E U 7
, S
E
H W
X I P D D V L
W
R P H
U R D LV
H
Y & P LV
H
D H K Z
W
1 H G R 1 P G R & H G 5 W
V \
O I OL
H R
U
Q D
Q
H
W
D
\ P
L
K
& E
W
U
V S
U V
L O
I
D
H H
K G
7 G
LR
U
D
)LJXUH
G
X R
L G
D
G Q
O X D
D W
D V
P H H
U G Q G
R R R R
1 P 1 P
N N
F I F
I R
O R R
O
R
E
H E
V V V
H X
V X X
X W O W
D D D
U W Q W
H V
V
O R
L O
P H V H
X Q V Q
V Q H Q
Q I
D R D
R K U K
& F 3 F
43
The Video Engineers Guide to Digital Audio - John Watkinson
$XGLRFKDQQHOXVDJH 8VHUELWVPDQDJHPHQW
0RGHQRWLQGLFDWHG5HFHLYHU
GHIDXOWWRFKDQQHOPRGH 'HIDXOW1RXVHUGDWDLQGLFDWHG
0DQXDOVHOHFWHQDEOHG
ELWEORFNVWUXFWXUH
7ZRFKDQQHOPRGH DVIRU&ELWV
3ULPDU\VHFRQGDU\PRGH
8VHUGHILQHG
&KDQLVSULPDU\
6WHUHRPRGH &KDQLV/HIW
WR 5HVHUYHG
5HVHUYHG
WR
9HFWRUWRE\WH
UHVHUYHGIRUPXOWLFKDQQHO
44
Transmission
%\WH
$X[LOODU\ELWVXVDJH 8VHGWRLQGLFDWH
5HVHUYHG
ELWPD[DXGLRVDPSOH DFWLYHDXGLR
$X[ELWVXQGHILQHG VDPSOHZRUGOHQJWK
VHHWDEOH
ELWVPD[DXGLRVDPSOH$X[
ELWVXVHGIRUPDLQVDPSOHGDWD
ELWPD[DXGLRVDPSOH$X[
ELWVXVHGIRUFRRUGLQDWLRQFKDQQHO
5HVHUYHGIRUXVHUGHILQHG
DSSOLFDWLRQV
WR 5HVHUYHG
45
The Video Engineers Guide to Digital Audio - John Watkinson
The next to last byte contains four flags which indicate that certain
sections of the channel-status information are unreliable (see
Fig.4.14). This allows the transmission of an incomplete channel-
status block where the entire structure is not needed or where the
information is not available. For example, setting bit 5 to a logical
one would mean that no origin or destination data would be
interpreted by the receiver, and so it need not be sent.
&KDQQHOVWDWXV%\WH
/RFDOVDPSOHDGGUHVV
XQUHOLDEOH
6RXUFHDQGGHVWLQDWLRQGDWD
XQUHOLDEOH
The final byte in the message is a CRCC which converts the entire
channel-status block into a codeword. The channel status message
takes 4 mSec at 48 kHz and in this time a router could have
switched to another signal source. This would damage the
transmission, but will also result in a CRCC failure so the corrupt
block is not used. Error correction is not necessary, as the channel
status data are either stationary, i.e. they stay the same, or change
at a predictable rate, e.g. timecode. Stationary data will only
change at the receiver if a good CRCC is obtained.
46
Transmission
%LW
BB BB BB
% % % %
% $ $ 3
% $ $ &
% $ $ 8
% $ $ 9
% $ $ $06%
% $/6% $ $
% &+ 06% $ $
% &+ /6% $ $
% = $ $
Figure 4.15 AES/EBU data for one audio sample is sent as three 9 bit
symbols. A = audio sample. Bit Z = AES/EBU channel-status block start bit.
47
The Video Engineers Guide to Digital Audio - John Watkinson
The extractor recognizes the ancillary data TRS or flag and then
decodes the ID to determine the content of the packet. The Group
48
Transmission
49
The Video Engineers Guide to Digital Audio - John Watkinson
'LETXIV
7]RGLVSRM^MRK
7\SLFDO'975
6 \Q F
19
&RGHF
/
5
$'
/
5
'$
$( 62 X WSX WV
19
&RGHF
/
5
$'
$( 6,QS XWV
/
5
'$
50
Synchronizing
6',):RUG&ORFN
0XOWL7UDFN
5'$7
$(6
6',)
19$'
19$' $(6
3URGXFWLRQ
19
0L[HU
19$'
$(6
19$'
$(66\QF/RRS7KUX
19
$(6
6\QF
*HQHUDWRU '975
+RXVH9LGHR6\QF
51
The Video Engineers Guide to Digital Audio - John Watkinson
9LGHR+RUL]RQWDO
176&N+]
3$/ N+ ]
&RPSDULVRQ
)UHTXHQF\
#N+]
÷
0+ ]
3L[HO&ORFN
÷
&RPSDULVRQ
)UHTXHQF\
#N+]
÷
0+]
$(60DVWHU&ORFN
$(6$XGLR
÷ 6DPSOH5DWH
5.2 Fig.5.4 shows that the standard 48 kHz sampling rate has fixed
relationships to all standard video and film frame rates and to other
audio sampling rates. This makes it possible to synchronize digital
audio transfers between different picture formats. In most dual-
format installations, PAL and NTSC equipment are not locked to
52
Synchronizing
N+]
176&6\QF
176&6\QF*HQHUDWRU 19 3$/6\QF*HQHUDWRU
176&'$ 3$/'$
176&' 3$/'
,GHQWLFDO6DPSOH5DWHV
53
The Video Engineers Guide to Digital Audio - John Watkinson
176&'975 3$/'975
176&# 3$/#
$(62XWSXWV $(62XWSXWV
$(6# $(6#
N+] N+]
19'HOD\
$(6,QSXWV
176& 3$/
3$/'$ 3$/6\QF*HQHUDWRU
19
3$/'
176&'$
176&'
,GHQWLFDO6DPSOH5DWHV
54
Synchronizing
55
The Video Engineers Guide to Digital Audio - John Watkinson
Q
LR
Q V
H H
R F LV
F
LW
Q P Q
S D V D
H U Q U
F H
O D H
O
H R U R
5 W 7 W
H
K F
W
U
W
H D
Y
R Q
V
W Z
X R
S K
V
Q H
,
F
Q
D H
U
H H
F I
H
Q U
H H
U
H K
I W
H
U
R
W
D
J
R
W
LQ
W
F P
L
H W
S
V Q
H L
U
U
K H
W V
L
Z OR
% F
H V
O H
P D E
D
U Q W
V
LJ
I
E V X
X
6 P
8 V
% W
( X
G S
6 W
LR X
U ( R
H $
S
V
H Q D
O L
H
S U
G H
P H K
D U
L
V
Z
X
T G
H H
U
W
\ S
$
F H
H D F
U F
P X D
D
U
F H
I F E
E H
D
W
X W J V
6 D X
WH O Q
L
D
O P
P
L
W E
H
K W
D
7
Q
)LJXUH
Z
R
O\ K
U V
D
H O\ H
U J
D Q
H
D
U
D E F
56
Synchronizing
having 48 kHz audio, yet they require 44.1 kHz. The same problem
will occur if it is required to make a CD master from a videotape
soundtrack. These problems can be handled by sampling rate
conversion.
176&'975 3$/'975
176&# 3$/#
+] 6WDQGDUGV +]
9LGHR2XW 9LGHR,Q
&RQYHUWHU
$(62XWSXWV
$(6 $(62XWSXWV
$(6# 5HIHUHQFH
'HOD\ 65&
$(6,QSXWV $(6# $(6#
N+] N+]
$(6,QSXWV
57
The Video Engineers Guide to Digital Audio - John Watkinson
176&# 3$/#
N+] N+]
19 19
'HOD\ 65&
$(6#
$(6,QSXWV
N+]
$(6,QSXWV
58
Synchronizing
&'3OD\HU
$(62XWSXWV
$(6#
N+]
$(6N+]5HIHUHQFH
$(6,QSXWV
19 19
65& 0L[0LQXV
$(6#
N+]
$(6#
N+]
5'$7
59
The Video Engineers Guide to Digital Audio - John Watkinson
$(6# /
5'$7
N+] 19 5 'LVN
&'520
6\QF :& 0DVWHULQJ
0DVWHU
6',)
#N+]
$ ( 6 # $ ( 6 #
N + ] 1 9 N+ ]
5' $ 7
6 \Q F
' 975
9 LG H R 6 \ Q F
$QDORJ975 '975
$(6,QSXWV
/ 19
19$'
5 19
6\QF
61
The Video Engineers Guide to Digital Audio - John Watkinson
62
Routing
7IGXMSR
6SYXMRK
63
The Video Engineers Guide to Digital Audio - John Watkinson
$ 5 % / $ 5 % / $ 5 % / $ 5
$(6
/ $ 5 % / $ 5 % / $ 5 % / $
$(6
$ 5 % / $ 5 % / $ 5 % / $ 5
$(6
/ $ 5 % / $ 5 % / $ 5 % / $
$(6
/ $ 5 % / $ 5 % / $ 5 % / $
$(6
/ $ 5 % / $ 5 % / $ 5 % / $
E
VHFPD[
7DNHDQG$(6IUDPH
F
9LGHRYHUWLFDO
Figure 6.1 (a) Random inputs. (b) Phase alignment. (c) Video transition
6.3 Data corruption can only be avoided by having all inputs to the
matrix genlocked as in Fig.6.1b). It is now easy to switch during
the sync pattern or frame boundary so that the output changes
effectively between samples. In this case no corruption of the
sample value takes place. Having to genlock all inputs to the same
64
Routing
6.5 When digital audio is embedded in serial digital video (SDI), the
act of switching a video router usually interrupts the AES/EBU
framing and results in a click. If hot switching is needed, the audio
must be stripped out of the video (disembedded) first. Audio
routing must be done in a synchronous audio router prior to
re-embedding. Fig.6.2 shows how this is done. Assuming a cut is
being made between two SDI signals, each signal must have a
disembedder so that clean digital audio data are available from both
SDI signals. The video router performs the video cut, and the audio
cut is performed in a synchronous audio router prior to re-
embedding. Installing a de-embedder on every input to an SDI
65
The Video Engineers Guide to Digital Audio - John Watkinson
6', ',6
(0%(''(5
$8',2
5287(5
6HULDO,QSXWV 6HULDO2XWSXWV
6HULDO
5RXWHU
(PEHGGHU
196$
$(65RXWHU
19 19
66
Routing
&5266
)$'(5
HJ19
Fig.6.4 shows the ultimate hot cutter for embedded audio. Two
assignable de-embedders provide clean audio prior to video cuts
and a crossfade is made between the audio signals prior to re-
embedding.
67
The Video Engineers Guide to Digital Audio - John Watkinson
$(6
$(6
& &K ' &K & &K ' &K & &K ' &K &
&KDQQHO$
&KDQQHO%
&KDQQHO&
& &K & &K & &K & &K & &K & &K &
&KDQQHO'
' &K ' &K ' &K ' &K ' &K ' &K '
E
Figure 6.5 (a) Two AES3 inputs. (b) Phase aligned, four channel audio.
68
Routing
,QSXW%XV /D\HU''
/D\HU&&
/D\HU%%
D E /D\HU$$
$ $
$(6&&''
$(6&'
D E
% %
D
)RUPDW
$(6$$%%
'H)RUPDW D E
& &
$(6$%
D E
' '
,QSXWV
[$(6 [$(6
5RXWHU 5RXWHU
,QSXWV
[$(6 [$(6
5RXWHU 5RXWHU
19&RQWURO
2XWSXWV 2XWSXWV
:LUHG2U&RQQHFWLRQ :LUHG2U&RQQHFWLRQ
69
The Video Engineers Guide to Digital Audio - John Watkinson
19&RQWURO
,QSXWV
D
2XWSXWV 2XWSXWV2XWSXWV2XWSXWV
,QSXW G G G
Figure 6.8 A conceptual 8 x 32 matrix (a). A detail of one AES3 input bus
Note how three of the elements have their terminating switch left
open; the last one is closed to give the line 110 Ohm termination.
Distances d1, d2 etch must be short compared to the cable run
from the source.
70
Routing
G G G 2XWSXW
71
The Video Engineers Guide to Digital Audio - John Watkinson
Input A
Input B
Internal Output
Frequency Content
Output
72
Routing
%DODQFHG,QSXW %DODQFHG2XWSXW
6LQJOH
(QGHG
,QSXW &
&
6LQJOH
(QGHG
2XWSXW
6.10 Unlike audio, video and timecode signals which only travel
from the source to the destination, control signals such as the RS
422 standard used in SMPTE 207M are bi-directional. Commands
can be issued on one signal pair and status can be returned on
another. Instead of source/destination we need terms such as
master/slave and controller/controlled as Fig.6.13 shows. Edit
controllers are easy to grasp; they always want to be the master. In
contrast, VTRs have split personalities. During the day a VTR might
be a slave to an edit controller; by night it’s the master for
duplication. SMPTE 207M calls for commands to be transmitted on
73
The Video Engineers Guide to Digital Audio - John Watkinson
(GLWRU 0DFKLQH
&RQWUROOLQJ &RQWUROOHG
&RPPDQGV
7UDQVPLW 5HFHLYH
U U
R R
W W
F F
H H
Q Q
Q Q
R R
& &
Ð Ð
' '
Ó Ó
5HVSRQVH
5HFHLYH 7UDQVPLW
975$ 975%
&RQWUROOLQJ &RQWUROOHG
7UDQVPLW 7UDQVPLW
5HFHLYH 5HFHLYH
74
Routing
Unless the device at the other end follows suit we have two drivers
fighting over the voltage on the wires. A conventional router can’t
change and often blown driver chips were the result. On later
VTRs two connectors were fitted, and hardwired in such a way
that one would have the right pinouts for master operation and
one would have the right pinouts for slave operation. This concept
is shown in Fig.6.15. The idea was that a two layer router would
handle the master and slave signals separately. Unfortunately, the
hardwiring causes command signals entering the slave socket to
appear on the response input of the master socket. Unless the
router output driving the response signals to the VTR can go to a
high impedance state, once more there is a contention. Having a
two layer router raises the cost and reduces flexibility.
&RQWUROOLQJ
'HYLFH
;07 &RPPDQGV
5&9 5HVSRQVH
2XW ,Q
5RXWLQJ
975
6ZLWFK
;07
5&9
75
The Video Engineers Guide to Digital Audio - John Watkinson
7UDQVPLW
5HFHLYH
&URVVSRLQW
0DWUL[2XWSXW
&URVVSRLQW
0DWUL[,QSXW
3RUW&RQWUROOHU
)URP&RPPDQG
,QWHUSUHWHU
5HFHLYH
7UDQVPLW
76
Routing
'\QDPLF3RUWV '\QDPLF3RUWV
&RQWUROOLQJ
0DFKLQH
V
W
X
S
"
,Q
&RQWUROOHG
0DFKLQH
2XWSXWV
3RUW
&RQWUROOHU
&RPPDQG
,QWHUIDFH 195RXWLQJ6ZLWFK
77
The Video Engineers Guide to Digital Audio - John Watkinson
7'
5'
576
&76
'7( '&(
'65
'DWD 'DWD
&RPPRQ
7HUPLQDO &RPPXQLFDWLRQ
'75
5,
565&
3LQVRUDUHQRWVXSSRUWHG
RQPRVWPLFURFRPSXWHUV
'7( '&(
7' 7'
5' 5'
576 576
&76 &76
'65 '65
&RPPRQ &RPPRQ
'&' '&'
'75 '75
5, 5,
78
Routing
19'5RXWLQJ6ZLWFK
563RUW
7UDQVPLW
5HFHLYH
7R)URP
5RXWHU
0DWUL[
3RUW&RQWUROOHU
5HFHLYH
7UDQVPLW
563RUW
7UDQVPLW
5HFHLYH
7R)URP
5RXWHU
0DWUL[
3RUW&RQWUROOHU
5HFHLYH
7UDQVPLW
79
The Video Engineers Guide to Digital Audio - John Watkinson
6HULDO56
0)* )250$7
%76 5HPRWH%LQDU\3URWRFRO
(6%XV
3UR%HO 5656
8WDK $96$96
3/3/
9LVWHN 56
6HULDORU3DUDOOHO
+DUGZDUH
0)* )250$7
*9* +RUL]RQ
3(6$ 3LQ3DUDOOHO
7DEOH&XUUHQWO\VXSSRUWHGSURWRFROV
80
Routing
0DWUL[ RXWSXWVLQOHVVWKDQ
5HIUHVK7LPH PVHFFRQWLQXRXV
0DWUL[6WRUDJH PLQXWHVJXDUDQWHHG
(OHPHQW5HWHQWLRQ KRXUVW\SLFDO
0DWUL[,QLWLDOL]H /DVWNQRZQVWDWHKDUG
RQ3RZHU8S FRGHGGHIDXOWVHOHFWDEOH
7DEOH 0DWUL[PHPRU\G\QDPLFV
5HIHUHQFH 9LGHR9HUWLFDO176&RU3$/
3ULRULW\
5HIHUHQFH $(6([WHUQDO)UHTXHQF\
3ULRULW\ 5HIHUHQFH
5HIHUHQFH ,QWHUQDO)UHH5XQQLQJ
3ULRULW\ $(62VFLOODWRU
5HIHUHQFH 6RIWZDUH:DWFKGRJ([HFXWH
3ULRULW\ HDFK&RPPDQGDV5HFHLYHG
7DEOH7UDQVLWLRQWLPLQJSULRULW\VWUXFWXUH
81
The Video Engineers Guide to Digital Audio - John Watkinson
82
Routing
O 2QH)LEHU O
:'0 :'0
O O
' '
0 0
0 3 3 0 3 3
,QSXWV 8 2XWSXWV ,QSXWV 8 2XWSXWV
8 6 6 8 6 6
; ;
; ;
83
The Video Engineers Guide to Digital Audio - John Watkinson
$XGLR(GLWRU '975
56&RQWURO 56&RQWURO
9LGHR
,QSXWV ,QSXWV
19 19
' '
0 0
$(6 $(6 $8; $(6 $(6 $8; 0 3 3 $(6 $(6 $8; $(6 $(6 $8; 0 3 3
8 8
,Q ,Q ,Q 2XW 2XW 2XW 8 6 6 ,Q ,Q ,Q 2XW 2XW 2XW 8 6 6
; ;
; ;
6\QF
84
How do I go digital
'LETXIV
,S[HS-KS(MKMXEP#
If you are starting afresh, there is really only one choice today.
Digital audio routing equipment offers significant savings over
analog technology. It takes up less space, uses less power, needs
less maintenance.
7R$QDORJ 7R'LJLWDO
2XWSXWV 2XWSXWV
([LVWLQJ 19
$QDORJ 'LJLWDO$(6
19
$XGLR $XGLR
&RGHF
5RXWHU 5RXWHU
,QSXWV ,QSXWV
)URP$QDORJ )URP'LJLWDO
Not many people are in the position to scrap an old router and start
over. There is an investment in existing equipment and it is
senseless to throw it out. In any case this is quite unnecessary.
Since most new digital audio equipment will be equipped with
AES/EBU interfaces, the best way of getting into the act is to add a
digital audio router so that new devices can be incorporated into
the system. Eventually, the digital router will replace the analog
router, but initially, both work side by side. Fig.7.1 shows what
happens. Instead of equipping all existing analog devices with
ADCs and DACs at great cost, the analog router is retained and
joined to the digital router with a smaller number of ADCs and
85
The Video Engineers Guide to Digital Audio - John Watkinson
DACs. The control system of the digital router is slaved to the old
router so that they work as one. When an old analog device is
replaced, the new digital device goes on the new router. Eventually
all devices are replaced and the old router goes.
Step 4. Add the cost of stereo A/D and D/A conversion used to
bridge between the two formats. Use one A/D and one
D/A for each stereo crossover.
Step 8. Add the cost of stereo A/D and D/A conversion for all
analog equipment.
86
How do I go digital
87
The Video Engineers Guide to Digital Audio - John Watkinson
*968,)66)%(-2+
NVision2
125 Crown Point Court
Grass Valley, CA 95945
Phone +1 (530) 265 1000
Fax +1 (530) 265 1021
88