Text To Speech

by minimal

In-game text to speech; preview, global chat and speaker blueprint generation modes.

Tweaks
5 years ago
0.15 - 0.17
16
Owner:
minimal
Source:
https://github.com/Minimal-C/Factorio...
Homepage:
https://github.com/Minimal-C/Factorio...
License:
MIT
Created:
7 years ago
Latest Version:
0.2.3 (5 years ago)
Factorio version:
0.15 - 0.17
Downloaded by:
16 users

Factorio Text To Speech

Features

  • Two voices:
    • Male voice
    • HL1 VOX (Half Life 1 facility computer voice)
  • Recognizes 134,000 words
  • Can synthesize custom words by phonemes should the dictionary not recognize it
  • 3 modes:
    • Preview: Preview a sentence in-game (audible only to player)
    • Global Chat: Play and post speech in in-game chat (audible to all players)
    • Blueprint Generation: Create a blueprint of the input sentence using programmable-speakers

Coming Soon!

A new mellifluous diphone voice is on the way!

For reference, voice1 is a phone voice, with about 40 unique sounds, but the diphone voice has about 1600 unique sounds! The new voice has over double the bitrate of the original voice1. But at the cost of a couple more MB to download. It will never come close to modern speech synthesis (this is still simple phoneme concatenation), but you should be able to make out most words without straining (looking at you voice1).

Examples

Speech synthesis

How to synthesize custom words (Excluding HL1 VOX)

You can create a custom word by writing a sequence of phonemes (39 phonemes defined by CMU Pronouncing Dictionary) each separated by a whitespace and encapsulated with square brackets, e.g. "[F AE K T AO R IY OW] is pretty neat" would pronounce the sentence: "Factorio is pretty neat".

The 39 phonemes supported are:

AA, AE, AH, AO, AW, AY, B, CH, D, DH, EH, ER, EY, F, G, HH, IH, IY, JH, K, L, M, N, NG, OW, OY, P, R, S, SH, T, TH, UH, UW, V, W, Y, Z, ZH

Suggestions Welcome!

Post in discussion tab, or Github


Changes

0.2.3

  • Update for Factorio 0.17

0.2.2

  • OO refactor
  • Undrunkify code (now only tipsy)

0.2.1

  • Simplified blueprint mode
    (now gives player a blueprint instead of requiring an empty one on players cursor while clicking)
  • Code refactor

0.2.0

  • Add local and global chat functionality

0.1.4

  • Update to Factorio 0.16

0.1.3

  • Add HL1 VOX voice
  • Reduction in number of entities used in blueprint
  • Fix blueprint generation bug when other modded speaker sounds were in the mod-list (Thanks to lhoto)
  • Better support for additional voices

For Full Change Log Visit the Github Releases Page