all repos — captcha @ 47a4cf294e2199e11cf2ed0276528393af3c42de

Go package captcha implements generation and verification of image and audio CAPTCHAs.

capgensounds/README.markdown (view raw)

 1How to create sounds for other languages
 2========================================
 3
 4* Record sounds for 0-9.
 5  Speak fast enough to make sound files small.  Make sure the level of sound is
 6  the same as in the provided samples for English (this is important for making
 7  captchas harder to break). Save files in 8 KHz 8-bit PCM WAV format.  (To do
 8  this in Audacity, set "Project Rate (Hz)" at the lower left corner to 8000,
 9  then click File > Export, select "Other uncompressed files", click
10  Options..., select "WAV (Microsoft)" for Header, and "Unsigned 8 bit PCM" for
11  Encoding.)
12
13  If you're not sure if your sounds are okay or how to save them properly, just
14  save one of them into any format (MP3 is okay), and send it to me
15  <dmitry@codingrobots.com>. I'll check it, and if it's okay, I'll ask you for
16  other sounds, and process them myself (in this case, you can stop reading.)
17
18* Put `0.wav` - `9.wav` into the subdirectory with language name (e.g. "ua").
19
20* Open main.go and edit "var langs" on line 21 to include the new directory
21  name.
22
23* make && ./generate
24
25If all goes well, fork this repository, commit your changes, and send me a pull request.