Re: Aplay problem -

2020-06-02 Thread stan via users
On Tue, 2 Jun 2020 14:06:41 -0400
Bob Goodwin  wrote:

> The essential ones are OO and up to the red, "L{NE" was muted I set
> to MM and turned the level up, that does not restore the sound though.
> 

I'm stumped.  Everything says you should have sound from aplay.

aplay is producing sound.
It's sending it to default, which is sound device 0.
Sound device 0 has output enabled, and volumes turned up.
Other sound plays through default and pulseaudio.

A long shot.  Check in pavucontrol whether the default device in
pulseaudio is set to be device 0, the analog card, and that it is
enabled. If that is true, I'm out of ideas.  Everything says you should
have sound.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-06-02 Thread Bob Goodwin



On 2020-06-02 12:51, stan via users wrote: ^

The vvv is important, because it provides more information, including an
output profile over time, a rough vu meter.  That is, it will show if
aplay is actually sending output to the device.

[bobg@Workstation-1 ~]$ aplay -vvv apps/audio/login.wav
Playing WAVE 'apps/audio/login.wav' : Signed 16 bit Little Endian, Rate 
22050 Hz, Stereo

ALSA <-> PulseAudio PCM I/O Plugin
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat    : STD
  channels : 2
  rate : 22050
  exact rate   : 22050 (22050/1)
  msbits   : 16
  buffer_size  : 11025
  period_size  : 2756
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 2756
  period_event : 0
  start_threshold  : 11025
  stop_threshold   : 11025
  silence_threshold: 0
  silence_size : 0
  boundary : 6206523236469964800
Max peak (5512 samples): 0x2334 ##   27%
Max peak (5512 samples): 0x1b62 #    21%
Max peak (5512 samples): 0x2e56  36%
Max peak (5512 samples): 0x24c0 ##   28%
Max peak (5512 samples): 0x3016  37%
Max peak (5512 samples): 0x2bb5 ###  34%
Max peak (5512 samples): 0x27c9 ###  31%
Max peak (5512 samples): 0x1ab4 #    20%
Max peak (5512 samples): 0x1459  15%
Max peak (5512 samples): 0x0ab9 ##   8%
Max peak (5512 samples): 0x04ac #    3%
Max peak (5512 samples): 0x03a1 #    2%
Max peak (5512 samples): 0x019d #    1%
Max peak (5512 samples): 0x00e1 #    0%
Max peak (5512 samples): 0x00ab #    0%
Max peak (5512 samples): 0x0054 #    0%
Max peak (5512 samples): 0x001c #    0%
Max peak (5512 samples): 0x0006 #    0%

hat's itnteresting in that when I feed aplay a tone, only happens in 
this computer, the volume begins low and increasesover a second or two, 
very noticable but not a problem I was bothered by.



aplay --dump-hw-params [wav file]

[bobg@Workstation-1 ~]$ aplay --dump-hw-params apps/audio/login.wav
Playing WAVE 'apps/audio/login.wav' : Signed 16 bit Little Endian,
Rate 22050 Hz, Stereo
HW Params of device "default":

And the output is being processed through the default device, which is
the link between alsa and pulseaudio.
Yes I keep seeing that, looks like the connection between aplay and 
Polseaudio is open ...


Can you check in pavucontrol that the default device is actually your
device 0, the analog sound device?  Or just do a
cat /etc/alsa/alsactl.conf

°
[bobg@Workstation-1 ~]$ cat /etc/alsa/alsactl.conf
#
# ALSA library configuration file for alsactl tool
# (/usr/share/alsa tree is not necessary for alsactl)
#

