Question about Volume 0-F Posted: 2011-05-08 02:02 (Last Edited: 2011-05-08 02:03 )
Reply |
Quote
Wheeler
Member for: 5528 days Status: Offline
#16982
Well this is an odd question. Dunno if it was ever asked, but what is the % of the volumes 0-F ?
I'm assuming F being the highest, it would be 100%. So what would 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E be?
Why do I want to know? Well in FL studio, I'm trying to mimic a famitracker tune, and I need to adjust the volume knob, and that goes by percentage.
If no one knows, I guess I'd have to calculate 0=0% and F=100% and even out the percentages through all the volumes.
_______________________
~They call me the Bumble Bee Kitten. Yes, I am a Bumble Bee & a Kitten mixed together. Something wrong with that?~
Mex
Member for: 6106 days Location: Victoria, British Columbia Status: Offline
#16983
100 % = F
96 % = E
93 % = D
89 % = C
85 % = B
81 % = A
77 % = 9
72 % = 8
68 % = 7
63 % = 6
57 % = 5
51 % = 4
44 % = 3
36 % = 2
25 % = 1
0 % = 0
Posted: 2011-05-08 02:10 (Last Edited: 2011-05-08 02:11 )
Reply |
Quote
TechEmporium
Member for: 5949 days Status: Offline
#16984
Ignore this post. Mex beat me to it.
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
(Lousy modern technology! )
Wheeler
Member for: 5528 days Status: Offline
#16985
Whoa! Thanks, Mex!
_______________________
~They call me the Bumble Bee Kitten. Yes, I am a Bumble Bee & a Kitten mixed together. Something wrong with that?~
Shiru
Member for: 6354 days Location: Russia, Moscow Status: Offline
#16986
Haven't found this table in the wiki and thought it could be useful to have it there, so I've added it .
cak
Member for: 5777 days Location: oregon Status: Offline
#16994
How was this chart calculated exactly? What I'm coming up with (by recording VirtuaNES into Adobe Audition and analyzing the waveforms) are approx intervals of 1/15, or 6.666%, rather than the irregular intervals posted above.
_______________________
Famicom tunes
jrlepage
Moderator
Member for: 6446 days Location: Canada Status: Offline
#16995
Yes, like cak I certainly would like to know where you got that piece of information.
Shiru wrote:
Haven't found this table in the wiki and thought it could be useful to have it there, so I've
added it .
I've taken it off the wiki until Mex provides his sources. I'll add it back as soon as he does.
cak
Member for: 5777 days Location: oregon Status: Offline
#16997
Also, these are the corresponding -dB values, should anyone find them useful:
F = 0
E = .6
D = 1.2
C = 1.9
B = 2.7
A = 3.5
9 = 4.4
8 = 5.5
7 = 6.6
6 = 8
5 = 9.5
4 = 11.5
3 = 14
2 = 17.5
1 = 23.5
0 = inf
_______________________
Famicom tunes
Mex
Member for: 6106 days Location: Victoria, British Columbia Status: Offline
#16998
While the table is not completely accurate to the NES, it is approximated and will be fixed in later versions of Chipsounds. The current version does not support fractions to my understanding. The table is based of some data from nsf2midi:
NSF2MIDI volume scale
-----------------------
F: 127
E: 122
D: 118
C: 113
B: 108
A: 103
9: 98
8: 92
7: 86
6: 80
5: 73
4: 65
3: 56
2: 46
1: 32
0: 0
Keeping this in mind the table should be good enough as long as your channel volume is set to 0.60.
FUN FACT - This is the very table I helped Kevvviiinnn make for his Mega Man songs.
Dave
Moderator
Member for: 7146 days Location: UK Status: Offline
#16999
this is interesting. i had noticed the volumes tended to tail off quicker in the lower numbers, but it is interesting to see exactly how the curve looks. it seems to get the best range of dynamics in a song you should see A as being default volume, and only dip into higher volumes when required.
_______________________
iridescent audio
jsr
Administrator
Member for: 7388 days Location: Sweden Status: Offline
#17001
I calculated a table from the approximation used in famitracker: 95.88 / ((8128.0 / (vol)) + 100.0)
15: 100% (0dB)
14: 94% (-0.5dB)
13: 89% (-1.06dB)
12: 83% (-1.66dB)
11: 77% (-2.32dB)
10: 70% (-3.05dB)
9: 64% (-3.87dB)
8: 58% (-4.8dB)
7: 51% (-5.86dB)
6: 44% (-7.1dB)
5: 37% (-8.58dB)
4: 30% (-10.42dB)
3: 23% (-12.82dB)
2: 15% (-16.24dB)
1: 8% (-22.15dB)
(Using linear approximation would be good enough, as you can see.)
This is with only one channel active. Using both will reduce the total volume in the same way as triangle, noise and DPCM, but the effect is weaker since the output is never constant.
_______________________
Programmer and developer