Search found 3 matches

by tigerninjaman
Tue May 21, 2024 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Integration of Renpy & Pyspeech?
Replies: 11
Views: 1547

Re: Integration of Renpy & Pyspeech?

Would it work to sidestep renpy.input and have it entirely in python? Something like the below. Another way I saw was to run a local server and use python's socket to send stuff and receive responses outside of the script. define y = Character("you") init python: import speech_recognition ...
by tigerninjaman
Tue May 21, 2024 1:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Integration of Renpy & Pyspeech?
Replies: 11
Views: 1547

Re: Integration of Renpy & Pyspeech?

Perhaps something like that, giorgi - my thinking is basically to hijack `renpy.input` to ask the user to speak instead of type, then use ASR to generate a string based on the audio. Then the generated character response string would also be sent to TTS to generate audio. It looks like RenPyUtil mig...
by tigerninjaman
Mon May 13, 2024 9:33 am
Forum: Ren'Py Questions and Announcements
Topic: Integration of Renpy & Pyspeech?
Replies: 11
Views: 1547

Re: Integration of Renpy & Pyspeech?

Hi, apologies for resurrecting a decade-old thread, but this pops up when searching for renpy and ASR/TTS. Would there be a way, now that speech recognition programs in python are fairly good, to integrate something like python's SpeechRecognition into ren'py?