Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Allow monitoring volume and mute status of audio input devices #241

Open
Adaephon-GH opened this issue Sep 1, 2017 · 13 comments · Fixed by #328
Open

[Enhancement] Allow monitoring volume and mute status of audio input devices #241

Adaephon-GH opened this issue Sep 1, 2017 · 13 comments · Fixed by #328

Comments

@Adaephon-GH
Copy link

At the moment it looks like it is only possible to monitor audio output devices. (At least for me any attempts to add an ALSA capture device or PulseAudio source failed)

It would be great if it would also be possible to monitor input devices.

@reitzig
Copy link

reitzig commented Dec 1, 2017

Definitely! Accidentally muted or tuned down microphones are a constant point of confusion in video conferences. It would be great to have "volumne" indicators (gain) for inputs in the bar!

@Stunkymonkey
Copy link
Contributor

I started implementing this.

@eplanet
Copy link
Contributor

eplanet commented Nov 7, 2018

@Stunkymonkey any update on this?

@Stunkymonkey
Copy link
Contributor

the alsa part ist working, but the pulse part not

@nidrissi
Copy link

@Airblader The fix was only for ALSA, it doesn't work with PulseAudio.

@Airblader Airblader reopened this Feb 18, 2020
@Airblader
Copy link
Member

Yes, thanks!

@qguv
Copy link

qguv commented Apr 14, 2020

This would be excellent to have; has there been any work on this for PulseAudio since 2017?

@grmat
Copy link
Contributor

grmat commented Jun 23, 2020

@orestisfl: you added the help wanted label, but there's an open PR at #345 with no further discussion. Could you elaborate on what's missing/todo?

@orestisfl
Copy link
Member

That PR doesn't link to this issue so I think I didn't notice it

@grmat
Copy link
Contributor

grmat commented Jun 23, 2020

Alright. FWIW, I fixed an issue that I personally had with the current ALSA implementation in #423, but I'd be willing to work on Pulse integration as well if necessary.

@nitish-predera
Copy link

I wish this feature gets to breathe air.

@ulfgebhardt
Copy link

Can we have this please <3

@n-st
Copy link
Contributor

n-st commented Sep 7, 2021

As a workaround, you can use a wrapper script around i3status that queries the input device status on its own and adds it to the status line — something like this: https://gist.github.com/n-st/c91fb5a423c539f3b2cb1013384c8af2
The script is very simplistic, but will detect the current default source device and replace the "MIC placeholder" status item with a red "MIC" or a white "MUT" depending on the current mute status. Feel free to modify it for your desired format (example code for a volume meter is included as well).

(Note: https://pypi.org/project/pulsectl/ is required. If it is missing, the script will silently remove the "MIC placeholder" from the status bar.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.