djipco / webmidi

Tame the Web MIDI API. Send and receive MIDI messages with ease. Control instruments with user-friendly functions (playNote, sendPitchBend, etc.). React to MIDI input with simple event listeners (noteon, pitchbend, controlchange, etc.).
Apache License 2.0
1.54k stars 116 forks source link

Add musical instruments to play music in realtime #33

Closed surikov closed 6 years ago

surikov commented 6 years ago

Add musical instruments from WebAudioFonts.

It includes samples from Fluid, General User GS etc. Pianos, guitars, Fx, about 2000 instruments and drums. See example at https://surikov.github.io/webaudiofont/examples/dynamic.html

djipco commented 6 years ago

Thanks for your suggestion. However, in the spirit of keeping the library well-focused, I think it's more appropriate for WebMidi.js to keep concentrating on what it does best: MIDI communication.

Your WebAudioFont project is very interesting and I'm sure it could be used alongside WebMidi.js. You have to remember that not everybody using WebMidi.js will need sounds. Most users actually just need to interface with other hardware and software.

Cheers!