The algorithm throws an exception when input is either empty or contains only zeros.
AfterMaxToBeforeMaxEnergyRatio(pitch) -> {object}
pitch
(vector_real) - the array of pitch values [Hz]
afterMaxToBeforeMaxEnergyRatio
(real) - the ratio between the pitch energy after the pitch maximum to the pitch energy before the pitch maximum.
pitch
(real) - the array of pitch values [Hz]
afterMaxToBeforeMaxEnergyRatio
(real) - the ratio between the pitch energy after the pitch maximum to the pitch energy before the pitch maximum.
Comments