BasedHardware / omi

AI wearables
https://omi.me
MIT License
3.54k stars 396 forks source link

Store raw audio recordings #433

Closed ErikBjare closed 3 weeks ago

ErikBjare commented 2 months ago

Is your feature request related to a problem? Please describe.

Transcription/diarization isn't perfect. Many analysis methods require raw audio.

It'd be great if we could choose (opt-in) to store raw recordings, in order to allow for post-hoc:

Describe the solution you'd like

I'd like an option in the settings where the users can choose to store raw recordings locally. Preferably stored directly in a folder (so that the user can choose to sync it with e.g. Syncthing), or in app storage with option to export.

If this is considered too much of a "power user" feature, it could be stashed away in the developer settings.

I'd be happy to contribute this feature, I just need to get acquainted with Flutter first.

Edit: I went through the code and found Memory.recordingFilePath. Perhaps this simply be exposed to the user? Although its limited occurrences in the codebase seems to suggest it's unused?

Describe alternatives you've considered

Additional context

I've long thought about the general problem of tracking your context (ActivityWatch and related work). During development, I realized that it was important to store data as it was observed, and leave aggregation/analysis to a later step to avoid information loss. We outlined this very early on as the core tenet of our "Data philosophy". I'd humbly suggest Friend considers a similar approach.

josancamon19 commented 3 weeks ago

Hi @ErikBjare latest app version can store the recordings, unfortunately we can't allow users to check them later. If you host your own backend, you wouldn't need to modify the code or anything, just to deploy it.

ErikBjare commented 2 weeks ago

@josancamon19 Thanks, I'll have a look :)