I have finished creating a wrapper for ESpeak, a free and open source speech synthesizer.
Features include speak on a selected audio device, into a wave file, or even a PureBasic sound object. Change speed, volume, pitch, word gap, voice, add variants.
Info and the download link: http://erion.tdrealms.com/software/pb/purespeak
Sample:
Code: Select all
initspeak(".") ;Initialize ESpeak. Use a full datapath, or . for current directory.
speaktext("Hello, world! This is ESpeak from PureBasic!") ;speak some text. 2nd parameter can be path/filename.
delay(5000) ;wait 5 secs
closeSpeak() ;free up resources
Cheers,
Erion