Okay, I figured it out...
Turns out I was using festival wrong, though I'm still not sure how.
It wasn't a problem with how I was using TProcess.
If I run festival like this (not using --tts mode)
FestivalProc.CommandLine := '/usr/bin/festival --pipe';
And pass "SayText" commands like this,
In our previous episode, Florian Klaempfl said:
> > Funny... always these problems with C and bounds checkings
> >
> > http://www.theregister.co.uk/2009/05/15/microsoft_banishes_memcpy/
>
> I'll continue here because my remark is fpc related :) Maybe we should
> add something like move_s (taking
ABorka schrieb:
> Funny... always these problems with C and bounds checkings
>
> http://www.theregister.co.uk/2009/05/15/microsoft_banishes_memcpy/
I'll continue here because my remark is fpc related :) Maybe we should
add something like move_s (taking the destination size as well as the
memcpy_s
On 15 May 2009, at 21:19, ABorka wrote:
Funny... always these problems with C and bounds checkings
Please use the fpc-other list for remarks like this.
Jonas
FPC mailing lists admin
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http:
Funny... always these problems with C and bounds checkings
http://www.theregister.co.uk/2009/05/15/microsoft_banishes_memcpy/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
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
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
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
People, my problem was solved with the help of xsltproc in a Linux box where
one our services is running, and it works really good.
But it could be nice to have an Object Pascal version of the library, to be
able to do the same without needing to use an external program.
Leonardo M. Ramé
http
2009/5/14 Koenraad Lelong :
>
> My "big" logs are 1.6M per day, but they are about 5000 lines at the end
> of the day. Wouldn't it be a waste to read the last line of such a big
> file ?
> My last remark was about sending a signal via php (it does support
> sending signals) and then writing the des
On Fri, May 15, 2009 at 11:01 AM, Michael Van Canneyt >
> IMHO we should have the latter. We have a near-complete DOM implementation
> in native object pascal, we have XPath in native pascal. It seems only natural
> to have XSLT native as well...
That would be nice obviously, but it's not somethin
On Fri, 15 May 2009, Graeme Geldenhuys wrote:
> On Fri, May 15, 2009 at 8:43 AM, Michael Van Canneyt
> wrote:
> >
> > I think he meant a pascal version of the xsltproc program.
>
> Oh, my mistake.. xsltproc is just a frontend for the libxslt library.
> So you should be able to write a object p
On 15 May 2009, at 05:06,
wrote:
I am trying to call a C++ object which is in a dll from a Pascal
interface unit as described in Rudy's Delphi corner: (http://rvelthuis.de/articles/articles-cppobjs.html
). I use the inheritance method, making my C++ object a descendent
from a Virtual a
On Fri, May 15, 2009 at 8:43 AM, Michael Van Canneyt
wrote:
>
> I think he meant a pascal version of the xsltproc program.
Oh, my mistake.. xsltproc is just a frontend for the libxslt library.
So you should be able to write a object pascal program that talks to
the libxslt library directly (like
14 matches
Mail list logo