You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a basic sketch, that either plays audio.connecttohost(); or audio.openai_speech();
While it plays sound from host streams just fine, it remains silent when requesting the TTS response.
I get the 'AUDIO_INFO' feedback "audio_info: SSL has been established in 594 ms, free Heap: 134904 bytes", nothing plays.
The API key is fine, when I run a local CURL request with the API key I get a mp3 file as response.
Any pointers what could be wrong ?
The text was updated successfully, but these errors were encountered:
I encountered a similar experience in the last two days. I had recently updated the library to Version: 3.0.13x (Updated on: Dec 01.2024).
Connecttohost() plays fine, however, audio.openai_speech() remains silent after returning TRUE.
I managed to get it working somehow after tinkering with the sequence of commands/statements. But this only got rid of the problem temporarily, because, after multiple request/chats/query, the problem seems return until I restart the chip.
Try the following:
Create a separate task to initialize and loop through audio.loop();
Run the new task on core 1 and assign it a priority of 2 - 3, you can use stack size between 8192 or 10240 bytes.
In the new task, call the Audio Lib functions in this sequence
I created a basic sketch, that either plays audio.connecttohost(); or audio.openai_speech();
While it plays sound from host streams just fine, it remains silent when requesting the TTS response.
I get the 'AUDIO_INFO' feedback "audio_info: SSL has been established in 594 ms, free Heap: 134904 bytes", nothing plays.
The API key is fine, when I run a local CURL request with the API key I get a mp3 file as response.
Any pointers what could be wrong ?
The text was updated successfully, but these errors were encountered: