#4

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
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).
Thanks!
Ill do some research on that method as im new to all that stuff (Making plugin,TTS,Pawpy,exec)
Reply


Messages In This Thread
Idea - by K0P - 11.07.2016, 10:45
Re: Idea - by Arastair - 11.07.2016, 13:59
Re: Idea - by vikoo - 11.07.2016, 14:03
Re: Idea - by K0P - 11.07.2016, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)