Closed GL24TZ closed 6 months ago
Hi, I'm glad you like my project : ) Both the demo (spessasus.github.io/SpessaSynth) and the local (node.js) allow you to use your MIDI devices. You need to allow MIDI device access in the browser (it should automatically prompt you when you first load the website) and then open Spessasynth settings and select your MIDI keyboard as the MIDI input in the MIDI Settings section. If it doesn't show up, restart your browser. Once you've select your keyboard, spessasynth should respond to it.
Thank you for your very quick response! I tried your app and it works! What I really want is to use SpessaSynth without having to use Node.js; I would be interested in using SF2 with my MIDI keyboard directly. Congratulations on your work
I'm not sure if I understood. Spessasynth does not use Node.js. it only serves as a simple http server for the local version. It could be any other http server like XAMPP for example.
If you want to use this without installing Node.js, you can simply visit the demo website and you can use the MIDI keyboard from there as I described in the previous response. Simply upload your SF2 and connect the keyboard and you're good to go!
However if you meant using the SpessaSynth JavaScript library via your own code, you need to obtain the MIDI input via Web MIDI API and then simply connect the onmessage event to the .send() method of the Spessasynth, as described in the wiki.
I hope this helps.
Closing due to inactivity.
Hello, I've tried it and it's fantastic! Is it possible to use this library to trigger SF2 with my MIDI keyboard without Node.js?