I am trying to develop a GUI in MATLAB to allow the presentation of a tone.
One of the input parameters is the dB the user wants.
So the way I tried to do this is:
y = factor * sin (2*pi*500*t);
The "factor" parameter is:
I tried using the
y values and do a mag2db conversion on matlab to see if I am getting the db back. And I do!
However, if I put in 0dB, I am still obtaining a tone. I have to go down as low as -50dB to not get a tone.
So my question is : Is there some kind of a way to make it such that there is no tone at 0dB and below.
Thank you so much for your help.
Note: my PC speakers are at MAX level.