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

Attach MediaStream to returned Stream from recognizeFile/recognizeMicrophone #100

Closed
jeff-arn opened this issue Jan 15, 2019 · 10 comments
Closed

Comments

@jeff-arn
Copy link
Contributor

jeff-arn commented Jan 15, 2019

Package version: 0.35.4

Currently, when calling recognizeFile or recognizeMicrophone, multiple child streams are returned within the response. It would really handy to have a MediaStream returned as well, for people who want to do things like visualization or any audio manipulation.

@germanattanasio
Copy link
Contributor

Thanks a lot for filing this issue! Would you like to write a PR for this? I'd be more than happy to walk you through the steps involved.

@germanattanasio
Copy link
Contributor

@nevrologica Thanks for your research. Would you be willing to write a PR with a simple example?

I tried xbalance.gr/brainy and it works in Chrome. The waveform looks nice.
I have been thinking that a polyfill may catch some of the cross-browser issues we have.
Sadly, I don't have time to do the research

@germanattanasio
Copy link
Contributor

I added the example that @nevrologica wrote as part of #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants
@germanattanasio @jeff-arn and others