I create this to speak out ChatCPT plugin’s widget’s result.
\define text-to-speak() Hello World
<$button>
Speak Hello World
<$speech-synthesis text=<<text-to-speak>> />
</$button>
Or
<$button>
Speak Hello World
<$speech-synthesis text="Hello World" />
</$button>
Small widget, available in CPL or drag it from demo site.
Demo: Demo — A Plugin Demo
Github: GitHub - tiddly-gittly/speech-synthesis: Web Speech synthesis, free and offline, in tiddlywiki
CPL: TW5 CPL Wiki — TiddlyWiki5 Plugin Library for TiddlyWiki Chinese Communities