HISE Logo Forum
    • Categories
    • Register
    • Login

    Webview Midi Mac

    Scheduled Pinned Locked Moved General Questions
    2 Posts 1 Posters 92 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      VeryHuman
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • V
        VeryHuman
        last edited by

        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()
        	});
        }
         
        
        1 Reply Last reply Reply Quote 2
        • First post
          Last post

        22

        Online

        1.7k

        Users

        11.8k

        Topics

        103.1k

        Posts