Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced file download with streaming for sd card pipeline. #752 #915

Closed
wants to merge 7 commits into from

Conversation

kevvz
Copy link
Collaborator

@kevvz kevvz commented Sep 24, 2024

#752

  • On app open, if there is a nonzero amount of bytes remaining on your device, then you will Get a green popup saying that you have some amount of seconds of audio remaining to download.
  • Upon pressing the green tab, you will be taken to the sd card page, where there is a button that says 'click to download audio/memories'. It has a green progress bar and a warning stating that you should have good internet connection if yo want to download.
  • If you press the button, you will notice the green bar filling up and the percentage remaining increasing. This means that the storage bytes are being streamed successfully. If for any reason your internet disconnects, then the bar will stop progressing and you will need to repress the button to continue. The app will save how many bytes you have already streamed for in case you want to continue downloading.
  • If the backend doesn't receive data after the first packet for at least 10 seconds, the resulting audio file will be parsed. It uses VAD, then fat whisper to partition the audio file and processes them separately into memories (it is also flagged as storage. Each separate file is also saved in some backend.
  • Assuming a valid memory is created, the user will get a notification upon the backend finishing the parsing. If the user presses it, then the memory will automatically appear. It also works if you just go to the memory screen.

@kevvz kevvz marked this pull request as ready for review September 24, 2024 05:50
@josancamon19
Copy link
Contributor

Requested changes

@kevvz
Copy link
Collaborator Author

kevvz commented Sep 27, 2024

need to rebase

@kevvz kevvz closed this Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants