pitch_garden.ranges#
- class pitch_garden.ranges.log_normal.LogNormalRangeEstimator(gamma: float = 3.0, min_octaves: float = 0.5)[source]#
An estimator giving [exp(mu - gamma * sigma), exp(mu + gamma * sigma)].
The voiced F0 is assumed to follow a log-normal distribution, where mu and sigma are the mean and the standard deviation of log F0, respectively.
- class pitch_garden.ranges.base.F0Range(fmin: float, fmax: float, num_voiced_frames: int, fallback: bool = False)[source]#
Dataclass to hold an estimated F0 search range.