OpenAi and TTS

Beja

Expert
Licensed User
Longtime User
Hi,
Thanks to Erel for the Voice Reco example..
A few days ago I asked chatgpt to write chatgpt-like project in B4A.. it did, and after getting OpenAI API KEY, and a few changes, we were able to have it working.
So far so good!
Next I wanted to enter the rompt by voice instead of typing it and added Erel's VR TTS example. With the help of a friend, it worked!
Unfortunately it didn't work except for English only.
If someone is familiar with both (OpenAi andvTTS) then please pm me.
 

Beja

Expert
Licensed User
Longtime User
You just need to install the speech engine for the language you need on your device.

I think the issue with the code, because Erel's example is working (Standalone) with all languages including chinese if you enabled them in the code
B4X:
        Dim lg As String
        lg = "Chinese,ch"
 
Top