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

[Docs] How to grab the music. #24

Open
carlsmith opened this issue Oct 15, 2018 · 2 comments
Open

[Docs] How to grab the music. #24

carlsmith opened this issue Oct 15, 2018 · 2 comments

Comments

@carlsmith
Copy link

The docs explain how to modulate the audio really well, but it's not clear what sources we can use or how to access them.

I'm figuring things out from the demo, but it would be helpful to have a section in the docs explaining how to access the mic and buffers.

@adamfr33man
Copy link

Might be worth writing up what you've found out when your done @carlsmith, I'm sure the author would appreciate a pull request :)

@dashersw
Copy link
Owner

dashersw commented Oct 15, 2018

Hello! In the example, we use the StreamInput class, which takes in whatever line-in method there is available in the browser. It basically uses navigator.getUserMedia. There's also a FileInput class which lets you use a sound file as a source, so you can play back recordings. The input/output classes are available in the io folder.

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

3 participants