Re: Proposed Extension: Flite (a small, fast run time synthesis engine)
| From: | Sara Golemon | Date: | Tue, 24 Jan 2006 00:38:20 +0000 |
| Subject: | Re: Proposed Extension: Flite (a small, fast run time synthesis engine) | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3437@lists.php.net to get a copy of this message | ||
> It's now in CVS. Please feel free to forward your
> comments /complaints / feature requests on through.
>
Just a couple comments:
1) __construct() should have ZEND_ACC_CTOR in its flags field.
2) Speaking of __construct(), you could save some memory/cpu by storing your
resource in an extended zend_object struct using an overrided object_ctor
method and tossing out __construct() since you don't need any parameters
anyway.
3) A save_to_file() method would seem appropriate
4) Are there other voices? Is there a way (planned) to change them?
5) It'd be handy to be able to fetch metadata about the wave (num channels,
samples per second, etc...) Are the samples always a particular format?
(16bit, signed/unsigned, big/little endian)
6) Would you like some exports in oggvorbis so that TTS data can be pumped
striaght into an ogg/vorbis output file?
-Sara