BasedHardware / Friend

AI wearable necklace
https://basedhardware.com
MIT License
1.95k stars 205 forks source link

Migrate firmware to stream from PCM to OPUS #317

Open josancamon19 opened 1 week ago

josancamon19 commented 1 week ago

Is your feature request related to a problem? Please describe. Better audio quality, less bandwitdh.

Describe the solution you'd like Firmware should stream audio bytes using Opus codec, and the mobile app should receive those bytes properly modifying respectively on transcript.dart to handle that, do the .

Describe alternatives you've considered uLaw vs Opus, I don't know which one is better, from what I've been suggested Opus, but lmk if you think differently.

diegoasua commented 1 week ago

The other way. PCM to Opus. Can't change title

ebariaux commented 3 days ago

Last update on my current status I posted on Discord around that topic:

ebariaux commented 3 days ago

And in case somebody wants to test with Opus, changes required in the firmware are: