Dmitry Chestnykh ef8b4cf2a4 generate: add README about how to create sounds for new languages. 14 gadi atpakaļ
..
en 7c629aef82 Support other languages in audio captchas. 14 gadi atpakaļ
ru 7fee67a2e8 Better Russian sounds. 14 gadi atpakaļ
Makefile 11dc012645 generate: rename to main.go, add Makefile. 14 gadi atpakaļ
README.markdown ef8b4cf2a4 generate: add README about how to create sounds for new languages. 14 gadi atpakaļ
beep.wav 2ef763a3c2 Rename cmd to capgen, originals to generate. 14 gadi atpakaļ
main.go d7cb604d49 Add copyright headers. 14 gadi atpakaļ

README.markdown

How to create sounds for other languages

  • Record sounds for 0-9 and put them into a directory with language names. Speak fast enough to make sound files small. Make sure the level of sound is the same as in the provided samples for English (this is important for making captchas harder to break). Same files in 8 KHz 8-bit PCM WAV format. (To do this in Audacity, set "Project Rate (Hz)" at the lower left corner to 8000, then File > Export, select "Other uncompressed files", click Options..., select "WAV (Microsoft)" for Header, and "Unsigned 8 bit PCM" for Encoding.)

If you're not sure if your sounds are okay or how to save them properly, just save one of them into any format (MP3 is okay), and send it to me dmitry@codingrobots.com. I'll check it, and if it's okay, I'll ask you for other sounds, and process them myself (in this case, you can stop reading.)

  • Put 0.wav - 9.wav into the subdirectory with language name (e.g. "ua").

  • Open main.go and edit "var langs" on line 21 to include the new directory name.

  • make && ./generate