11.07.2016, 17:26
Quote:
Very possible!
https://pypi.python.org/pypi/gTTS + https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer You'd either have to write a C++ plugin to do the TTS part, use the exec plugin to run a Python script that uses gTTS or wait for Pawpy to be linux-ready. Then it's just a case of generating an .mp3 of the text-to-speech and returning the filename back to Pawn once it's ready so it can be played with PlayAudioStreamForPlayer (of course you'd need a webserver running on the machine too so the file can be served to players). |
Ill do some research on that method as im new to all that stuff (Making plugin,TTS,Pawpy,exec)