**DEPRECATED:** Use pitch$get_maximum(unit) instead.
Examples
sound <- Sound$create_tone(frequency = 150, duration = 0.5, sampling_rate =
16000)
pitch <- sound$to_pitch()
suppressWarnings(get_max_pitch(pitch))
#> [1] 150.0017
**DEPRECATED:** Use pitch$get_maximum(unit) instead.
sound <- Sound$create_tone(frequency = 150, duration = 0.5, sampling_rate =
16000)
pitch <- sound$to_pitch()
suppressWarnings(get_max_pitch(pitch))
#> [1] 150.0017