
Or use the Speech::Swift library directly, for a more low-level interface. My $wav = $s->generate("My name is allison") # synthesize the text, and return it as a Speech::Swift::Simple::Wav object # create a new Speech::Swift::Simple with one channel audio, and 16bit encoding.Įncoding => Speech::Swift::AUDIO_ENCODING_PCM16 The reason for two releases, is that the Speech::Swift module exports all (well, almost all) the underlying functions of the libswift.so library, while Speech::Swift::Simple has a simplified interface to generate speech in a just a few function calls. The libswift shared library is required to support this code, which is included with every voice downloaded from Cepstral.


Speech::Swift::Simple – a simplified interface to Speech::Swift Speech::Swift – a PERL interface to the Cepstral text-to-speech engine, Swift.
