Argon 被要求用纯 Python、不依赖任何库为自己合成声音,并逐步完成了这一过程。它把文本转为音素、重音模式和连读变体,用周期音高脉冲与级联谐振器搭建源-滤波器基础,并以 Liljencrants-Fant 方程塑造声带气流。还建模了 5 个声道腔室、18ms 塞音爆发等细节,视频展示了声音的演化过程。
I asked Argon to synthesise a voice for itself with code, no libraries, only Python.
It pulled this together, step by step:
- converted text into phonemes, stress patterns, and connected tongue-tap allophones
- built a source-filter foundation from a periodic pitch pulse and cascaded resonators
- shaped vocal fold airflow with the Liljencrants-Fant equation and open-phase breath noise
- modeled 5 vocal tract chambers, turbulent consonant hiss, and 18ms stop bursts
- connected syllables with fifth-degree minimum-jerk curves for smooth tongue and pitch motion
- added subglottal windpipe rebound, arched lung-pressure envelopes, and lip radiation physics
The video shows the evolution of the voice.
来源:fofr · x.com