TextToSpeech library
Posted: Sat Nov 11, 2023 8:09 pm
I very often find myself needing to output a message in my application, not on the screen. It would be amazing if we could have a library that wraps all the platform-specific text-to-speech APIs (SAPI 5 and maybe OneCore on Windows, AVSpeechSynthesizer and NSSpeechSynthesizer for macOS, and maybe Espeak or Speechd for Linux) into an easy-to-use interface.
There was a PureLibrary to do this in the PB 4.x days (I think it was called either PureSpeech or PureTTS), but I haven't been able to find it and it was Windows only as far as I know.
This could even be ported to SpiderBasic, taking advantage of the native TTS facilities on the web, iOS and Android.
I probably have more of a use for this than the average user given that I'm blind and speech is my main way of receiving information, but I think it would be useful for everyone
There was a PureLibrary to do this in the PB 4.x days (I think it was called either PureSpeech or PureTTS), but I haven't been able to find it and it was Windows only as far as I know.
This could even be ported to SpiderBasic, taking advantage of the native TTS facilities on the web, iOS and Android.
I probably have more of a use for this than the average user given that I'm blind and speech is my main way of receiving information, but I think it would be useful for everyone
