Sound Verification Code production method _ Related skills
Source: Internet
Author: User
Java production:
Idea one: Merge mp3 and record sound files into the following categories:
1. "Your verification code is", the following short start dubbing
2.0 to 9 of the digital sound, hereinafter referred to as digital dubbing
3. "Please input", hereinafter referred to as the end of dubbing
When the server to generate the verification code, the beginning of the voice, 4 digital dubbing, the end of dubbing, in order to merge into a MP3 file.
Idea two: Merge SWF, on the internet like to call also have this kind of Java API, make several SWF files in advance, and then merge into one with the dynamic program.
Thinking three: Make a SWF, and then dynamically control the order of playback MP3, this implementation is relatively easy, but the client and server time has the verification code text transmission, unreasonable! For example, I want to tell flash the generated code, and then let Flash play in turn.
Train of thought four: If your hard drive is big enough, all may record a sound fragment also can, haha ...
I followed the idea of a day, and finally finished, although their own voice is more harsh, but the effect can also, hehe.
Interested can add me to research and research: qq:1265877
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.