Hi all, i am currently doing speech detection in white gaussian noise. I would take fft of a frame of noisy speech and if the maximum value is above a certain threshold, i can say that speech is detected. Of course, there is another part of the algorithm that does a more thorough check. My question is, i need to come up with a formula for this threshold. meaning threshold=x^2 + y for example, rather than threshold =0.7. How should i do it? I have an idea here but i don't know if it can work. That is, for example, if energy of frame=0.1, my threshold should be 0.5 if energy of frame=0.2, my threshold should be say 0.6 if energy of frame=0.3, my threshold should be say 0.63 Then i plot out these on cartesian plot and get the equation of the curve,that will be the formula for the threshold. Will this solve my problem? The curve will definitely not be linear. If so how can i find out the equation of the curve? Any advice? Thank you