Re: Proposed Extension: Flite (a small, fast run time synthesis engine)

From: Date: Mon, 30 Jan 2006 07:28:11 +0000
Subject: Re: Proposed Extension: Flite (a small, fast run time synthesis engine)
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3463@lists.php.net to get a copy of this message
On 1/29/06, Sara Golemon <pollita@php.net> wrote: > #1 Okay, not a problem, just something worth mentioning.... The "FETCHBOX" > nomenclature I used in Runkit_Sandbox was just an ohmage to the fact it was Agreed and duly changed! > #2 Only a zend_obj worth of data is being allocated for this object, you > need to overrid the create_object method in the zce for your flitetts object > it order to allocate the additional room for the voice_ptr pointer, not to > mention create a matching object_dtor method to clean up voice_ptr later on. Per point #3, I am not sure this is as important as before, but could you go ahead and provide the simple code snippet as I think this would be VERY useful to fully and correctly understand for another project I am working on. > #3 After taking another look at the way this ext (and the library) works, I > wonder if it makes sense to store the voice in an object at all. Looks like > you could keep a single instance of a flite-voice in a global (or at least > thread-global) variable and let all wav generation use that common voice > object. Though maybe I missed something there... You're probably right. I think I might persue that route then for this extension. -- --------------------------- Jeremy Johnstone http://www.jeremyjohnstone.com jsjohnst@php.net

« previous php.pecl.dev (#3463) next »