Skip to contentSkip to conversation

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

DISCUSSION GitHub issues - opened 1 participant 1 message May 30, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

alsa-project/alsa-utils issue #219 was opened from jidanni:

$ speaker-test --nloops 1
makes a pink noise for about one second.

On the man page mention how to make this into say a half second, as some users would like to listen to shorter test sounds, and no matter if the user does

```
$ speaker-test --device hdmi:HDMI -c 2 --nloops 1 --period 5
$ speaker-test --device hdmi:HDMI -c 2 --nloops 1 --period 50
$ speaker-test --device hdmi:HDMI -c 2 --nloops 1 --period 500
$ speaker-test --device hdmi:HDMI -c 2 --nloops 1 --period 5000
```

what the user hears is exactly the same, therefore --period is not what controls this item.

I am saying that some users can confirm their speakers work without listing to a full second of pink noise, and thus would like a way to listen to a shorter length.

As far as

```

       -b | --buffer TIME
              Use buffer size of TIME microseconds.  When 0 is given, use  the
              maximal buffer size.  The default value is 0.

       -p | --period TIME
              Use  period size of TIME microseconds.  When 0 is given, the pe‐
              riods given by -P option is used.  The default value is 0.
```

are concerned, they must be documenting something completely different.

Debian
Package: alsa-utils
Version: 1.2.8-1

Issue URL : https://github.com/alsa-project/alsa-utils/issues/219
Repository URL: https://github.com/alsa-project/alsa-utils