Created
October 25, 2020 12:18
-
-
Save Kiruha01/1a30b03656c3c5971a034437e076e9bf to your computer and use it in GitHub Desktop.
Python screamer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess, time, winsound | |
""" | |
ONLY FOR WINDOWS! | |
Fall asleep for 3 seconds | |
Increase system volume to MAX via nicrmd - https://www.nirsoft.net/utils/nircmd.html | |
Play your screamer 1.wav | |
""" | |
time.sleep(3) | |
pr = subprocess.Popen('nircmd.exe setsysvolume 65535') | |
winsound.PlaySound('1.wav', 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment