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

Input from memory for tagger #9

Open
inspiralpatterns opened this issue Jun 5, 2020 · 0 comments
Open

Input from memory for tagger #9

inspiralpatterns opened this issue Jun 5, 2020 · 0 comments

Comments

@inspiralpatterns
Copy link

It could be nice to have the option to use a file-like as input audio file for the tagger - or more broadly, a file from memory.
I see this particularly applicable in a case where audio files have to be disposed after auto tagging, i.e. the service lives in the cloud with limited resources. Python tempfile.TemporaryFile() would be the best option to use given such scenario.

Librosa docs suggest to use directly soundfile library and then resample to achieve the same effect as librosa.load().

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

No branches or pull requests

1 participant