transmitter on ESP32 board #1721
-
Hello! I was directed to your library by ChatGPT. I’m not very knowledgeable about Bluetooth and sound conversion, as I specialize more in smart homes (Home Assistant). I have a 5.1 home audio system, but I can’t run wires to the rear speakers, so I wanted to transmit sound wirelessly. Using TWS Bluetooth modules and batteries, I converted the rear speakers to wireless. I bought several transmitters to send the sound to them, but the problem is that the first transmitter only transmitted mono sound, and the second one gave stereo sound but with a very large delay. ChatGPT suggested building a custom transmitter based on an ESP32 board and using your library. Is it possible to simply take an analog signal (from a standard 3.5mm jack) and send it via Bluetooth to the rear speakers? ChatGPT suggested the following code:
I have serious doubts about the correctness of such signal conversion from analog to digital. It seems that ChatGPT made a significant mistake here. If such conversion is not possible, could you suggest a few ideas on how to transmit sound wirelessly to the speakers? It doesn’t necessarily have to be Bluetooth. I’m willing to modify the speakers to use a different type of data reception. The sound quality doesn’t need to be high, as the rear speakers are mainly for creating surround sound and effects. In this case, the most important thing is low latency. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Don't trust ChatGPT, it is ususlly just hallucinating solutions that won't work: the issue with the code is
As a starrting point read the Wiki of this project to get an introduction into Audio and the hardware section. The communications examples provide plenty of alternarives |
Beta Was this translation helpful? Give feedback.
Don't trust ChatGPT, it is ususlly just hallucinating solutions that won't work: the issue with the code is
As a starrting point read the Wiki of this project to get an introduction into Audio and the hardware section.
The communications examples provide plenty of alternarives
Transmitting Bluetooth has quite some lag and I would not recommend it if you are a beginner since it is quite tricky and you can't use A2DP and WIFI toghether.