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

Use audio stream as an audio input in ml5.js #1416

Closed
Windows-10-8 opened this issue Jun 19, 2022 · 1 comment
Closed

Use audio stream as an audio input in ml5.js #1416

Windows-10-8 opened this issue Jun 19, 2022 · 1 comment

Comments

@Windows-10-8
Copy link

I need to use ml5.js for recognition of an audio to detect if the voice is from an animal (like bark or meow) or a background noise. Everything works, but I would like to know if is possible to use an audio instead of granting microphone access and try to listen to the audio and detect. I've looked in ml5 docs but I didn't find nothing. I've tried to look in ml5 source too but I didn't find nothing.

If someone has a solution, please let me know by sending me a doc.

Thanks.

Setrio

@sproutleaf
Copy link
Contributor

Hi Setrio,

Thank you for opening an issue with us and we apologize for taking a long time to get back to you! Currently, ml5's SoundClassification does not support audio importing.

We're working on a new version of ml5.js in https://github.com/ml5js/ml5-next-gen/, and I've added this issue to a top-level issue for all soundClassification feature requests there. Please subscribe to the issue if you're interested in the progress of audio importing (it's not prioritized as of summer 2023), and I'll close this issue for now.

Thanks again!
Miaoye

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

2 participants