Speech Synthesizer in 1k of Javascript


Mon, Mar 19th, 2012 11:00 by capnasty NEWS

If you're not impressed by this, nothing will: Mathieu 'p01' Henri has released the JS1K Speech Synthesis, a piece of Java programming no bigger than 1K that can speak as you type or say whole sentences.

JS1K#4 was colliding with our long awaited family vacation. I had very little time to work. Audio was ON this time and I had this tiny speech synthesizer laying around waiting to be ported to JavaScript and optimized to oblivion.

¤ Based on Tiny Speech Synth by Stepanov Andrey
¤ Optimized and minified manually, by yours truly
¤ Compressed down to 1020 bytes using First Crush by @tpdown

To go under 1K, I had to limit the synthesizer to two formant filters using either a sawtooth or noise and discard plosive sounds. In other words I had to sacrifice quality a bit.



You may also be interested in:

40 years of Unix
Popcorn Time: Watch Torrent Movies Instantly, With Subtitles
Steve Jobs, the Prolific Patentee
Stanford University Simulates an Entire Organism Using Software
Google to launch operating system