Blame

50b254 Anonymous 2026-06-21 03:17:43
the whooole thing
1
# Text-to-speech Behavior
2
3
# History
4
since the beginning all rovers had a text to speech of sorts to speak with other rovers and people in the room <sup>(citation needed)</sup>
5
at first it used flite engine because they are fairly easy to integrate and work on practically anything (target hardware is a pi with 512 meg ram) but eventually espeak and the proprietary Google TTS engine
6
7
you may hear some examples of the tts at https://files.otter.land/rover_theater/fake.mp4 and https://files.otter.land/rover_theater/chake.mp4 and https://files.otter.land/rover_theater/roombanomics.mp4
8
9
# Google TTS
10
google tts is using the proprietary chromeos linux libraries to help it run on the pi cpu (but still using the same voices used since android 4? perhaps a less verbose voice used there?) with https://github.com/biemster/gtts and https://storage.googleapis.com/chromeos-localmirror/distfiles/googletts-26.5.tar.xz it is very cool but latest google tts version has not been worked out yet (they tweaked it a bit in 2021). this engine is notably very understandable and varied in its output, and can run on anything from x86-64 to low power arm devices
11
12
in the chatbox u can select from the different voices (sfg, iob, iog, iol, iom, tpc, tpd, tpf) and these usually have a name attached to them but those are the internal ids used by the tts for english voices.
13
14
# espeak
15
adding `[[` before a character or a bit of text enters it into phoneme mode, making it pronounce text differently but its not very useful beyond that. in theory it would be usieful for singing but no speed or pitch control so.......e..
16
17
# awesome tts schemes to use
18
engine + setting + text to say that is hilarious or historically significant
19
20
#### Notes
21
in gtts using lots of , or ; in your sentences varies the intonation sometimes (to make it sound more human probably) but ends up sounding funny at high speeds and fewer words
22
23
since the tts is in english, trying to use characters from another language will get rid of the pitch change and likely not pronounce it correctly, which also sounds funny
24
25
##### gtts - tpf - pitch 2 speed .75
26
```
27
@-swows@-@-swoows@-@-swows@-@-swooows@-@-swows@-@-swoows@-@-swows@-@-swooows@-@-swows@-@-swoows@-@-swows@-@-swooows@-@-swows@-@-swoows@-@-swows@-@-swooows@-
28
```
29
```
30
@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
31
```