-
Notifications
You must be signed in to change notification settings - Fork 110
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
feat: show progress of the audio extraction #45
feat: show progress of the audio extraction #45
Conversation
364f11c
to
bdcc658
Compare
bdcc658
to
220f7cb
Compare
Wow Devin, this is super helpful! Thanks for getting involved in StemRoller development. I'll try to get this (and your previous PR) tested and merged into |
d2773ee
to
6240a7c
Compare
@devinburnette I went ahead and merged this into |
@iffyloop okay! I took a stab at that over here in a separate PR against main. Let me know if this is more aligned with what you were thinking. If so, it wasn't all that troublesome to refactor. |
* support mp3 file format for resulting stems (#44) * feat: show progress of the audio extraction (#45) * show progress of the audio extraction * refactor it a little by using the parent components instead to fix mem leak * feat: real time progress updates / refactor (#47) * first refactor status to be an object * pass progress through with the status object to processQueueCard * also pass progress through to the resultCard * add quantity also * fix done step * fix indentation and spacing --------- Co-authored-by: iffyloop <[email protected]> * Minor fixes * Fix RegEx and progress display * Update NPM dependencies * Remove unused exports * Revert initial progress update implementation * Rename quantity -> stemIdx --------- Co-authored-by: Devin Burnette <[email protected]>
I decided to take a stab at #8 also. This one proved to be a bit tougher. I can understand if there's a certain part of the code you want to refactor a bit, but figured this was a good enough starting point. Happy to talk through any changes you'd like to make.
I wasn't sure what looked better, just doing the processQueueCard or the ResultCard or both. So I did both.
I didn't include the instrumental as one of the total outputs in the progress output since it's not generated by demucs and ffmpeg does it super fast.
Screenshot included below: