feat(audio): air horn for start and finish, count 10..3 then quiet until the horn 1-3 s later (1.55.0)

This commit is contained in:
larssand committed 2026-11-03 08:56:15 +01:00
1 parent a8996c4195
commit 3425da4b8f
16 files changed
+67 -31

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ test("flying start calls the EFRA 9.2b marks: 1 min, 30 s, 10 s (2 min is the op
});
test("grid start calls cars to the grid at 30 s and counts 10..3 second by second (IFMAR 4.2.5-4.2.6)", () => {
assert.deepEqual(collectCalls(90000, "position"), ["race_1_minute", "prologue_grid", "race_10_seconds", 9, 8, 7, 6, 5, 4, 3]);
assert.deepEqual(collectCalls(90000, "position"), ["race_1_minute", "prologue_grid", 10, 9, 8, 7, 6, 5, 4, 3]);
assert.equal(getPrologueHandoverMs("position"), 3000, "the start signal follows 0-5 s after the 3 s mark");
assert.equal(getPrologueHandoverMs("flying"), 0);
});