Using Bluetooth speakers #14
-
Hi. I want to use the espeak project with Bluetooth. Reading the Audio Tools project, I think it is possible. But can anyone suggest me the proper code for that? I am using ESP32 WROOM 32 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
You can e.g. use an A2DPStream as output class |
Beta Was this translation helpful? Give feedback.
-
Can you please suggest the lines I have to change? |
Beta Was this translation helpful? Give feedback.
-
Have a look at this example and just change the TTS implementation |
Beta Was this translation helpful? Give feedback.
-
Sir, will this code work? I am not able to run my computer for some temp issues. const char* name = "LEXON MINO L"; AudioInfo from(22050, 1, 16); A2DPStream a2dp; void setup() { void loop() { |
Beta Was this translation helpful? Give feedback.
-
No, you need to send the output from the espeak to out and not a2dp! |
Beta Was this translation helpful? Give feedback.
-
#include "AudioTools.h" const char* name = "LEXON MINO L"; AudioInfo from(22050, 1, 16); A2DPStream a2dp; void setup() { void loop() { |
Beta Was this translation helpful? Give feedback.
You can e.g. use an A2DPStream as output class