Custom Audio File Specifications

4 posts, 0 answers
  1. rootberg
    rootberg avatar
    38 posts
    Member since:
    Oct 2012

    Posted 21 Aug 2012 Link to this post

    I am attempting to use the RadCaptcha  control with custom audio files, but each letter has static tagged to the end of it at run time. The files that I am using were originally recorded for our phone system and currently work just fine elsewhere.

    I am guessing that it has something to do with the bit rate or frequency of the files, but I don't know allot about audio, and I can not find any specifications as to what the RadCaptcha control is expecting (other then a wav file).
  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 24 Aug 2012 Link to this post

    Hello Yael,

    There should not be any additional requirements when specifying custom .wav files. Please use the files from the folder [RadControlls for ASP.NET AJAX install folder]\App_Data\RadCaptcha, replace them with yours to check if the problem is related to the RadCaptcha control or the quality of your custom files and let me know how it goes.

    Regards,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. rootberg
    rootberg avatar
    38 posts
    Member since:
    Oct 2012

    Posted 24 Aug 2012 Link to this post

    As I mentioned earlier, the source files I am using were original meant for our phone system. So the format needs to be converted to one that is playable or readable by the control. I first used Adobe Audition to convert the audio files to the same format and specifications it recognized the RadCaptcha audio files to have. While the control plays the audio, it appends static to the end of each clip.

    I then experimented with generating my own audio files with the .net framework's (or windows 7's) built text to speech synthesizer. These files worked fine, but were not in the language I needed.

    I then found another speech synthesizer that was able to speak in the language I needed, but it only output in MP3 format. I attempted to use Adobe Audition to decompress the mp3's into WAV files, but I again, had the same problem before with the static being appended to each clip.

    I then an MP3 to WAV converter that was built with the .net framework, and tested with that... and it worked. So there is something other  then bit rate and bit depth that needs to be converted that the .net framework does... but again, I don't know allot about audio formats.

    As for the product I used for the conversion, I will not divulge as it crashed more then it actually worked and I don't like to endorse anything like that. And apparently there is a way to do this with just the .net framework (no 3rd party controls)  
      
  5. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 29 Aug 2012 Link to this post

    Hi Yael,

    It appears the static is related to the used audio conversion tool. The RadCaptcha utilizes the SpeechSynthesizer Class to "speak" the displayed security code so there should not be any problems playing a standard WAV file.

    If you are not sure what is causing the encountered effect, you can send us the converted WAV files as well as the original MP3s so that we can inspect them and provide more information if possible.

    Kind regards,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top