Skip to main content

estimate_duration

Function estimate_duration 

Source
pub fn estimate_duration(text: &str, speaking_rate: f32) -> f32
Expand description

Estimate synthesis duration from text.

Based on average speaking rate of ~150 words per minute.