diff --git a/Tests/sound.sh b/Tests/sound.sh index fd08289..133fefb 100755 --- a/Tests/sound.sh +++ b/Tests/sound.sh @@ -940,9 +940,14 @@ open('$BUILD/still.pad','wb').write(b'\x00' * 20000)" --disk "$ROOT/Tests/build/disks/cosmos.img" --ram-disk 2048 \ "$BUILD/cosmos.bin" > "$BUILD/splash.out" 2>&1 || true - # The tune is six seconds of ticks. What is checked is that music is still playing well - # after a splash that failed to load would have given up: the silent path holds the logo - # for ninety frames, a second and a half, and then the game starts. + # What is checked is that music is still playing well after a splash that failed to load + # would have given up: the silent path holds the logo for ninety frames, a second and a + # half, and then the game starts. So the late window is at three seconds, twice that. + # + # NOT LATER, because the tune stops sounding before it ends. Its last sequence on every + # voice is a rest, which is what holds the logo up while the voices decay - so a window + # past three and three quarter seconds is measuring the silence the score asks for and + # would fail on a tune that played perfectly. read -r EARLY LATE <