-
-
Notifications
You must be signed in to change notification settings - Fork 3
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: Audio Support #5
Comments
I tried ring intercom last year, it worked but the audio quality was very bad with a high frequent beep in the background. |
Might it be possible to "debug" what the ring intercom does, when enabling audio and reverse engineer it? Especially as it is available pretty cheap right now. But as I have it here already and will get a doorman soon, I might be able to support on this. |
Mhh I'm just not sure how to debug it. Let me know when u find out anything new :) |
It seems like it's possible to compile libopus for the esp32 (see for example https://github.com/XasWorks/esp-libopus). One could feed it from an ADC, maybe one of these: https://github.com/pschatzmann/arduino-audio-tools/wiki/External-ADC |
The audio stream is somewhat modulated on the DC but I'm not sure, I couldn't measure any AC. We just need a way to extract the data. |
Disclaimer: I have no idea what I'm talking about I think what's need is an op-amp to measure the difference between the audio signal and the 22v baseline, and then amplify it to the range that the ADC wants (usually 5v or so?). See "difference amplifier" here https://forum.arduino.cc/t/using-operational-amplifiers-in-your-arduino-project/692648/4 |
It would be a nice addition to add audio support to the board and firmware as well.
If you have any knowledge about audio processing or ideas how to send audio on the bus, feel free to share your ideas here.
I've been able to enable and disable the audio mode already but now we need to process the data somehow as a first step.
Streaming an audio file via Homeassistant to the bus would be nice as well.
Or maybe even live audio streaming.
The text was updated successfully, but these errors were encountered: