Get PointProcess Mean Period Directly (Bypass R6)
Source:R/praat-direct.R
pp_get_mean_period_direct.RdGet mean period from PointProcess without R6 wrapper overhead. Critical for VUV analysis workflows.
Usage
pp_get_mean_period_direct(
pointprocess,
from_time = 0,
to_time = 0,
period_floor = 1e-04,
period_ceiling = 0.02,
max_period_factor = 1.3
)Examples
sound <- Sound$create_tone(frequency = 150, duration = 1.0)
pitch <- sound$to_pitch()
pp_ptr <- to_point_process_from_sound_and_pitch(sound, pitch)
mean_period <- pp_get_mean_period_direct(pp_ptr)