[fpc-pascal] TProcess with festival

2009-05-15 Thread Seth Grover
Maybe I'm just dumb, but I cannot figure out why this isn't working. I wanted to write a simple program which uses TProcess to send input to festival (the text-to-speech engine). On the command line I can do something simple like this: echo hello | /usr/bin/festival --tts --pipe and festival wi

Re: [fpc-pascal] TProcess with festival

2009-05-15 Thread Vincent Snijders
Seth Grover schreef: Maybe I'm just dumb, but I cannot figure out why this isn't working. I wanted to write a simple program which uses TProcess to send input to festival (the text-to-speech engine). On the command line I can do something simple like this: echo hello | /usr/bin/festival --tts

Re: [fpc-pascal] TProcess with festival

2009-05-15 Thread Doug Chamberlin
Looks to me like you are terminating the process as soon as you write to the pipe. Don't you have to give it time to breathe? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal