Windows-Sound-Manager
Windows-Sound-Manager copied to clipboard
loop issues
there seems to be an issue when setting volume in a loop, the first .volume_set works but subsequent ones do not until the python program is killed and the module reloaded.
volume = 25
Sound.volume_set(volume)
print("set")
time.sleep(5)
# manually change volume while program sleeps to recreate
it seems Sound.current_volume() doesnt return the actual volume, but what it recalls is the volume, system data isn't returned so an overridden manual volume cannot be corrected. HTH