Explorerlowi

Results 7 comments of Explorerlowi

The content returned by Doubao TTS request is not directly a binary audio stream. Its audio data is stored in the data field of a json structure. It is base64...

bool Audio2::connectToDoubaoTTS(const char *text) { xSemaphoreTakeRecursive(mutex_audio, portMAX_DELAY); setDefaults(); const char *host = "openspeech.bytedance.com"; const char *api_url = "/api/v1/tts"; const char *appid = "82505*****"; const char *access_token = "WZCBgLbSd-ltw5gDeKvEYX9M******"; const char...

Can you teach me how to parse and play the returned audio stream after sending an http(s) request to TTS? For example, which functions will work after the content is...

> Right after changing the `disabled` prop of a `PanelResizeHandle` from true to false, the `data-resize-handle-state` doesn't update on hover.在将一个 `PanelResizeHandle` 的 `disabled` 属性从 true 改为 false 后,鼠标悬停时 `data-resize-handle-state` 不会更新。...

You should use connecttoFS to play mp3 files in spiffs

Sorry, this is the function, but it has some errors. It is very large in the early stage of the song, about tens of seconds, and gradually decreases as the...

Thanks for your answer. I have a new problem now. I often encounter the following problem when playing music from the SD card: `audio_info: MP3 decode error -6: INVALID_FRAMEHEADER` This...