How to match loudness between sine wave and white noise?
6 views (last 30 days)
Show older comments
Hello, first of all thanks for your time.
I'm using a pure tone (sine wave) and a white noise for my experiments, and found it difficult to match the loudness between these two sounds. Is there any way to match them from the matlab script? It seems that different types of sound retain their loudness differently as they move away from the source (i.e., speakers), so that even if they were matched at speakers, they were no longer matched at the participant's location.
The sine wave is generated through the following lines:
setup.spacedtime = 0:(1/44.1e3):setup.cueDur;
setup.sineNoise = .6 * sin(2 * pi * 2000 * setup.spacedtime);
And the white noise by the following line:
setup.whiteNoise = rand(1, length(sin(setup.spacedtime)));
As you can see, I'm multiplying .6 to setup.sineNoise in order to match the loudness between the two as much as possible, but still the loudness isn't exactly matched.
Any advice would be greatly appreciated. Thank you very much!
0 Comments
Answers (0)
See Also
Categories
Find more on Audio Processing Algorithm Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!