Welcome to the Rockbox Technical Forums!
%?pv<0.0|1.5|3.1|4.6|6.2|7.7|9.2|10.8|12.3|13.8|15.4|16.9|18.5|20.0|21.5|23.1|24.6|26.2|27.7|29.2|30.8|32.3|33.8|35.4|36.9|38.5|40.0|41.5|43.1|44.6|46.2|47.7|49.2|50.8|52.3|53.8|55.4|56.9|58.5|60.0|61.5|63.1|64.6|66.2|67.7|69.2|70.8|72.3|73.8|75.4|76.9|78.5|80.0|81.5|83.1|84.6|86.2|87.7|89.2|90.8|Way Too Loud>%%
def percent(): x=0 g=0 string="" while g<=59: #change 59 to your amount below 1dB string=string+str(round(x,1))+"|" x=x+100.0/65.0 #change the denominator here to total amount of possible volume settings g+=1 print string #If you're in python 3, print statement is now a functionpercent()
It's a percentage of maximum possible volume,
Actually no, at least not the way you're doing it. dB are a logarithmic scale, so " x=x+100.0/65.0" is definitely not giving you percent of the maximum. If you want to do percentage of the maximum, -10dB is 10%, -20dB is 1%, -30dB 0.1% and so on.
So why are you trying to make the value confusing by presenting it as an arbitrary and virtually meaningless number?
In what way is a fake percentage "useful" then? If there's a valid use for it, it might deserve a real tag, but nobody's really provided one yet. You said it's more useful for you. Do you just mean "more aesthetic to me" or do you find an actual use for it?
Since not all of my music tracks are recorded at the same volume...
Page created in 0.054 seconds with 15 queries.