![]() Right now, the input language is English, and the translation is German. I hope to iron them out over time but if you’re going to take this and do something with it then you should be aware of them. There are several limitations with the code right now. As the results come back I write them into the IM channel of the call. That gives me a stream of audio, which I pipe into a converter to get it into WAV, then chunk it up into pieces and send it to the Translator API. However, because the WMA is written to in real-time (the file starts at zero and grows during the call, it isn’t written all in one go at the end) I can both write to it and simultaneously read from it. Translator API is a Web Socket which you send chunked WAV audio to. UCMA can capture audio of a call, but only in a very limited sense and the only supported implementation is to write the audio to a WMA file. (it can optionally also send back audio of translated voice, but I’m not using that here). You can send the Translator API audio, and it will send back both the transcript of what you’re saying and any translation you require. The bot is listening to the audio and passing it through to the Microsoft Translator API, which is an online service hosted by Microsoft. The bot shows in my contact list like a person but is connected to a program running on a server using an API called UCMA. What you’re seeing in the video is me having an audio call with a Skype for Business bot. If you’re looking for something that IS production ready, or you’re interested in having something like this that’s supported, contact me to talk about options with my employer.Read the disclaimer about the code before using it – it’s NOT production ready! I’m open-sourcing the code on GitHub here.There’s a full explanation below, but here are the big takeaways: It turns out that it is possible (watch with sound) □ Having both a transcript of a conversation and optional real-time translation would be huge, and a genuine advantage to businesses everywhere. Building a Speech Transcription and Translation Bot in Skype for Business using UCMA and Microsoft Translator APIĮver since I first saw the Presentation Translator about a month ago I wondered if it was possible to use the technology behind it in Skype for Business calls.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |