Implement freq to tone function
Return 0.0 freq in no sound