Webview Midi Mac
-
So I have been working on a Webview GUI (I know React well so it makes my life easier) however I have hit a snag. It appears that the embedded webview on Mac uses Safari and Safari doesn't support the Midi protocol meaning no Midi control of knobs.
I could possibly create a work around by passing Midi info from Hise back to the webView but was wondering if there was any other way to do this?
-
Update!
I worked it out without using WebViews Midi.
It was as simple as calling a javascript function from onController.function onController() { WebView1.callFunction("updateCC", { "cc":Message.getControllerNumber(), "value": Message.getControllerValue() }); }