This library is designed for voice interactive speech translation of phrases and sentences OFFTIME REALTIME or automatically at user-defined threshold level, source language, target language and delay tracking closure about it the trigger "silence". Functional interactive translation includes: auto-tracking voice recognition, translation, dubbing the target language and redirect the audio stream to the specified audio device. Which allows redirection of audio stream? In fact, this voice translator can be used not only locally for themselves, but also for interactive speech translation remote subscriber to VoIP applications for example, you speak Russian, this audio stream library after recognition, translation, speech synthesis voice translator translation redirected to the specified audio device which is input by default for VoIP applications, say Skype, and the caller hears the already translated, say in Italian. To implement this mode required using Virtual Audio Cable to create the following chain: voice translator - Virtual Output - virtual input - VoIP application. Two of the voice interpreter installed in two languages of subscribers, allow them to communicate with each other in their native languages in the pseudo REALTIME.
ORDER OF USE
1. To recognize OFFTIME speech fragment in FLAC format, use the procedure Recognize_Flac(). 2. Procedures initialization Start() and end Stop (without parameters) is called once at the beginning and end use. 3. Procedure Set_Thresholdlevel_Delayoff_Ruen() is designed to change parameters (threshold trigger silence interval tracking closure phrases, language recognition and translation-scoring) REALTIME. 4. Procedure Recognize() will return the results to tracking cookies on the trigger to fire the silence.
Example of a call from a VBS:
' регистрируем COM объект DynamicWrapperX в тихом режиме Dim WshShell Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run ("regsvr32.exe dynwrapx.dll /s"),3, true ' создаем объект DynamicWrapperX Set Wrap = CreateObject("DynamicWrapperX") Wrap.Register "SpeechTranslateSpeech.dll", "start", "i=llss", "f=s", "r=s" ' инициализация голосового перевода res = Wrap.start(20, 1000, "ru", "it") ' бесконечный цикл Do WScript.Sleep 1000 'кол-во миллисекунд Loop