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

FR: Volume-based mute functionality + Microphone activity indicator #104

Open
BobZteD opened this issue Jun 11, 2024 · 2 comments
Open

FR: Volume-based mute functionality + Microphone activity indicator #104

BobZteD opened this issue Jun 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@BobZteD
Copy link

BobZteD commented Jun 11, 2024

Hi,
Thanks for this awesome program, I have some opinion about your app. 1st muting some usb devices does nothing! it shows mic is mute but actually its working unless you lower the volume to zero, so maybe it's useful option to have toggle key could switch between 2 different volumes. now I do this by using script feature of your app and help of NirSoft's soundvolumeview.exe.
2nd active mic overlay that indicating microphone activity, something like Discord's overlay.

Again, thanks and regards

PS: Mute script for refrence
`
if ($args.Count -ne 1) {
Write-Host "Usage: script.ps1 <true/false>"
exit
}

$argument = $args[0].ToLower()

$command1 = 'D:\Downloads\Compressed\nirsoft_package_enc_1.23.57\NirSoft\x64\soundvolumeview.exe /SetVolume "DefaultCaptureDevice" 0'
$command2 = 'D:\Downloads\Compressed\nirsoft_package_enc_1.23.57\NirSoft\x64\soundvolumeview.exe /SetVolume "DefaultCaptureDevice" 100'

if ($argument -eq "true") {
Write-Host "Argument is true. Running Command 1: $command1"
Invoke-Expression $command1
} elseif ($argument -eq "false") {
Write-Host "Argument is false. Running Command 2: $command2"
Invoke-Expression $command2
} else {
Write-Host "Invalid argument. Please provide 'true' or 'false'."
}
`

@SaifAqqad
Copy link
Owner

1st muting some usb devices does nothing! it shows mic is mute but actually its working unless you lower the volume to zero

Could you try with the option Force Microphone State enabled? it's under the Global options tab

so maybe it's useful option to have toggle key could switch between 2 different volumes

I will look into it, btw you could add your script as a PowerShell action instead of storing it in a separate file, that way you could directly use the microphone variables in your script (just add the microphone data snippet)

2nd active mic overlay that indicating microphone activity, something like Discord's overlay.

I actually added something similar to this a while back (322bf09) but removed it because it caused performance issues (it was a live meter for you microphone audio level, so it was updated too frequently)

Maybe I'll look into implementing it as a microphone activity indicator, so it's only updated if the level reaches a certain threshold

@BobZteD
Copy link
Author

BobZteD commented Jun 12, 2024

Could you try with the option Force Microphone State enabled? it's under the Global options tab

I had tried before, but the problem is I have to switch between different input devices frequently, so it makes it complicated.

I will look into it, btw you could add your script as a PowerShell action instead of storing it in a separate file, that way you could directly use the microphone variables in your script (just add the microphone data snippet)

Also tried this with no success, cause I'm not much experienced in PS

I actually added something similar to this a while back (322bf09) but removed it because it caused performance issues (it was a live meter for you microphone audio level, so it was updated too frequently)

Maybe I'll look into implementing it as a microphone activity indicator, so it's only updated if the level reaches a certain threshold

Currently using this app and it's working quite well with no real performance issue, ofcourse the concept is different. but I thought maybe its helpful.

@SaifAqqad SaifAqqad changed the title Feature request FR: Volume-based mute functionality + Microphone activity indicator Jun 17, 2024
@SaifAqqad SaifAqqad added the enhancement New feature or request label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants