ixab3r / micswitch Goto Github PK
View Code? Open in Web Editor NEWMicSwitch is a tool which allows you to mute/unmute your microphone using a predefined hotkey
MicSwitch is a tool which allows you to mute/unmute your microphone using a predefined hotkey
Such useful app on linux will be nice.
Hey there.
Just want to mention that virustotal is resulting in a malicious report. I dont want to say that your binary is malicious but I think the people are a bit paranoid when using a software with mic-control :D
MicSwitchSetup.0.114.0.exe - Win/malicious_confidence_60% (W)
https://www.virustotal.com/gui/file/b55da2d945cb73eb26e9790ddf683667cb156adaf16ee0fc2e117931840be011/detection
MicSwitch-0.114.0-full.nupkg - Gen:NN.ZexaE.34090.su0@a0jfGVd
https://www.virustotal.com/gui/file/11c7a0685c16aa5f563d27288e562c2c60d59e3b5ea1955b4c9bf50df0f3bec2/detection
after an autoupdate the selected microphone goes from whatever i selected to all microphones.
update.
it also resets to all microphones on a system reset. so i'm thinking its not storing my selection anywhere.
Before the update (v1.0.179.0 I think) micswitch started up properly at startup in Win 10 version 1909.
Since the update to v1.0.181.0 , at start up I see a space appear in the taskbar where the microphone symbol normally appears. After a short time the space disappears. It turns out that micswitch is not running.
I then launch the application manually and then it works.
I wonder if something has changed between the two builds that has resulted in this change in behavior.
Hello.
Thanks for developing this app. It's what I've always been looking for ;-)
I am writing to let you know that I think the mode "push-to-talk" is not working well: I have set the F11 key as a hotkey. When I press the key the mute is activated, and when I release it the mute is deactivated. Shouldn't it be the opposite?
Thank you very much!
so you know you muted your mic. i always forget to unmuted but would like to hide the overlay when i'm not muted.
it would be nice to only see the overlay when muted.
or the other way around for who prefers that.
Build not working.
git submodule update --checkout
Cloning into 'D:/Projekte/VisualStudio/MicSwitch/MicSwitch/Submodules/DeploymentTools'...
remote: Repository not found.
fatal: repository 'https://github.com/iXab3r/DeploymentTools.git/' not found
fatal: clone of 'https://github.com/iXab3r/DeploymentTools.git' into submodule path 'D:/Projekte/VisualStudio/MicSwitch/MicSwitch/Submodules/DeploymentTools' failed
Failed to clone 'Submodules/DeploymentTools'. Retry scheduled
Cloning into 'D:/Projekte/VisualStudio/MicSwitch/MicSwitch/Submodules/PoeEye'...
Cloning into 'D:/Projekte/VisualStudio/MicSwitch/MicSwitch/Submodules/DeploymentTools'...
remote: Repository not found.
fatal: repository 'https://github.com/iXab3r/DeploymentTools.git/' not found
fatal: clone of 'https://github.com/iXab3r/DeploymentTools.git' into submodule path 'D:/Projekte/VisualStudio/MicSwitch/MicSwitch/Submodules/DeploymentTools' failed
Failed to clone 'Submodules/DeploymentTools' a second time, aborting
...
This is absolutely unacceptable. The program saves all keystrokes to a log file. This completely undermines the safety of users.
It is necessary to disable logging of keystrokes to the file.
Example of a log file:
2021-04-19 21:33:15,396 [HotkeyTracker] DEBUG Hotkey pressed: T, key: T, mouse: , wheel: None, modifiers: None [PoeShared.UI.Hotkeys.HotkeyTracker]
2021-04-19 21:33:16,036 [HotkeyTracker] DEBUG Hotkey pressed: E, key: E, mouse: , wheel: None, modifiers: None [PoeShared.UI.Hotkeys.HotkeyTracker]
2021-04-19 21:33:16,516 [HotkeyTracker] DEBUG Hotkey pressed: S, key: S, mouse: , wheel: None, modifiers: None [PoeShared.UI.Hotkeys.HotkeyTracker]
2021-04-19 21:33:17,140 [HotkeyTracker] DEBUG Hotkey pressed: T, key: T, mouse: , wheel: None, modifiers: None [PoeShared.UI.Hotkeys.HotkeyTracker]
My setup is two displays. Display 1 (secondary) is 3840x2160 and display 2 (main) is 1920x1080. I'm trying to position the overlay on display 1 but hitting the lock button resets it's position to the center of display 1. It works great for display 2.
Hi,
I just tried to update to the latest version of the software and it seems that it's being detected as malware by ...well, everything. I had to revert to 1.0.186 to be able to use it.
Thanks, the software is great, btw.
I think it would be convenient if when you click on the program icon in the tray, the microphone mute or unmute.
Thanks for the program, it helps a lot👍
Hello, I started to use your app and it is wonderful.
I suggest one enhancement. It would be cool if I can move the overlay closer to top of screen in order to have the icon over applications title bar.
I plan to use red and green boxes 400x20 pixels for icons.
Thanks
PJ
All my microphones are at 0% volume when the app runs from startup. Then I am unable to change the volume slider without restarting the app manually.
Not a single feature of this app works correctly.
It would be ideal if we could set one hotkey to mute and one hotkey to unmute.
Whats really needed is a mutually exclusive selection of 5 different operating modes.
.
hi. thank you so much making this app. i like it alot.
the issue i have with the app is that the app become unresponsive after a period of time (maybe 1-2 hrs).
the app windows can't even open when double clicking the app icon in the taskbar. I have to close the process from taskmgr to restart it. this issue has happened for multiple times yesterday.
interestingly, the app still respond to the hotkey to toggle the mic mute/unmute.
another suggestions:
would it be possible to show the live input level in the floating icon? say in green color?
the app crashes as soon as I try to select a hotkey for mute / unmute
Hello,
I've been using MicSwitch v1.0.179.0 and randomly I'm receiving this error message below that can only be solved by closing and opening again the application.
The bad side is that you may be thinking that your microphone is muted, as in a meeting, and it is suddenly unmuted without you noticing.
[Microsoft Windows 10 Home Single Language (x64) Build 19042.868 (20H2)]
Received an unexpected error.
The error mentions the path "C:\BuildAgent\work", but it doesn't exist on my computer.
Today I upgraded to version 1.0.188.0, I didn’t get this error before.
2021-06-21 19:10:38,491 [12] ERROR Unhandled application exception() [PoeShared.SharedLog]
NAudio.MmException: BadDeviceId calling waveOutGetDevCaps
at NAudio.Wave.WaveOut.GetCapabilities(Int32 devNumber)
at PoeShared.Audio.Services.AudioPlayer.<>c__DisplayClass3_0.<GetDevices>b__0(Int32 x) in C:\BuildAgent\work\61454f6050c7a045\Sources\PoeShared.Native\Audio\Services\AudioPlayer.cs:line 41
at System.Linq.Enumerable.SelectRangeIterator`1.MoveNext()
at System.Linq.Enumerable.ConcatIterator`1.MoveNext()
at PoeShared.Scaffolding.EnumerableExtensions.ToDictionary[T,TKey,TValue](IEnumerable`1 enumerable, Func`2 keyExtractor, Func`2 valueExtractor, Func`2 conflictSolver) in C:\BuildAgent\work\61454f6050c7a045\Sources\PoeShared\Scaffolding\EnumerableExtensions.cs:line 84
at PoeShared.Audio.ViewModels.WaveOutDeviceSelectorViewModel.HandleDevicesUpdate()
at PoeShared.Scaffolding.ObservableExtensions.<>c__DisplayClass5_0`1.<SubscribeSafe>b__0(T x) in C:\BuildAgent\work\61454f6050c7a045\Sources\PoeShared\Scaffolding\ObservableExtensions.cs:line 58
Suggestion: Play a sound every X seconds that tells the user they are muted (when muted of course). Some headsets have this built in, would be nice to have as an optional setting.
Thanks for your program.
Could you please consider to add to your program a multilanguage GUI?
Thanks.
Will it be possible to add contrl and alts for the keybinds
Having set the volume level, it periodically begins to increase depending on the conversations in the room
I position the tray icon in such a place that it's always visible for me, however on each update, the position resets and it goes next to the hidden tray icons.
The app should be able to detect the OS theme and offer white icon versions
Currently it's either All or One, in some cases it will be useful to be able to mute/unmute multiple recording devices, but not all of them.
The possibility to choose your own .mp3 or .wav files to hear when muted or unmuted.
I would use the default teamspreak or mumble sound effects instead of the built-in sounds.
I would add it myself, but currently I don't see where the current sound list is loaded in.
When i unmute on microsoft teams, it unmutes my mic, when i mute my mic it unmutes my micswitch.
Hello,
after updating to the latest version, I got a quick error message. Unfortunately, I wasn't able to read it, but
I noticed it contained my mute key - Scroll Lock. The app crashed and I cannot start it again, so I suspect the keybind is causing problems. If I try to start the old version from "C:\Users***\AppData\Local\MicSwitch\app-1.0.140" , it starts, but doesn't preserve settings (if I set keybind and settings and restart the app, they disappear), so I effectively cannot use the application.
Another separate issue (might be fixed in the newest version, can't test, because of the above): Audio notification for mute doesn't play the first time I mute my microphone, but microphone is muted and tray icon changes.
Adding it to the "extras" bucket (feed) would allow many more users to discover this tool and easily install it.
I love your utility, quick feature request, a MUTE ALL in the microphone list, handy for when using multiple microphones. Guessing you would need to actively check what is plugged in/out though.
Firstly, this software is awesome.
The problem is when I use alternately the two hotkeys that I have stored to toggle mute.
You will see the bug by doing this procedure:
Start unmuted:
Hotkey 1 to mute: works
Hotkey 2 to unmute: does not work
Hotkey 1 to unmute: does not work
Hotkey 2 to unmute: works
This does not strike me as intuitive behavior
On a German Windows 10 multi language UI the hotkeys are recognized as - in my example - STRG+F12:
This prevents a start of the application, the error log contains (line 3):
2021-02-19 23:40:42,490 [HotkeyTracker] DEBUG Hotkey tracking disabled (hotkey gesture => ) [PoeShared.UI.Hotkeys.HotkeyTracker]
2021-02-19 23:40:42,510 [HotkeyTracker] ERROR Unhandled application exception(CurrentDomainUnhandledException) [PoeShared.SharedLog]
System.NotSupportedException: Unbekanntes ModifierKeys-Element "STRG".
bei System.Windows.Input.ModifierKeysConverter.GetModifierKeys(String modifiersToken, CultureInfo culture)
bei System.Windows.Input.ModifierKeysConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object source)
bei PoeShared.UI.Hotkeys.HotkeyConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object sourceRaw)
bei PoeShared.UI.Hotkeys.HotkeyConverter.ConvertFromString(String source)
bei MicSwitch.Services.ComplexHotkeyTracker.<>c__DisplayClass12_0.<Initialize>b__0()
bei System.Reactive.ObserverBase`1.OnNext(T value)
bei System.Reactive.Subjects.FastImmediateObserver`1.EnsureActive(Int32 count)
bei System.Reactive.Subjects.ReplaySubject`1.ReplayBase.Subscribe(IObserver`1 observer)
bei System.ObservableExtensions.SubscribeSafe[T](IObservable`1 source, IObserver`1 observer)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
bei System.Reactive.ObserverBase`1.OnError(Exception error)
bei System.ObservableExtensions.SubscribeSafe[T](IObservable`1 source, IObserver`1 observer)
bei MicSwitch.Services.ComplexHotkeyTracker.Initialize()
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart(Object obj)
If I change the hotkey modifier to CTRL (like CTRL+F12), it starts and works:
From:
"MicrophoneHotkey": "STRG+F12",
To:
"MicrophoneHotkey": "CTRL+F12",
Please enable support for localized Windows MUI.
When I use "X" to send MainWindow to tray, function "Show main windows" ceases to work. Both from context menu and double-click on icon - after clicking nothing happens.
App version: V0.126.0.0
Env: Windows 18363.1082, tried both on user and administrator account
I have a dark windows theme and usually play games and stuff so the dark black mic button and white UI is a little annoying it would be nice to have a black/dark theme that inverts it and or makes the mic icon grey instead of black, I was thinking of just editing it for myself but I dunno if you think it's a good feature or not.
The main window height doesn't fit in some HD displays (h=768px) and is not resizable.
It would be nice if possible to rearrange or add a scroll bar
Hi, just a thought.
I think the "initial state" option is quite handy, when you forget to mute your microphone when turning off your computer,
so that your microphone is on muted state when booting the PC up, rather then being active all the time.
My issue now is, I use another 2,5mm jack to record audio from another resource. It's basically detected by Windows as a "microphone". Having the "Initial state" option set to "Mute" will mute all Microphones globally on Windows. Which would result in my "audio-in" being muted as well.
I would much rather have that application to mute the selected device under "Microphone" (Top option) instead of muting all microphones available on start.
I hope I described it clearly.
English is not my mother language and, to be honest, I just signed up here on GitHub just to mention it.
It's quite hard to get a software that is doing the work well and is still being maintained,
and your software does doing shit well except for that one little thing that bothers me. :)
Best wishes and keep going with your awesome work!
Hello! I found your app while looking for a push to talk solution for Windows and thought I'd share my comments and the issues I encountered.
This is kind of a personal thing but I'd like to see an option to only toggle mute rather than forcing audio volume to be what is set in the app.
RAM usage of 100 megabytes seems kind of high, in my opinion, for what the app is supposed to do.
App creates a very shrunk all white window.
Open folder is labeled "Open PoeEye folder"
I realize this isn't the most technically accurate description of the issue but when using the MouseMiddle as a hotkey the app can create a state where mouse input is "blocked" except to the desktop, although maybe I shouldn't be using MouseMiddle as my hotkey in the first place.
The "Show main window" option in the doesn't work.
App version: 0.126.0.0
Windows version: Windows 10 version 2004 64-bit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.