I was wondering if I could have some help figuring out how to check the decibel level of my computer audio. I would like to make a program that finds the desired decibel level of my volume, and if my volume is above that, moves it down. I have included some code that outlines what I would like:
Import decibelget
requestedvol = 36
while True:
vol = decibelget.get()
if vol<requestedvol:
vol = vol + 1
if vol>requestedvol:
vol = vol - 1