Computer SystemsTheatre & Entertainment Arts

ReferenceExaminable

Numbers to know

Print it, fold it, put it in the pocket of the jacket you wear to work. There is a five minute verbal quiz at the top of every class.

Drill these

Student reference card. Learn these. There is a five minute verbal quiz at the top of every session, and you may bring this page into the calculate station of the practical exam.

Print it. Fold it. Put it in the pocket of the jacket you wear to work.


Block 1: Data rates (learn before the production visit)#

ThingNumber
Speed of soundabout 343 m/s, so 3 ms per metre
One audio channel, 48 kHz, 24 bit1.152 Mbit/s
64 audio channelsabout 74 Mbit/s of audio, call it 100 Mbit/s on the wire
One DMX universeabout 0.25 Mbit/s
Uncompressed 1080p60, 10 bit, 4:2:2about 2.5 Gbit/s
Uncompressed UHD 4K 60, 10 bit, 4:2:2about 10 Gbit/s
NDI, one HD streamroughly 100 to 250 Mbit/s

The ranking, and you should be able to say it in your sleep: clock < control < audio < video.

The arithmetic:

audio  =  sample rate  ×  bit depth  ×  channels
video  =  width × height × frame rate × bits per pixel

Block 2: The machine (learn before Class 3)#

ThingNumber
Spinning hard disk, sustained read100 to 200 MB/s
SATA SSD, sustained readabout 550 MB/s
NVMe SSD, sustained read2,000 to 7,000 MB/s
Audio buffer, 128 samples at 48 kHz2.67 ms per buffer
Audio buffer, 256 samples at 48 kHz5.33 ms per buffer
Audio buffer, 512 samples at 48 kHz10.67 ms per buffer
Round trip latencyroughly twice the buffer, plus converter time
Dynamic range per bit6.02 dB, so 16 bit is about 96 dB and 24 bit about 144 dB
Nyquistyou can only capture frequencies below half the sample rate
One byte in hex00 to FF, which is 0 to 255
16 bit signed sample range−32,768 to +32,767, silence at 0
Luma weights0.299 R + 0.587 G + 0.114 B. Green dominates, blue barely counts.
52 49 46 46RIFF, so a WAV file. The header is the truth, the extension is a hint.
FF D8 FFalways a JPEG
89 50 4E 47always a PNG
The lossy steps in a codecchroma subsampling and quantisation. Quantisation is the quality slider.
What sets bitratehow predictable the picture is, not the resolution alone

| Light in glass fibre | about 5 µs per km, so 5 ms per 1,000 km, each way | | Sound in air | about 3 ms per metre | | A frame at 25 fps | 40 ms | | Camera to LED wall, typical | 3 to 7 frames, so 120 to 280 ms | | Precedence window | 5 to 35 ms: two arrivals fuse and localise to the first | | Delay tower setting | the distance from the PA, in ms, plus 10 to 15 |

Bits to bytes: divide by 8. A 2.5 Gbit/s video stream is about 312 MB/s of storage throughput. Getting this the wrong way round is the most common mistake in the exam.


Block 3: Addressing and the network (learn before Class 4)#

ThingNumber
Cat cable maximum channel length100 m (90 m solid plus 10 m patch)
Link speeds you will meet100 Mbit, 1 Gbit, 10 Gbit, 25 Gbit
255.255.255.0the same as /24. First three parts are the network.
169.254.x.x"I asked for an address and nobody answered." Recognise on sight.
Private ranges10.x.x.x, 172.16 to 172.31.x.x, 192.168.x.x
Art-Net legacy rangeoften 2.x.x.x or 10.x.x.x
PoE (802.3af)up to 12.95 W at the device
PoE+ (802.3at)up to 25.5 W at the device
PoE++ (802.3bt)up to 51 W (Type 3) or 71 W (Type 4) at the device

The rule: two devices can talk directly only if the network part of their addresses is identical under the mask.

Three symptoms to recognise instantly:

  • 169.254.x.x → DHCP was expected and there is no DHCP server.
  • Intermittent, confusing, both devices misbehaving → duplicate IP.
  • Works fine, then stops several minutes later → multicast, snooping on, no querier.

