I am trying to run flite TTS for a project, and I encountering an issue where there's no output sound when I run this command.
flite -t hello
But, when I run this command, it creates a .wav file and I can play it.
flite -t hello -o hello.wav
I managed to compile with the correct libraries and downloaded the required voice files {source code} so there are no issues there, and after looking in Stackoverflow I found a few questions posted about this{link}, but none of them works with mine. Also, I tried running the sample C code given in the flite's documentation {doc}, but that doesn't produce any output speech either.
//extracted from the sample code
flite_file_to_speech(argv[1],v,"play");
Could anyone suggest me a way to generate the speech with flite, without creating a .wav file?