Johannes Brakensiek · @letterus
468 followers · 5683 posts · Server kirche.social

So, und ganz heißer Tipp: Direkt das Story-Format nehmen für . Damit geht dann auch text-to-speech sehr einfach:

```
Karte: StoryMenu
<<link "Text vorlesen">>
<<script>>
let passage = Story.get(State.passage);
let speech = new SpeechSynthesisUtterance(passage.text);
speechSynthesis.cancel();
speechSynthesis.speak(speech);
<</script>>
<</link>>
<<link "Vorlesen abbrechen">>
<<script>>
speechSynthesis.cancel();
<</script>>
<</link>>
```

#twinery #sugarcube

Last updated 2 years ago

Johannes Brakensiek · @letterus
468 followers · 5683 posts · Server kirche.social
Freebar · @freebar
7 followers · 42 posts · Server mastodon.world

Just got told about twinery.org. “Twine is an open-source tool for telling interactive, nonlinear stories”. Caught my interest.

#twine #twinery #opensource

Last updated 2 years ago