The nine bit values (learn these first)#

Bits setValueBits setValue
005248
11286252
21927254
32248255
4240

The prefix table (learn these second)#

PrefixMaskBlock sizeUsable hosts
/16255.255.0.065,53665,534
/22255.255.252.01,0241,022
/23255.255.254.0512510
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242

The subnet method, four steps#

1. Block size      = 256 - (last non-zero mask octet)
2. Find which block the address falls in, counting in steps of the block size
3. Network = first address in the block.  Broadcast = last address in the block.
   Usable  = everything between them.
4. Usable hosts    = 2^(32 - prefix) - 2

The OSI layers#

#LayerOn a show
7ApplicationsACN, Art-Net, Dante, NDI, OSC
6PresentationCodecs, sample formats, encryption
5SessionA Dante subscription, an open control session
4TransportTCP and UDP, port 5568 and 6454
3NetworkIP addresses, masks, routers, IGMP
2Data linkMAC addresses, switches, VLAN tags
1PhysicalCable, fibre, connectors, link lights, PoE

Diagnose from the bottom up. Link light, then VLAN, then IP, then port, then software.

VLAN numbers#

ThingNumber
VLAN ID range1 to 4094
The 802.1Q tag adds4 bytes to the Ethernet frame
Access port carriesexactly 1 VLAN, untagged
Trunk port carriesmany VLANs, tagged
Subnets from borrowed bits2^bits, so 2 bits gives 4 subnets

Block 4: Protocols (learn before Class 5)#

ThingNumber
DMX512 bit rate250 kbit/s
DMX512 slots per universe512, each one byte, 0 to 255
DMX512 maximum refreshabout 44 Hz (roughly 23 ms per full frame)
DMX512 devices per segment32 unit loads, then a splitter
DMX512 termination120 ohms on the last device
RGB pixels per universe512 ÷ 3 = 170
RGBW pixels per universe512 ÷ 4 = 128
Art-NetUDP port 6454
sACN (E1.31)UDP port 5568, multicast
Timecode frame rates24, 25, 29.97, 30

The DMX refresh calculation, learn to reproduce it:

512 slots × 11 bits = 5,632 bits
5,632 ÷ 250,000 = 22.5 ms
plus break and mark ≈ 23 ms per frame
1 ÷ 0.023 ≈ 44 frames per second

Block 5: Media over IP and perception (learn before the practical exam)#

ThingNumber
Dante latency settings0.25, 0.5, 1, 2, 5 ms. 1 ms is the safe default.
Channels on a 1 Gbit link, 48 kHz 24 bitseveral hundred each way. Bandwidth is rarely the limit.
HD-SDI1.485 Gbit/s
3G-SDI2.97 Gbit/s, carries 1080p60
12G-SDI12 Gbit/s, carries UHD60
ST 2110 network requirement10 Gbit minimum for HD, 25 Gbit for UHD
PTP accuracywell under a microsecond
In ear monitoring feels wrong beyondroughly 5 to 10 ms
Audio ahead of picture, detectable at about+45 ms (ITU-R BT.1359)
Audio behind picture, detectable at about−125 ms (ITU-R BT.1359)
Broadcast delivery tolerance commonly cited+40 / −60 ms (EBU R37)

Why the asymmetry: thunder always follows lightning, so we are built to accept sound arriving after picture. Sound arriving before picture is unnatural and we catch it roughly three times faster.


The two things you will be asked to do, in every assessment#

1. Data rate maths. Will this fit down this wire?

channels or pixels  ×  rate  ×  depth  =  bits per second

2. Latency budget. Add every stage from trigger to eardrum or retina. Compare it against a perceptual threshold. State pass or fail, and say which threshold you used.


The two definitions people get wrong#

Latency is delay. If it is constant, you can measure it and compensate for it. A delay tower is a latency compensation device and nobody calls it a fault.

Jitter is delay that varies. You cannot compensate for a number that will not sit still. Your only defence is a buffer, and a buffer costs latency.

Jitter is what breaks shows.