Re: speaker-test: no correct sound output on LFE and others speakers

Alan Corey <[email protected]> Mon, 13 May 2024 11:48:54 -0400
Newsgroups gmane.linux.alsa.user
Message-ID <CAOh3dDZoqsKXd5bpF6VRHRCFR_9CTTQsyyrrHNLyQ5NGtaEisA@mail.gmail.com>
--===============3647037027384139386==
Content-Type: multipart/alternative; boundary="0000000000004ead9f061857d388"

--0000000000004ead9f061857d388
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On my machine speaker-test just plays some wav files in
/usr/share/sounds/alsa, there's nothing magical.  A change in hardware
could make them announce the wrong speakers.

My latest eureka moment was from setting

/etc/asound.conf to
   defaults.pcm.card 1
   defaults.ctl.card 1

For using a USB sound card which is card 1.  Very simple, now all my sound
comes out there, $10 sound card.

On Mon, May 13, 2024 at 9:43=E2=80=AFAM Franco Martelli <martellif67@gmail.=
com>
wrote:

> On 12/05/24 at 17:17, James Dutton wrote:
> > speaker-test -c6 -twav
>
> I got this output on the screen
>
> ~$ LC_ALL=3DC speaker-test -c6 -twav
>
> speaker-test 1.2.8
>
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 6 channels
> WAV file(s)
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 2048 to 16384
> Period size range from 1024 to 1024
> Using max buffer size 16384
> Periods =3D 4
> was set period_size =3D 1024
> was set buffer_size =3D 16384
>   0 - Front Left
>   1 - Front Right
>   2 - Unused
>   3 - Unused
>   4 - Unused
>   5 - Unused
> Time per period =3D 8.298354
>   0 - Front Left
>   1 - Front Right
>   2 - Unused
> ^CWrite error: -4,Interrupted system call
> xrun_recovery failed: -4,Interrupted system call
> Transfer failed: Interrupted system call
>
> The voice for "Front Left" comes from "Front Left","Front Center","Rear
> Left", "Rear Right" and maybe "LFE" speakers.
>
> The voice for "Front Right" comes from "Front Right","Front
> Center","Rear Left", "Rear Right" and maybe "LFE" speakers.
>
> These are the only two voices I can hear at all. If I run instead:
>
> ~$ LC_ALL=3DC speaker-test -D surround51:CARD=3DSB,DEV=3D0 -c6 -twav
>
> speaker-test 1.2.8
>
> Playback device is surround51:CARD=3DSB,DEV=3D0
> Stream parameters are 48000Hz, S16_LE, 6 channels
> WAV file(s)
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 64 to 349504
> Period size range from 32 to 174752
> Using max buffer size 349504
> Periods =3D 4
> was set period_size =3D 174752
> was set buffer_size =3D 349504
>   0 - Front Left
>   4 - Front Center
>   1 - Front Right
>   3 - Rear Right
>   2 - Rear Left
>   5 - LFE
> Time per period =3D 21.910907
>   0 - Front Left
>   4 - Front Center
> ^C 1 - Front Right
> Transfer failed: Bad address
>
> It happens the same: the voice for "Front Left" comes from "Front
> Left","Front Center","Rear Left", "Rear Right" and maybe "LFE" speakers.
>
> The voice for "Front Right" comes from "Front Right","Front
> Center","Rear Left", "Rear Right" and maybe "LFE" speakers.
>
> These are the only two voices I can hear at all. But strangely the order
> of the tested speakers this time it's changed.
>
> Cheers,
> --
> Franco Martelli
>
>
>
> _______________________________________________
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>


--=20
-------------
Education is contagious.

--0000000000004ead9f061857d388
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On my machine speaker-test just plays some wav files =
in /usr/share/sounds/alsa, there&#39;s nothing magical.=C2=A0 A change in h=
ardware could make them announce the wrong speakers.</div><div><br></div><d=
iv>My latest eureka moment was from setting <br></div><div><br></div><div>/=
etc/asound.conf to<br>=C2=A0 =C2=A0defaults.pcm.card 1<br>=C2=A0 =C2=A0defa=
ults.ctl.card 1</div><div><br></div><div>For using a USB sound card which i=
s card 1.=C2=A0 Very simple, now all my sound comes out there, $10 sound ca=
rd.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">On Mon, May 13, 2024 at 9:43=E2=80=AFAM Franco Martelli &lt;<a=
 href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12/05/24 at =
