When I run a audio file with like mpg321 or aplay or sox or even in TTS's (Text to speak) audio only outputs correctly from the second time I reproduce the audio file...
per example in Text to speech: If write "Hello World!" it only speaks "orld" or if I write "you are a good boy" it only speaks "a good boy"... Why?
How can I fix this?
in TTS's this happens with all TTS: espeak, Google Api, VoiceRSS Api, etc... and happens in my old raspberry (Raspbian) too , not only in my Ubuntu (14.04.1 LTS)
I guess is because audio engine or something like that has a delay of 0.5 - 2 sec to start. And then skips the fisrt second or two of the audio.
And if I run the same audio twice or triple, etc , from the second time it runs well, but only if I am quickly...
I need it for Text to Speak.
Both Raspberry Pi and Ubuntu Machine are connected by HDMI.
How can I solve it? To speak all the words? And the audios from the begin of beginnings?