sound.speech.prosody.apply

sound.speech.prosody

apply(events, voice) -> events

Assign durations and an F0 contour to a phoneme event list

Mutates and returns events. Each event is { ph, stress, emph?, punct?, dur?, f0? }; dur/f0 already present are preserved. SIL events carry the punct mark that closes their phrase ("." / "?" / "!" / ",").