0

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

SuperStormer
  • 4,997
  • 5
  • 25
  • 35
  • 1
    The decibel level is going to depend on your amplifier and speakers/headphones, and the volume of your source material. You can't get it just by reading a number somewhere. – Mark Ransom Apr 21 '21 at 16:15
  • Same logic for vol < 36 or vol > 36 ? And why 36 (and not 42) ? – TGrif Apr 21 '21 at 19:54
  • @TGrif I used that as an example because I wanted it to change the volume to my desired volume. – Genus Coder11 Apr 29 '21 at 12:23

0 Answers0