Caution
This software is itended to use on systems YOU OWN (not some company/random PCs you hack online), so, I'M NOT TAKING RESPOSABILITY OF WHAT USAGE YOU DO OF THE SOFTWARE, this software is just a joke and it's intended to use it as a joke. Using this software on devices without the owner's consent may be illegal in your country.
So, i have a little teenage brother that every time he plays videogames with his friends rages A LOT, and this makes me mad while i study/chill in my room.
So, i've made this tiny program that uses sounddevice for capturing raw data from the default microphone in windows and if it reaches a certain limit of decibels it shuts down the entire pc, pretty cool right?
-
Git-clone my repo, extract it and open it
-
(optional) Edit the python file if you want to edit the dB limit/change other things or also do debug
-
Install pyinstaller for compiling the exe:
pip install pyinstaller -
Compile it:
pyinstaller --onefile --noconsole chilledsystemservice.pyor, if the command above doesn't work:
python -m PyInstaller --onefile --noconsole chilledsystemservice.pyyou will see the .exe in the dist folder
-
If you wan't to start the program in background on startup put the .exe in:
C:\Users\"puthereyouruser"\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup -
Done 🥳, take a cup of tea and chill while your brother stfu
You can find it on the release page, but it will be pre-configured with -20dB of limit, so, if you want to change it and debug it, you will have to do the first type of method (sorry)
Important
Antiviruses like Defender could flag the program and the pre-made .exe file as malware, even if you compile it on your own, it just a false positive, if you are suspect about the software containing a malware you can see the code, reverse engenier it, put it on malware-analysis sandboxes like Virustotal or Triage (Pre-scanned Virustotal link: https://www.virustotal.com/gui/file/301dcfaf8658cb7c7407d73545c4d91714c73ec3a6631dd62d1e1b1aecca308c/detection). This happens because i'm using PyInstaller for making the .exe (this explains the false-positives) and also the .exe it's not signed (a certificate costs like 300 dollars, i'm not spending that money on a joke software lmao, i'm broke)
Also, feel free to fork it if you have some other features to add on the program (for example, making the pc explode or similar stuff)