Skip to content

Instantly share code, notes, and snippets.


Niall Moody NiallMoody

View GitHub Profile
NiallMoody /
Last active Aug 21, 2021
Code snippet for using javascript text-to-speech in bipsi

To use javascript text to speech in bipsi, add the following code to a javascript event field called touch, before any of the await... lines:

let voice = new SpeechSynthesisUtterance();
voice.pitch = 1;
voice.rate = 1;
voice.text = "TEXT HERE";

Replace TEXT HERE with your own text.