Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 709 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 709 Bytes

Windows Ear Saver

Gradually lower windows volume to potentially save your ears when you're too focused on things to do it yourself when loud music starts playing. A hello world for myself to test go and to make an experiment.

Warning

Unresearched, may actually contribute to hearing damage instead of preventing it.

Prerequisites

  • Go

Build

go build -ldflags "-H windowsgui" 

Usage

winearsave.exe

TODO

  • When no audio, do not lower
  • Handle sound card vanishing (bluetooth)
  • Handle multiple sound cards
  • Disable in games
  • More techniques for lowering volume
  • Log volume statistics

Credits

  • moutend for Windows Core Audio API bindings and example