ctl.hw {
    @args [ CARD ]
    @args.CARD {
        type string
        default "0"
    }
    type hw
    card $CARD


Everything says sound should be playing.

If you do
alsamixer -c0
are Master and Front showing 00?  Is the volume in the bar above 80%?
The essential ones are OO and up to the red, "L{NE" was muted I set to 
MM and turned the level up, that does not restore the sound though.


Bob Goodwin - Zuni, Virginia, USA

http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-06-02 Thread stan via users
On Tue, 2 Jun 2020 12:29:38 -0400
Bob Goodwin  wrote:

> On 2020-06-02 11:54, stan via users wrote:
> > Try
> > aplay -vvv [wav file]  
> 
> > [bobg@Workstation-1 ~]$ aplay -v apps/audio/login.wav
   ^
The vvv is important, because it provides more information, including an
output profile over time, a rough vu meter.  That is, it will show if
aplay is actually sending output to the device.

> > aplay --dump-hw-params [wav file]  
> [bobg@Workstation-1 ~]$ aplay --dump-hw-params apps/audio/login.wav
> Playing WAVE 'apps/audio/login.wav' : Signed 16 bit Little Endian,
> Rate 22050 Hz, Stereo
> HW Params of device "default":

And the output is being processed through the default device, which is
the link between alsa and pulseaudio.

Can you check in pavucontrol that the default device is actually your
device 0, the analog sound device?  Or just do a
cat /etc/alsa/alsactl.conf

Everything says sound should be playing.

If you do
alsamixer -c0
are Master and Front showing 00?  Is the volume in the bar above 80%?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-06-02 Thread Bob Goodwin



On 2020-06-02 11:54, stan via users wrote:

Try
aplay -vvv [wav file]



[bobg@Workstation-1 ~]$ aplay -v apps/audio/login.wav
Playing WAVE 'apps/audio/login.wav' : Signed 16 bit Little Endian, Rate 22050 
Hz, Stereo
ALSA <-> PulseAudio PCM I/O Plugin
Its setup is:
   stream   : PLAYBACK
   access   : RW_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 22050
   exact rate   : 22050 (22050/1)
   msbits   : 16
   buffer_size  : 11025
   period_size  : 2756
   period_time  : 125000
   tstamp_mode  : NONE
   tstamp_type  : GETTIMEOFDAY
   period_step  : 1
   avail_min: 2756
   period_event : 0
   start_threshold  : 11025
   stop_threshold   : 11025
   silence_threshold: 0
   silence_size : 0
   boundary : 6206523236469964800

or
aplay --dump-hw-params [wav file]

[bobg@Workstation-1 ~]$ aplay --dump-hw-params apps/audio/login.wav
Playing WAVE 'apps/audio/login.wav' : Signed 16 bit Little Endian, Rate 
22050 Hz, Stereo

HW Params of device "default":

ACCESS:  RW_INTERLEAVED
FORMAT:  U8 S16_LE S16_BE S24_LE S24_BE S32_LE S32_BE FLOAT_LE FLOAT_BE 
MU_LAW A_LAW S24_3LE S24_3BE

SUBFORMAT:  STD
SAMPLE_BITS: [8 32]
FRAME_BITS: [8 1024]
CHANNELS: [1 32]
RATE: [1 384000]
PERIOD_TIME: (2 4294967295)
PERIOD_SIZE: [1 1398102)
PERIOD_BYTES: [128 1398102)
PERIODS: [3 1024]
BUFFER_TIME: (7 4294967295]
BUFFER_SIZE: [3 4194304]
BUFFER_BYTES: [384 4194304]
TICK_TIME: ALL


What does
aplay -l
show?

[bobg@Workstation-1 ~]$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


See
man aplay
for explanations.
___


--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-06-02 Thread stan via users
On Tue, 2 Jun 2020 10:57:00 -0400
Bob Goodwin  wrote:

> On 2020-06-01 06:45, Bob Goodwin wrote:

> Well, I still have this annoying problem but after my effort
> yesterday it appears there was a few errors in my description.
> 
> The Thunderbird notification does not use aplay, it just gets the
> file and path: "file:///home/bobg/apps/audio/login.wav"
> And when J aplay that same file PSvolume does not show the metering
> bar, it is only showing in text that it is "Playing .wav" on the
> "Playback" input and the same text on the "Output Devices" sound
> while nothing is heard from the loudspeaker.
> 
> So it seems that aplay has simply stopped producing output. Other
> audio sources still work as expected e.g. Thunderbird and VLC both
> produce sound. Aplay from a terminal does not.
> 
> I tried "# dnf reinstall /usr/bin/aplay" and it installed
> "alsa-utils" which presumably contains aplay, that made no
> improvement.
> 
> I am still open to suggestions,   Bob

Try 
aplay -vvv [wav file]
or
aplay --dump-hw-params [wav file]

What does 
aplay -l 
show?

See 
man aplay 
for explanations.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-06-02 Thread Bob Goodwin



On 2020-06-01 06:45, Bob Goodwin wrote:



On 2020-05-31 22:12, Samuel Sieb wrote:


If you rebooted, then the runaway script is gone and won't be 
affecting anything.  I'm confused how you say some things can run 
aplay and make audio, but you can't run it directly.

_

°
Yes, confusing to me too, I try only to query when I reach the end of 
my limited skill set.


It seems to me like a path through Pulseaudio is broken. I will go 
back and try again with all I have there, the pavolume GUI. Will 
report back if I find anything, day just begins here ...


Thanks all for the suggestions,   Bob 

°
Well, I still have this annoying problem but after my effort yesterday 
it appears there was a few errors in my description.


The Thunderbird notification does not use aplay, it just gets the file 
and path: "file:///home/bobg/apps/audio/login.wav"
And when J aplay that same file PSvolume does not show the metering bar, 
it is only showing in text that it is "Playing .wav" on the "Playback" 
input and the same text on the "Output Devices" sound while nothing is 
heard from the loudspeaker.


So it seems that aplay has simply stopped producing output. Other audio 
sources still work as expected e.g. Thunderbird and VLC both produce 
sound. Aplay from a terminal does not.


I tried "# dnf reinstall /usr/bin/aplay" and it installed "alsa-utils" 
which presumably contains aplay, that made no improvement.


I am still open to suggestions,   Bob
--

Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-06-01 Thread Bob Goodwin



On 2020-05-31 22:12, Samuel Sieb wrote:


If you rebooted, then the runaway script is gone and won't be 
affecting anything.  I'm confused how you say some things can run 
aplay and make audio, but you can't run it directly.

_

°
Yes, confusing to me too, I try only to query when I reach the end of my 
limited skill set.


It seems to me like a path through Pulseaudio is broken. I will go back 
and try again with all I have there, the pavolume GUI. Will report back 
if I find anything, day just begins here ...


Thanks all for the suggestions,   Bob

--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-05-31 Thread Tim via users
On Sun, 2020-05-31 at 19:07 -0700, Samuel Sieb wrote:
> No, that would only kill the aplay and then the shell script would 
> immediately start it again.

Of course, I was forgetting it was in the middle of a script.  I was
thinking of a command going nuts.

Surely just closing the terminal window would have killed that? 
Presuming he was in a graphical screenmode.
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.8.2.el7.x86_64 #1 SMP Tue May 12 16:57:42 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-05-31 Thread Samuel Sieb

On 5/31/20 6:22 PM, Bob Goodwin wrote:



On 2020-05-31 20:38, Samuel Sieb wrote:

On 5/31/20 5:01 PM, Bob Goodwin wrote:
I found this script in a list on my computer, ran it and found I had 
no way to stop it. What shuts it off?


while [ 1 <> 0 ]
do
aplay /usr/share/sounds/purple/login.wav
done


It's an infinite loop.  Repeatedly pressing CTRL-C should stop it or 
else killing the bash process from another terminal.




Well Control C is one of the first things I try, perhaps I should have 
kept trying longer? When I found no remedy in my notes I was beaten and 
had to reboot.


You have to hit it fast enough in a row that you kill the aplay and then 
the bash script before it starts another one.  The easier method is to 
just kill the bash script from another terminal.  Sometimes another 
option is to use ^Z or kill -STOP the process to give you time to catch it.


However aplay will not work after that episode. I can see the audio 
signal with the pulseaudio meter bar and Thunderbird still signals 
received mail via aplay, but other things where I used it produce no 
sound in the loudspeaker. Aplay in a terminal produces no sound, so I 
guess the loop still runs and audio is being muted from it. Nothing I 
tried in PAvolume restored it, I will try anything suggested now.


If you rebooted, then the runaway script is gone and won't be affecting 
anything.  I'm confused how you say some things can run aplay and make 
audio, but you can't run it directly.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-05-31 Thread Samuel Sieb

On 5/31/20 7:03 PM, Tim via users wrote:

On Sun, 2020-05-31 at 21:22 -0400, Bob Goodwin wrote:

Well Control C is one of the first things I try, perhaps I should
have kept trying longer? When I found no remedy in my notes I was
beaten and had to reboot.


Sometimes doing something like

   killall aplay

A few times will put an end to things running away from you.


No, that would only kill the aplay and then the shell script would 
immediately start it again.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-05-31 Thread Tim via users
On Sun, 2020-05-31 at 21:22 -0400, Bob Goodwin wrote:
> Well Control C is one of the first things I try, perhaps I should
> have kept trying longer? When I found no remedy in my notes I was
> beaten and had to reboot.

Sometimes doing something like

  killall aplay

A few times will put an end to things running away from you.
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.8.2.el7.x86_64 #1 SMP Tue May 12 16:57:42 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-05-31 Thread Bob Goodwin



On 2020-05-31 20:38, Samuel Sieb wrote:

On 5/31/20 5:01 PM, Bob Goodwin wrote:
I found this script in a list on my computer, ran it and found I had 
no way to stop it. What shuts it off?


while [ 1 <> 0 ]
do
aplay /usr/share/sounds/purple/login.wav
done


It's an infinite loop.  Repeatedly pressing CTRL-C should stop it or 
else killing the bash process from another terminal.




Well Control C is one of the first things I try, perhaps I should have 
kept trying longer? When I found no remedy in my notes I was beaten and 
had to reboot.


However aplay will not work after that episode. I can see the audio 
signal with the pulseaudio meter bar and Thunderbird still signals 
received mail via aplay, but other things where I used it produce no 
sound in the loudspeaker. Aplay in a terminal produces no sound, so I 
guess the loop still runs and audio is being muted from it. Nothing I 
tried in PAvolume restored it, I will try anything suggested now.




--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Aplay problem -

2020-05-31 Thread Samuel Sieb

On 5/31/20 5:01 PM, Bob Goodwin wrote:
I found this script in a list on my computer, ran it and found I had no 
way to stop it. What shuts it off?


while [ 1 <> 0 ]
do
aplay /usr/share/sounds/purple/login.wav
done


It's an infinite loop.  Repeatedly pressing CTRL-C should stop it or 
else killing the bash process from another terminal.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org