
The _peak_level function is not robust enough
When I called the tnr_ecma_st function (_peak_level was called in the function body), I found that changing the length of the first formal parameter "signal" of the tnr_ecma_st function would make tr very unrobust.
Therefore, I changed if Li - spec[temp] < 10 to if Li - spec[temp] < 50. I found that the robustness of tr improved a lot.
