Public bug reported:

Binary package hint: alsa-utils

The speaker-test utility in alsa-utils restricts the sine wave frequency
to 50-5000Hz.

Therefore:
> speaker-test -test sine -f 30
outputs a sine wave of 50Hz instead of the specified 30Hz.

While the author of the code introduced such restriction to prevent
people causing physical damage ( to their speakers or even themselves )
it restricts the users freedom and lowers the application of the utility
as a signal generator.

For example, while creating a sound system for a car, you may test the
speakers work at varying frequencies below 50Hz but would be unable to
do so with speaker-test.

I propose that a new switch is added to the program that is not affected by the 
restriction ( or disables the restrictions ) and modify the description of the 
existing switch. For example:
-f,--frequency           sine wave frequency in Hz (50-5000). See 
--force-frequency
--force-frequency     forces the frequency even if outside the 50-5000Hz range

I may be able to provide a patch to do this but I have not programmed in
the speaker-test source language ( C? ) before so it would require some
scrutiny.

** Affects: alsa-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
speaker-test: limited user freedom and utility
https://bugs.launchpad.net/bugs/321477
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to