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

#752 SD Card Streaming #933

Merged
merged 4 commits into from
Sep 30, 2024
Merged

Conversation

kevvz
Copy link
Collaborator

@kevvz kevvz commented Sep 28, 2024

#752
Rebase of earlier PR

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 28, 2024 00:06
@josancamon19 josancamon19 merged commit 2ab47c4 into BasedHardware:main Sep 30, 2024
1 check passed
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