15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
All, Here is a strange issue. Never use discord, but needed to tonight. I can't get it to use my microphone. Audacity and arecord have no issue at all using the mic. The details are: $ arecord -L null Discard all samples (playback) or generate zero samples (capture) speexrate Rate Converter Plugin Using Speex Resampler upmix Plugin for channel upmix (4,6,8) default:CARD=PCH HDA Intel PCH, 92HD81B1X5 Analog Default Audio Device sysdefault:CARD=PCH HDA Intel PCH, 92HD81B1X5 Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, 92HD81B1X5 Analog Front output / input Audacity sees the mic without problems. For arecord, I specify -D front to tell it to use CARD=PCH,DEV=0. Discord on the other hand lists no audio devices in "Voice & Video" settings. The "INPUT DEVICE" and "OUTPUT DEVICE" are non-selectable -- but it thinks the mic is working (I can mute/unmute it) and I hear the other party on discord just fine. Anybody run into this? Any fix? -- David C. Rankin, J.D.,P.E.
Hello,
In the Message;
Subject : 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <0eef7007-97bb-718f-00de-b0af0fd80c17@suddenlinkmail.com>
Date & Time: Tue, 13 Dec 2022 00:17:43 -0600
[DCR] == "David C. Rankin"
On 12/13/22 01:01, Masaru Nomiya wrote:
How about this?
https://www.reddit.com/r/voidlinux/comments/uxr5pv/no_microphone_input_in_di...
Well, The answer there says install pulseaudio -- I was trying to avoid that. ALSA works for everything else, so why not discord? -- David C. Rankin, J.D.,P.E.
On Tue, Dec 13, 2022 at 12:09 PM David C. Rankin
On 12/13/22 01:01, Masaru Nomiya wrote:
How about this?
https://www.reddit.com/r/voidlinux/comments/uxr5pv/no_microphone_input_in_di...
Well,
The answer there says install pulseaudio -- I was trying to avoid that.
According to Arch wiki, web client should work with ALSA.
ALSA works for everything else, so why not discord?
You pretend you do not know the answer? Because nobody cared enough to implement it.
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID :
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <6cc21459-bb28-9186-4501-40a4e324a6b1@suddenlinkmail.com>
Date & Time: Tue, 13 Dec 2022 03:08:42 -0600
[DCR] == "David C. Rankin"
On 13/12/2022 11.24, Masaru Nomiya wrote:
Hello,
For example.
$ pw-play some_audio_file
works fine?
If not, please do;
1. $ systemctl --user daemon-reload 2. $ systemctl --user start pipewire pipewire-pulse wireplumber
then, try again.
$ pw-play some_audio_file
It crashes when told to play an mp3, says it is not supported and then dumps core. Is that normal? -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.4 (Legolas))
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <11e1c6e4-578b-a9d6-3a86-dcb2a7034491@telefonica.net>
Date & Time: Tue, 13 Dec 2022 11:48:22 +0100
[CER] == "Carlos E. R."
On 13/12/2022 12.56, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord?? Message-ID : <11e1c6e4-578b-a9d6-3a86-dcb2a7034491@telefonica.net> Date & Time: Tue, 13 Dec 2022 11:48:22 +0100
[CER] == "Carlos E. R."
has written: [...] MN> > For example. MN> > MN> > $ pw-play some_audio_file MN> > MN> > works fine? MN> > MN> > If not, please do; MN> > MN> > 1. $ systemctl --user daemon-reload MN> > 2. $ systemctl --user start pipewire pipewire-pulse wireplumber MN> > MN> > then, try again. MN> > MN> > $ pw-play some_audio_file
CER> It crashes when told to play an mp3, says it is not supported and then dumps CER> core. Is that normal?
Thanks.
Sorry, pw-play can't play mp3 audio file. But it's strange to hear that it crashes.
Anyway, could you test with wav, ogg, or flac audio file?
I was just curious about that command. I don't know if it should work in this machine. Silence. cer@Legolas:~/Music> pw-play /usr/share/quadrapassel/sounds/slide.ogg stream node 41 error: no node available remote error: id=3 seq:7 res:-2 (No such file or directory): no node available cer@Legolas:~/Music> pw-play /usr/share/sounds/gnome/default/alerts/sonar.ogg stream node 41 error: no node available remote error: id=3 seq:6 res:-2 (No such file or directory): no node available cer@Legolas:~/Music> cer@Legolas:~/Music> pw-play /usr/share/sounds/speech-dispatcher/test.wav stream node 41 error: no node available remote error: id=3 seq:7 res:-2 (No such file or directory): no node available cer@Legolas:~/Music> cer@Legolas:~/Music> pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 5 Tile Size: 65472 User Name: cer Host Name: Legolas.valinor Server Name: pulseaudio Server Version: 15.0 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo Cookie: e3a8:84ab cer@Legolas:~/Music> This is Leap 15.4, with pulse AFAIK. Whatever YaST does. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.4 (Legolas))
Op dinsdag 13 december 2022 20:06:05 CET schreef Carlos E. R.:
On 13/12/2022 12.56, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord?? Message-ID : <11e1c6e4-578b-a9d6-3a86-dcb2a7034491@telefonica.net> Date & Time: Tue, 13 Dec 2022 11:48:22 +0100
[CER] == "Carlos E. R."
has written: [...] MN> > For example. MN> > MN> > $ pw-play some_audio_file MN> > MN> > works fine? MN> > MN> > If not, please do; MN> > MN> > 1. $ systemctl --user daemon-reload MN> > 2. $ systemctl --user start pipewire pipewire-pulse wireplumber MN> > MN> > then, try again. MN> > MN> > $ pw-play some_audio_file
CER> It crashes when told to play an mp3, says it is not supported and then dumps CER> core. Is that normal?
Thanks.
Sorry, pw-play can't play mp3 audio file. But it's strange to hear that it crashes.
Anyway, could you test with wav, ogg, or flac audio file?
I was just curious about that command. I don't know if it should work in this machine.
Silence.
cer@Legolas:~/Music> pw-play /usr/share/quadrapassel/sounds/slide.ogg stream node 41 error: no node available remote error: id=3 seq:7 res:-2 (No such file or directory): no node available cer@Legolas:~/Music> pw-play /usr/share/sounds/gnome/default/alerts/sonar.ogg stream node 41 error: no node available remote error: id=3 seq:6 res:-2 (No such file or directory): no node available cer@Legolas:~/Music>
cer@Legolas:~/Music> pw-play /usr/share/sounds/speech-dispatcher/test.wav stream node 41 error: no node available remote error: id=3 seq:7 res:-2 (No such file or directory): no node available cer@Legolas:~/Music>
cer@Legolas:~/Music> pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 5 Tile Size: 65472 User Name: cer Host Name: Legolas.valinor Server Name: pulseaudio Server Version: 15.0 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo Cookie: e3a8:84ab cer@Legolas:~/Music>
This is Leap 15.4, with pulse AFAIK. Whatever YaST does.
-- Cheers / Saludos,
Carlos E. R.
(from openSUSE 15.4 (Legolas))
I can play files this way, but on TW, so I guess one needs the full pipewire stack -- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team
On Tue, 13 Dec 2022 20:14:56 +0100, Knurpht-openSUSE
Op dinsdag 13 december 2022 20:06:05 CET schreef Carlos E. R.:
On 13/12/2022 12.56, Masaru Nomiya wrote:
[...] Anyway, could you test with wav, ogg, or flac audio file?
I was just curious about that command. I don't know if it should work in this machine.
Silence.
cer@Legolas:~/Music> pw-play /usr/share/quadrapassel/sounds/slide.ogg stream node 41 error: no node available remote error: id=3 seq:7 res:-2 (No such file or directory): no node available cer@Legolas:~/Music> [...]
cer@Legolas:~/Music> pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 5 Tile Size: 65472 User Name: cer Host Name: Legolas.valinor Server Name: pulseaudio Server Version: 15.0 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo Cookie: e3a8:84ab cer@Legolas:~/Music>
This is Leap 15.4, with pulse AFAIK. Whatever YaST does.
I can play files this way, but on TW, so I guess one needs the full pipewire stack
Yes. I have an old Tumbleweed installation (VERSION_ID="20220312") from before the change to pipewire, and it fails the same: linux@th-live:~> pw-play t/m/non/animal/Wolf_howls.ogg stream node 36 error: no node available remote error: id=3 seq:7 res:-2 (No such file or directory): no node available linux@th-live:~> linux@th-live:~> pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 201 Tile Size: 65472 User Name: linux Host Name: th-live Server Name: pulseaudio Server Version: 15.0 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo Default Source: alsa_input.usb-046d_0825_6B3B43F0-02.mono-fallback Cookie: 7228:7032 On an up-to-date and newer original TW installation, 'pw-play' works. From 'pactl info': "Server Name: PulseAudio (on PipeWire 0.3.61)" -- Robert Webb
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID :
On 2022-12-13 23:12, Masaru Nomiya wrote:
$ pw-play abc.mp3
sndfile: failed to open audio file "abc.mp3": File contains data in an unimplemented format. error: open failed: Input/output error
That's probably because libsndfile doesn't support mp3 until 1.1.0. https://github.com/libsndfile/libsndfile/releases/tag/1.1.0 -- /bengan
On 13/12/2022 23.12, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord?? Message-ID :
Date & Time: Tue, 13 Dec 2022 20:06:05 +0100 [CER] == "Carlos E. R."
has written: [...] CER> cer@Legolas:~/Music> pactl info CER> Server String: /run/user/1000/pulse/native CER> Library Protocol Version: 35 CER> Server Protocol Version: 35 CER> Is Local: yes CER> Client Index: 5 CER> Tile Size: 65472 CER> User Name: cer CER> Host Name: Legolas.valinor CER> Server Name: pulseaudio CER> Server Version: 15.0 CER> Default Sample Specification: s16le 2ch 44100Hz CER> Default Channel Map: front-left,front-right CER> Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo CER> Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo CER> Cookie: e3a8:84ab CER> cer@Legolas:~/Music>
CER> This is Leap 15.4, with pulse AFAIK. Whatever YaST does.
Just as I thought ... The pipewire system configuration remains incomplete.
In my case,
$ pactl info
Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 63 Tile Size: 65472 User Name: masaru Host Name: localhost Server Name: PulseAudio (on PipeWire 0.3.62) <---- This is the point! Server Version: 15.0.0 Default Sample Specification: float32le 2ch 384000Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo Default Source: alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo.monitor Cookie: 3472:6c70
Your problem will be solved by installing the required set of files. The required files are;
pipewire-tools
Was already installed
pipewire-alsa
Ok
pipewire-spa-tools libpipewire-0_3-0 gstreamer-plugin-pipewire pipewire-spa-plugins-0_2 pipewire-lang pipewire-modules-0_3 pipewire-pulseaudio pipewire
libpulse0 pulseaudio-utils pulseaudio-zsh-completion libpulse-mainloop-glib0
pipewire-pulseaudio wants to remove: pulseaudio-15 (8 packages). I'm not sure that is wise. I understand that pipewire is incomplete in Leap, so I risk breaking the system. I don't know why I have part of pipewire installed.
By the way, when I try to play mp3 audio file with pw-play in my environment, I get;
$ pw-play abc.mp3
sndfile: failed to open audio file "abc.mp3": File contains data in an unimplemented format. error: open failed: Input/output error-- Cheers / Saludos,
Carlos E. R. (from openSUSE 15.4 (Legolas))
Hello,
Sorry for late reply.
To make the story clearer, I installed Leap 15.4 on my laptop; WM is KDE.
Certainly not configured for pipewire.
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <2e70684d-b01c-595f-7ff0-0e1592e4baa3@telefonica.net>
Date & Time: Wed, 14 Dec 2022 01:58:33 +0100
[CER] == "Carlos E. R."
On Wed, 14 Dec 2022 11:53:25 +0900, Masaru Nomiya
[...] It's just a matter of changing from pulseaudio, the sound server, to pipewire, the multimedia server, and this won't break the system. [...]
Read this page: https://en.opensuse.org/openSUSE:Pipewire -- Robert Webb
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <590004161.783002.1671001446211@mail.yahoo.com>
Date & Time: Wed, 14 Dec 2022 07:04:06 +0000 (UTC)
[RW] == Robert Webb
On Wed, 14 Dec 2022 16:20:33 +0900, Masaru Nomiya
In the Message; Date & Time: Wed, 14 Dec 2022 07:04:06 +0000 (UTC) [RW] == Robert Webb
has written: RW> On Wed, 14 Dec 2022 11:53:25 +0900, Masaru Nomiya wrote: RW> > [...] RW> > It's just a matter of changing from pulseaudio, the sound server, to RW> > pipewire, the multimedia server, and this won't break the RW> > system. RW> > [...] RW> Read this page: RW> https://en.opensuse.org/openSUSE:Pipewire
I read it, but I can't understand your intention to read it.
Excuse me. I was lazy in responding. The openSUSE Wiki page describes doing exactly what you suggest. If Carlos is considering changing his audio setup, the page gives the reason that some manual installation is needed instead of an automatic migration from PulseAudio to PipeWire. It also describes how to change back to PulseAudio, and mentions several useful PipeWire tools. The page is important as a more available record of these procedures than a mailing list posting. Note, I haven't taken the time to compare your instructions to the wiki's. There may be additions or changes you might want to make to the wiki. BTW, here is some background on PipeWire: https://lwn.net/Articles/847412/ -- Robert Webb
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <821604871.5380875.1671007661485@mail.yahoo.com>
Date & Time: Wed, 14 Dec 2022 08:47:41 +0000 (UTC)
[RW] == Robert Webb
Hello,
In the Message;
Subject : Re: 15.4 - How to make Mic work with Discord -- fine with Audacity and arecord??
Message-ID : <11e1c6e4-578b-a9d6-3a86-dcb2a7034491@telefonica.net>
Date & Time: Tue, 13 Dec 2022 11:48:22 +0100
[CER] == "Carlos E. R."
participants (7)
-
Andrei Borzenkov
-
Bengt Gördén
-
Carlos E. R.
-
David C. Rankin
-
Knurpht-openSUSE
-
Masaru Nomiya
-
Robert Webb