This is a migrated thread and some comments may be shown as answers.

Audio Voice Question

1 Answer 90 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Jon Shipman
Top achievements
Rank 1
Jon Shipman asked on 10 Sep 2010, 05:43 PM
I visited the captcha demo on your site and listened to the audio example and it had a nice female voice.

When I started developing with it locally, I thought my version had a "weird" male voice (all browsers), but then when I deployed it, it had the nice female voice again.

If I play a .wav file directly from the local resource (C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2010\App_Data\RadCaptcha) it's the nice female voice.

Any idea why my local deploy sounds like a strange male voice when played through any browser?

Also, this is a heads-up for developers who might have the same problem.  I was trying to find a Voice="Male" or Voice="Female" type of setting and there isn't one!  lol!  :-)

1 Answer, 1 is accepted

Sort by
0
Accepted
Pero
Telerik team
answered on 14 Sep 2010, 11:51 AM
Hello Jon,

The following article from our online documentation describes how RadCaptcha generates the audio code: http://www.telerik.com/help/aspnet-ajax/captcha_audio.html.
By default RadCaptcha tries to speak the characters using the SpeechSynthesizer.Speak method, which uses the Operating System's default voice, and I guess it is a male voice. If the control does not have enough permissions to call this method, it concatenates the .wav files placed in the App_Data/RadCaptcha directory, which are by default words spoken by a female voice. To always use the files from the directory set the CaptchaImage-UseAudioFiles property to true.

Greetings,
Pero
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Captcha
Asked by
Jon Shipman
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or