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.

  526

 

You may also be interested in:

8086tiny: the Smallest, Free, Open-Source PC XT-Compatible Emulator
Hum Blank: the USB Cork Stopper Memory Stick
Artificial Neural Network Writes a Full House Episode Everyday, Forever
What Will Artificial Intelligence Mean for Humans, as a Culture and as a Species?
Do you really think that ICQ is better than IRC?