Re: Speaker-Test Tone Duration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sun, Sep 13, 2015 at 10:02 AM, Anders Genell <anders.genell@xxxxxxxxx> wrote:


On Sun, Sep 13, 2015 at 9:48 AM, Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:


On Sun, 13 Sep 2015, Anders Genell wrote:

Actually, I believe disconnecting anything should be unnecessary?

If speaker-test -Dhw:PCH -c 6  -s 1 already works, adding infinite loop option should
suffice?

speaker-test -Dhw:PCH -c 6  -s 1 -l 0 

All I did was read the man page. It says that if you use -s it only plays
once. No matter what -l says. Ie the man page says that -l only works for two
channel. Butr maybe the man page is wrong? I do not know.




Ah, ok, that may well be true - I interpreted the manual as saying the just using -s option would always just do one-shot, so -l would be needed to increase the number of repetitions. I did not try it myself, but will do so as soon as I have opportunity and report back.

Regards,
Anders


I just tried and indeed the -s option ignores the -l option, so there is just one shot no matter what.
I suggest preparing multichannel wav files with all channels except one silent (using e.g. sox) and use the wav file input option for speaker-test.

I would love of future version of speaker-test to let the -s option take the -l option into account!

Regards,
Anders
 
 

Regards,
Anders



13 sep 2015 kl. 04:05 skrev Bill Unruh <unruh@xxxxxxxxxxxxxx>:


      man speaker-test ?

      if -s is used the program will always only produce a single shot.

      SO use -l 0 (loop indefinitely)

      and unplug one of the speakers

      On Sat, 12 Sep 2015, Alan Bromborsky wrote:

            I am using alsa speaker-test to set my channel gain levels
            with a spl

            meter and alsamixer one channel at a time.  If I run the
            follow command

            line -


            speaker-test -Dhw:PCH -c 6  -s 1


            everything works fine and I hear pink noise from the front
            left speaker,

            but the tone doesn't last long enough to set the channel gain
            using my

            spl meter.  Is there anyway to make the duration of the tone
            (pink

            noise) longer.  Fifteen seconds would be sufficient.


            ------------------------------------------------------------------------------

            _______________________________________________

            Alsa-user mailing list

            Alsa-user@xxxxxxxxxxxxxxxxxxxxx

            https://lists.sourceforge.net/lists/listinfo/alsa-user



      ------------------------------------------------------------------------------
      _______________________________________________
      Alsa-user mailing list
      Alsa-user@xxxxxxxxxxxxxxxxxxxxx
      https://lists.sourceforge.net/lists/listinfo/alsa-user




------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux