sh123 / esp32_loradv

ESP32 based Codec2/OPUS DV hobby UHF handheld transceiver aka walkie-talkie
GNU General Public License v2.0
37 stars 6 forks source link

question about specific use case - one way mic/audio transmission #6

Closed B-nutze-RR closed 1 year ago

B-nutze-RR commented 1 year ago

HI, i played around with the lora/codec2 projects and really enjoy to learn from it ! I ask myself it's possible to use 868/915 Mhz lora like the sx1276 and ESP32 to realize a one way audio transmission . I look for a way to transmit on board audio from FPV drones that use a digital video transmission at 5.8Ghz and a 868 lora based control link - I don't look for perfect representation of the onboard audio situation but for a "low latency" representation of the prop noise - rpm and the pitch level of the noise onboard would already be helpful. In general I want to use one firmware for the sending hardware and one for the receiving side - like ESP-c3 + I2c mic on one side and one with a headphone amp on the other side.

Would codec2 and 868 Mhz "one-way lora" be able to transmit the noise from a drone or is this type of sound chaos not working for that codec ?

Any idea how latency will behave with decreasing "link quality" in a constant one-way setup ?

THX !!

R2AirVlad commented 1 year ago

HI! I flying a lot on FPV drones, and cant imagine a practical matter about this idea. First - Codec2 is adopted for voice, it can't do any nouse transmit. Second - if you want to "hear you drone" - it possible to use your FPV video transmission with audio cannel. It possible via standard analog 5,8G transmitters or thru out DJI FPV system also.

sh123 commented 1 year ago

@B-nutze-RR , I do not have any experience with drones, cannot help much, but sending noise over Codec2 does not make much sense, because it is adopted for speech, in other words, it "cuts" non-speech from the spectrum, which might be needed for your purposes, you need to use some wide band audio codec or send raw PCM audio samples, which probably won't fit into the narrow band radio channel.

B-nutze-RR commented 1 year ago

@sh123 thanks for clarifying that - looks like missed that part on codec2.

It might have to work with telemetry data from the flight controller to emulate the "noise" i want. Things like motor RPM and certain PID values can work as audio indicator ( helpful for me personally).