lil buggy
!new function(){var e=this,t="";e.recognize_speech=function(e){var n=new webkitSpeechRecognition;n.onresult=function(n){n.results.length>0&&(t=n.results[0][0].transcript,"function"==typeof e&&e())},n.start()},e.recognized_speech=function(){return t},e._shutdown=function(){},e._getStatus=function(){return void 0===window.webkitSpeechRecognition?{status:1,msg:"Your browser does not support s peech recognition. Try using Google Chrome."}:{status:2,msg:"Ready"}};var n={blocks:[["w","wait and recognize speech","recognize_speech"],["r","recognized speech","recognized_speech"]]};ScratchExtensions.register("Speech To Text",n,e)},new function(){var e=this;e._shutdown=function(){},e._getStatus=function(){return{status:2,msg:"Ready"}},e.speak=function(e){msg=new SpeechSynthesisUtterance(e),window.speechSynthesis.speak(msg)};var t={blocks:[["","speak %s","speak","Hello this is a extension made by icy coder given permission to be used in smudge products"]]};ScratchExtensions.register("Simple text to speech extension",t,e)},function(e){e._shutdown=function(){},e._getStatus=function(){return{status:2,msg:"Ready"}},e.alarm=function(e){setTimeout(function(){alert("Timer done")},e)};var t={blocks:[[" ","Set alarm for %n secs","alarm"]]};ScratchExtensions.register("Alarm",t,e)}({});