Closed YeonV closed 2 years ago
This will be possible, I have already been able to connect microphone or guitar audio using an audio interface, but have not included it in the project yet.
it does work broo :)
@YeonV can you open pull request with the change?
@michalochman I only had a play around with it. changed ui and some small stuff, added keyboard control, added self-ported aubio, added dummy nodes, still to be filled. i have very little skills in typscript and did all a bit noobish. i think my code quality is too bad for a pull request. I invited you to my repo and maybe you see something useful and can take it out and include it with proper coding?
repo is privat until its a bit less noobish and i get your approvement, but everything i did is for all ofc.
notes:
after clicking one piano-key with the mouse, you can play with your keyboard: asdfghjklö
are the white keys.
i create a dummy node: aubio. Maybe you have a tip, how to properly integrate it?: https://github.com/qiuxiang/aubiojs
Hi @YeonV, I've added support for input devices in #16.
I have just noticed that you have figured out how to access output devices so I'll try that as well. Thanks for that!
Ah, now I see that different output devices are actually not implemented :(
AudioContext.createMediaStreamDestination() takes no arguments, so it looks like it is indeed not possible to do right now.
Add Audio-Input as Source-Node.
So people can use Microphone (or steromix/loopback)
you can set/request for the correct input device like this: