Latency testing: Marking event times by hand

Matt Wright, 2/11/4

This is part of a project to measure the latency of various systems. I now use an automated method (in matlab) to measure the latencies; this page describes the by-hand method I used originally.

The snd sound editor has a mode in which the channels of a sound file can be viewed "superimposed", like this:

So I went into the file and manually selected the region between each "stimulus" and "response", like this:

Results when marking by hand

Here are the results as I measured them in snd as described above.

Test 1

Space bar, Core Audio built-in sound, iovs = sigvs = 64, Overdrive off, latencytest1.wav

data1 = [22, 27, 20, 18, 19, 28, 17, 25, 27, 23, 27, 23, 25, 28, 21, 22, 26]

Test 2

Space bar, Core Audio built-in sound, iovs = sigvs = 64, Overdrive on, SIAI off, latencytest2.wav

data2 = [23 24 19 27 22 24 25 26 28 19 25 27 20 25 24]

Test 3

Space bar, Core Audio built-in sound, iovs = sigvs = 64, Overdrive on, SIAI on, latencytest3.wav

data3 = [18 20 19 25 24 21 21 21 23 24 22 22 25 25 19 21 27 19 ]

Test 4

'n' key, Core Audio built-in sound, iovs = sigvs = 64, Overdrive on, SIAI on, latencytest4.wav

data4 = [28 25 24 28 31 23 31 27 33 27 25 30 31 27 32 27 29 20 22]

Test 5

Wacom tablet, Core Audio built-in sound, iovs = sigvs = 64, Overdrive on, SIAI on, latencytest5.wav

data5 = [33 24 29 35 34 34 30 24 33 40 34 29 33 33 31 29 25 32 28 21]

Test 6

Space bar, Rimas Box, iovs = sigvs = 64, Overdrive on, SIAI on, latencytest6.wav

data6 = [26 29 29 29 28 25 27 29 32 32 29 29 23 26 29 24 31 29 31 28]

Test 7

Wacom tablet, Rimas Box, iovs = sigvs = 64, Overdrive on, SIAI on, latencytest7.wav

data7 = [59 54 50 45 49 54 52 55 52 50 51 48 56 54 51 56 54 54 57 52 57 46 60]

Test 8

Kawai R-100 drum machine, Hi Hat trigger pad, latencytest8.wav

data8 = [4 7 7 5 5 5 7 6 4 5 6 4 5 4 6 5 7 8]