omi icon indicating copy to clipboard operation
omi copied to clipboard

Build audio player functionality on memory detail ($400)

Open josancamon19 opened this issue 1 year ago • 7 comments

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.

  • Play pause buttons
  • +15 -15 seconds increments
  • Playback speed options
  • Wave component based on audio with current second playing line that drags and drop to the second.

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.

josancamon19 avatar Jun 30 '24 02:06 josancamon19

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

SHAH-JI avatar Jun 30 '24 06:06 SHAH-JI

to @josancamon19 Can you please assign this to me?

SHAH-JI avatar Jun 30 '24 08:06 SHAH-JI

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

josancamon19 avatar Jun 30 '24 19:06 josancamon19

to @josancamon19 Can you please assign this to me?

Washyl avatar Jul 02 '24 12:07 Washyl

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

SHAH-JI avatar Jul 02 '24 16:07 SHAH-JI

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

Abhisheksainii avatar Aug 08 '24 18:08 Abhisheksainii

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

Agrim2112 avatar Aug 12 '24 19:08 Agrim2112

Maybe will reopen in the future.

josancamon19 avatar Sep 02 '24 20:09 josancamon19