Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.

Paradoxis/Windows-Sound-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows-Sound-Manager

Control your volume mixer on Windows with Python 3

How it works

This script emulates keystrokes using the built in windows VK_VOLUME_MUTE, VK_VOLUME_DOWN and VK_VOLUME_UP keys, which are used to control the default audio settings.

Why would I use this?

As I found out, changing your audio settings programmatically with programming language is incredibly tedious. It requires knowledge of tons of DLL's and tens to force you to change the sound on every single device at hardware level individually. By using a small hack that uses the built in media keys, you can avoid all of this by using something which was built into the OS already.

This isn't a fool-proof solution, but it works if you just need to build a quick application that requires your sound to to controlled with code.

Specifications

  • Tested on: Windows 10
  • Python version: Python 3.5

Links

About

Control your volume mixer on windows with Python 3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages