Lots of TTS examples, what about Speech to Text? #1269
-
I see a lot of examples of text-to-speech implementations, however I was wondering if anyone had experience implementing speech-to-text using this library and a API like the Azure Speech Service. As for my specific hardware, I'm trying to use a I2S microphone and an esp32 with WiFi |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I have never tried, but I don't see any reason why this should not work... |
Beta Was this translation helpful? Give feedback.
-
Sure: have a look at the HttpRequest class |
Beta Was this translation helpful? Give feedback.
-
Great thread, thank you both!. @MaxMaeder : that's exactly what i am missing to my use case too!. Background (standalone ESP32 OpenAI chatbot): I'm also using an ESP32 wifi connected (Arduino IDE) .. entering a user input via Serial .. sending as request to OpenAI API (POST message) and receiving and printing out show response. Meanwhile also implemented a Open AI Text-To-Speech (works great, using schreibfaul1 audio.openai_speech()), so i can listen to the AI answer via I2S amplifier (MAX98357) .... I might not have the skills for implementing the STT by myself :| (even with @pschatzmann great link) .. so i cross my finger you can have progress to share ? :) What i wished is something like (any code snippets welcome!), using @pschatzmann's library:
I would love most this STT API from Open AI), or alternativelly Deepgram, both seem very powerful, not expensive, multi languages detection, and most user (me included) have an account already, so no complex Azure registration or costs needed. But i accept any vendor (e.g. Azure), as i currently have no STT idea at all. @MaxMaeder : do you think you can share some first code examples how to call such an SST API (with pschatzmann help above) ? |
Beta Was this translation helpful? Give feedback.
-
I made a little Assistant demo: uses Azure SST/TTS + OpenAI API. |
Beta Was this translation helpful? Give feedback.
Sure: have a look at the HttpRequest class