New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] I2S Speaker Output #404
Comments
could you give a more specific use case for the speaker. |
Some Ideas
I know a few ideas could be classed as 1 but trying to give user cases. To be able to play sounds from sd card or stream to device, would be nice but both would be great. I know it could be difficult to implement. Think this would be a great next step into this project. Off Topic. |
I'll start with browser on mic enabled pc to send stream to esp32 telemetry.cpp intended as a user edit |
what pins are you using for for i2s on esp32s3 cam wroom? |
You can pretty much use any free pins for i2s |
i tried a couple but some of them not quite ideal. |
What is the pin map of your board. Sorry I don't have that board. |
Freenove ESP32-S3-WROOM CAM Board (Compatible with Arduino IDE), Onboard Camera Wireless, Python C Code, Detailed Tutorial, Example Projects https://amzn.asia/d/eibWUoQ |
Are you talking about microphone or speaker |
sry, microphone. i didn't think about using i2s as a speaker. maybe i reply in a wrong issue |
47,21,42,41,1,14 should be free pins according to pin map. Yes this a feature request for i2s speaker. Not issue about microphone, I have no issues with microphone that I have noticed |
the tricky thing is when i used pin14 it kept led on. idk why |
Wrong place for issue. Create a issue, if there is a issue with a selected board in appGlobals.h |
Implemented code in v9.7.1 to stream device microphone via browser to speaker on esp32. This works fine on my VoiceChanger app, but not on this app due to lag probably as too much else going on. The speaker code and notes is in audio.cpp |
For the life of me, I could not find the setting. Need to change appSpecific.cpp config going to submenu 9, not 3. Just found the issue, but there is no time to fix. |
Sorry, I did that to hide the parameters so it wouldn't confuse anyone else, in your copy change 9 to 3 |
Glad I worked it out lol, sorry not going to be able to test till about Sunday |
I had a quick go today. Sort of got it working through phone and pc, but the mic disconnects randomly and get this error message sometimes |
As before there is too much going on in the app to handle the input stream in a timely manner. May need a separate ESP32 dedicated to remote mic. I will be uploading the latest voicechanger app in a few days, could use that as a basis. |
Looking forward to trying the voicechanger app. Is there anyway to use the same serial clock and LR clock for both the mic and speaker like in this app esp32-walkie-talkie |
Voicechanger v1.3 uploaded. Clock pin can be shared if compatible, eg mic I2S SCK & amp I2S BCLK |
I'm not sure if this is a too far stretch for the great project, but I think having a speaker will would be great.
either play audio through upd or wav from sd card, then would be able to make this the perfect project for a door cam or surveillance cam with 2 way audio and telemetry
just a idea...
The text was updated successfully, but these errors were encountered: