

You can change the source and destination languages, changing the recog and trans parameters of the URL above. on a Mac I'm redirecting the desktop audio as an input through BlockHole Audio Driver to be able to auto-translate online web-conferences in my stream.Enable your input source (microphone or other).Update the URL below with the ipfs address supplied by pinata.cloud ( YOUR_IPFS_ADDRESS), and update YOUR_DEPLOYMENT_ID with the key you saved before.

We will use IPFS to have a decentralised webpage. Phase 2: Publish translate.html to a web server

It uses the webkitSpeechRecognition provided by Chrome Browser to transform the input speech audio to text, then sending it to an API in Google Scripts to translate it and show the translation in your screen.Īs the Chrome's speech recognition detects when you finish your sentence, you will get a very good translation of the entire sentence, instead of chunks of non sense text. This is a method to add a live translation into your live stream in OBS.
