Speech Synthesizer in 1k of Javascript

#Computers

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.

  561

 

You may also be interested in:

The Economist: Apple's User-Friendliness a Form of iFascism
Math from the Past
Flat UI Colour Picker
ReactOS: Free and Open Source Replacement for Microsoft Windows NT
Why I Hate Computers