speaker-test: allow controlling how long the noise is heard by the user