17:17, James Dutton wrote:<br>
&gt; speaker-test -c6 -twav<br>
<br>
I got this output on the screen<br>
<br>
~$ LC_ALL=3DC speaker-test -c6 -twav<br>
<br>
speaker-test 1.2.8<br>
<br>
Playback device is default<br>
Stream parameters are 48000Hz, S16_LE, 6 channels<br>
WAV file(s)<br>
Rate set to 48000Hz (requested 48000Hz)<br>
Buffer size range from 2048 to 16384<br>
Period size range from 1024 to 1024<br>
Using max buffer size 16384<br>
Periods =3D 4<br>
was set period_size =3D 1024<br>
was set buffer_size =3D 16384<br>
=C2=A0 0 - Front Left<br>
=C2=A0 1 - Front Right<br>
=C2=A0 2 - Unused<br>
=C2=A0 3 - Unused<br>
=C2=A0 4 - Unused<br>
=C2=A0 5 - Unused<br>
Time per period =3D 8.298354<br>
=C2=A0 0 - Front Left<br>
=C2=A0 1 - Front Right<br>
=C2=A0 2 - Unused<br>
^CWrite error: -4,Interrupted system call<br>
xrun_recovery failed: -4,Interrupted system call<br>
Transfer failed: Interrupted system call<br>
<br>
The voice for &quot;Front Left&quot; comes from &quot;Front Left&quot;,&quo=
t;Front Center&quot;,&quot;Rear <br>
Left&quot;, &quot;Rear Right&quot; and maybe &quot;LFE&quot; speakers.<br>
<br>
The voice for &quot;Front Right&quot; comes from &quot;Front Right&quot;,&q=
uot;Front <br>
Center&quot;,&quot;Rear Left&quot;, &quot;Rear Right&quot; and maybe &quot;=
LFE&quot; speakers.<br>
<br>
These are the only two voices I can hear at all. If I run instead:<br>
<br>
~$ LC_ALL=3DC speaker-test -D surround51:CARD=3DSB,DEV=3D0 -c6 -twav<br>
<br>
speaker-test 1.2.8<br>
<br>
Playback device is surround51:CARD=3DSB,DEV=3D0<br>
Stream parameters are 48000Hz, S16_LE, 6 channels<br>
WAV file(s)<br>
Rate set to 48000Hz (requested 48000Hz)<br>
Buffer size range from 64 to 349504<br>
Period size range from 32 to 174752<br>
Using max buffer size 349504<br>
Periods =3D 4<br>
was set period_size =3D 174752<br>
was set buffer_size =3D 349504<br>
=C2=A0 0 - Front Left<br>
=C2=A0 4 - Front Center<br>
=C2=A0 1 - Front Right<br>
=C2=A0 3 - Rear Right<br>
=C2=A0 2 - Rear Left<br>
=C2=A0 5 - LFE<br>
Time per period =3D 21.910907<br>
=C2=A0 0 - Front Left<br>
=C2=A0 4 - Front Center<br>
^C 1 - Front Right<br>
Transfer failed: Bad address<br>
<br>
It happens the same: the voice for &quot;Front Left&quot; comes from &quot;=
Front <br>
Left&quot;,&quot;Front Center&quot;,&quot;Rear Left&quot;, &quot;Rear Right=
&quot; and maybe &quot;LFE&quot; speakers.<br>
<br>
The voice for &quot;Front Right&quot; comes from &quot;Front Right&quot;,&q=
uot;Front <br>
Center&quot;,&quot;Rear Left&quot;, &quot;Rear Right&quot; and maybe &quot;=
LFE&quot; speakers.<br>
<br>
These are the only two voices I can hear at all. But strangely the order <b=
r>
of the tested speakers this time it&#39;s changed.<br>
<br>
Cheers,<br>
-- <br>
Franco Martelli<br>
<br>
<br>
<br>
_______________________________________________<br>
Alsa-user mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Alsa-u=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/alsa-user" rel=3D"n=
oreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/a=
lsa-user</a><br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">-------------=
<br>Education is contagious.<br><br><br><br><br><br><br></div>

--0000000000004ead9f061857d388--


--===============3647037027384139386==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3647037027384139386==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

--===============3647037027384139386==--