[Tiptoi] Text-to-speech

Ulrich Sibiller ulrich.sibiller at gmail.com
Mi Jan 21 23:38:04 CET 2015

On Wed, Jan 21, 2015 at 10:58 PM, Joachim Breitner
<mail at joachim-breitner.de> wrote:
> Hi,
> as suggestd by Uli, tttool can now use text-to-speech software to
> generate audio files for you. So you can develop a complete GME file
> with just an text editor and without leaving your YAML file:
> product-id: 42
> welcome: hello
> scripts:
>   8066:
>   - $mode==1? P(mode_one)
>   - $mode==2? P(mode_two)
> speak:
>   hello:   "Hello!"
>   mode_one: "We are in mode one."
>   mode_two: "We are in mode two."
> This likely works only on Linux right now. If you want it on Windows you
> need to tell me what tttool needs to do for this.

I'd really like to test this but unfortunately I am lost currently.
Using Ubuntu 14.04 (not 14.10) I cannot seem to get this compiled:

uli at traube:~/work/tiptoi/tip-toi-reveng$ cabal update
Downloading the latest package list from hackage.haskell.org
uli at traube:~/work/tiptoi/tip-toi-reveng$ cabal install --dependencies-only
cabal: unrecognized option `--dependencies-only'

I can run cabal install --bindir=`pwd` and get tttool, but it does not
contain the text2speech code (which is also not visible in the compile
output). And cabal install --bindir=. seems to work but there's no
output file afterwards.

I cleanup up using ghc-pkg unregister and removed my ~/.cabal dir and
now I get this:
uli at traube:~/work/tiptoi/tip-toi-reveng$ cabal install --bindir=`pwd`
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: tttool-0.1
rejecting: base-,,,,,,
(only already installed instances can be used)
rejecting: base-,,,,,,,,,, (conflict: tttool => base==4.5.* || ==4.6.*
|| ==4.7.* || ==4.8.*)

So what can I do to make this run again?


Mehr Informationen über die Mailingliste tiptoi