@qgazq Somehow I'm not able to paste the complete code here. So we try gist: Link to Gist
Posts made by utiuti
-
RE: Sound
-
RE: Sound
Loooong time ago I copy pasted this from someone. It worked about a year ago, but haven't checked this for a looong time. Maybe someone want to try?
// The function below was developed late last year by @stybbe, published in // Screeps Slack's #share-thy-code channel. No license was applied; all
// rights remain with the author. Minor fixes were made by @SemperRabbit // to get it working again.// NOTE: that this code works in chrome and firefox (albiet quietly // in firefox) but not the steam client.
global.defaultVoice = "Deutsch Female"; // can be changed // see https://responsivevoice.org/text-to-speech-languages/ // for options global.voiceConsole = function voiceConsole(text) { console.log(`${text}