I have two wave files each containing a sample of a note. I wish to compare, using a program, each sample and present how loud the first sample is with respect to the second if each sample is played back to the listener with the same physical conditions (volume, distance from speaker etc.). For example, if the second sample is twice as loud as the first, I wish to present "2" to the user. I'm not interested in being very accurate. I simply want to give a reasonable estimation.
Lets say the first file contains only a 1kHz tone with an amplitude of 0.1 (0.1*sin(2*pi*1000*t)), while the second contains a 1kHz tone with an amplitude of 1.0 (1.0*sin(2*pi*1000*t)). So the difference is 10db correct? Does this mean that the second sample will be, roughly speaking, perceived as being twice as loud, with respect to the first?
I understand that phons are with respect to spl and that therefore if I have only the two wave files to work with, I can't talk in such terms since I've no idea what spl existed at the microphone when the recordings were made - or more importantly, the spl that exists at the listeners ears when they hear the recording. However, lets say I have a 3kHz tone with an amplitude of 1.0 (1.0*sin(2*pi*3000*t)) in my first wave file, while the second file contains a 10kHz tone with an amplitude of 1.0 (1.0*sin(2*pi*10000*t)). Isn't it fair to say that the first file will be perceived as being louder? Should it be fair, based on the graph to say that the 3kHz tone will be perceived as being roughly 4 times louder? Since in the graph you have to, roughly speaking, increase the 10kHz signal by 20db to get the same loudness as that of a 3kHz signal.
Again lets say that the first file contains a 3kHz tone with an amplitude of 0.1 (0.1*sin(2*pi*3000*t)), while the second contains a 10kHz tone with an amplitude of 1.0 (1.0*sin(2*pi*1000*t)). Is it fair to estimate that the difference in loudness is a factor of 0.5? That is, the first file will be perceived as being twice as loud as the second.