Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > Question about Volume 0-F Owner: Wheeler New post
Page 1 of 1 Sort:  
Question about Volume 0-F Posted: 2011-05-08 02:02  (Last Edited: 2011-05-08 02:03) Reply | Quote
Wheeler

Avatar

Member for: 4064 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?~
Posted: 2011-05-08 02:07 Reply | Quote
Mex

Avatar

Member for: 4642 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

Avatar

Member for: 4485 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! )
Posted: 2011-05-08 02:11 Reply | Quote
Wheeler

Avatar

Member for: 4064 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?~
Posted: 2011-05-08 03:29 Reply | Quote
Shiru



Member for: 4890 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 [url=http://famitracker.shoodot.net/wiki/index.php5?title=Volume]added it.

Posted: 2011-05-08 10:09 Reply | Quote
cak

Avatar

Member for: 4313 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.

_______________________
[url=http://2a03.free.fr/?p=pub&dir=cak]Famicom tunes
Posted: 2011-05-08 10:49 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4982 days
Location: Canada
Status: Offline

#16995
[quote=Mex][table][/quote]
Yes, like cak I certainly would like to know where you got that piece of information.

[quote=Shiru]Haven't found this table in the wiki and thought it could be useful to have it there, so I've [url=http://famitracker.shoodot.net/wiki/index.php5?title=Volume]added it.[/quote]
I've taken it off the wiki until Mex provides his sources. I'll add it back as soon as he does.

Posted: 2011-05-08 11:20 Reply | Quote
cak

Avatar

Member for: 4313 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

_______________________
[url=http://2a03.free.fr/?p=pub&dir=cak]Famicom tunes
Posted: 2011-05-08 11:25 Reply | Quote
Mex

Avatar

Member for: 4642 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.

Posted: 2011-05-08 11:33 Reply | Quote
Dave
Moderator

Avatar

Member for: 5682 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.

_______________________
[url=http://www.iridescentaudio.co.uk]iridescent audio
Posted: 2011-05-08 12:10 Reply | Quote
jsr
Administrator

Avatar

Member for: 5924 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
Page 1 of 1 Sort: