On Sun, Sep 13, 2015 at 10:02 AM, Anders Genell <anders.gen...@gmail.com>
wrote:

>
>
> On Sun, Sep 13, 2015 at 9:48 AM, Bill Unruh <un...@physics.ubc.ca> 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 <un...@physics.ubc.ca>:
>>>
>>>
>>>       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@lists.sourceforge.net
>>>
>>>             https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>       _______________________________________________
>>>       Alsa-user mailing list
>>>       Alsa-user@lists.sourceforge.net
>>>       https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>>>
>>>
>
------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to