BasedHardware / omi

AI wearables
https://omi.me
MIT License
3.67k stars 471 forks source link

Build audio player functionality on memory detail ($400) #381

Closed josancamon19 closed 2 months ago

josancamon19 commented 4 months ago

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

I want to be able to play the audio recordings on the app, with the same functionality as shown on the video, with a very similar UI but matching our styles.

https://github.com/BasedHardware/Friend/assets/18078879/bf9609c9-c437-4da2-bc91-bd5f09eabe2e

https://github.com/BasedHardware/Friend/assets/18078879/48f446a7-5103-4b5e-9f74-5c70eb127c31

Describe the solution you'd like Make sure memories.dart Future<Memory> finalizeMemoryRecord( stores the recordingAudioPath as it should. Implement the feature explained above. Handle edge cases where the audio file is not found. Make sure app lifecycle states are managed, and that audios don't keep playing when they don't have to. UI should be very similar / same, with our colors.

Note:

In case the audio file is a hosted URL from like google cloud, this should still work. Check storage.dart. There should be an option in settings to remove all audio files data stored locally, like cleaning, with a confirmation action, in case the app is occupying too much for this files, it should show the amount of Gb is occupying.

SHAH-JI commented 4 months ago

to @josancamon19 You require an Audio Player only, Transcript and Summary are not included, right?

SHAH-JI commented 4 months ago

to @josancamon19 Can you please assign this to me?

josancamon19 commented 4 months ago

@SHAH-JI correct, is the audio player, with the exact same functionality as shown in the video.

Washyl commented 4 months ago

to @josancamon19 Can you please assign this to me?

SHAH-JI commented 4 months ago

to @josancamon19 For the AudioPlayer, here is a initial implementation with sample audio files. Please check and let me know if there are any changes to be made. PR: https://github.com/BasedHardware/Friend/pull/399

Abhisheksainii commented 3 months ago

@josancamon19 I would like to work on this feature. Can it be assigned?

Agrim2112 commented 3 months ago

@josancamon19 I would like to implement this feature, can this be assigned to me?

josancamon19 commented 2 months ago

Maybe will reopen in the future.