HISE Logo Forum
    • Categories
    • Register
    • Login

    Mid device post 2

    Scheduled Pinned Locked Moved ScriptNode
    6 Posts 2 Posters 270 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.
    • J
      jdurnil
      last edited by

      I have a standalone app I’m creating whose main functions are to act as a udp server for communicating an ip broadcast and getting the ip address of a mixed reality app I am writing running on the network in a oculus headset. It also creates some osc endpoints as well as creating a virtual midi device on the system(Mac only). I have this all written and working in a standalone JUCE app. My question is if I were to port this over to HISE(is it even possible) where would I put my custom c++. I have a header file and cpp for the udp functions. I can probably do all I need to do in a 3rd party script node I just need access to that udp stuff. The reasoning for all this is I am ok with JUCE and c++ but i am clueless about creating a ui in my c++ code and would rather use HISE to do it.

      1 Reply Last reply Reply Quote 0
      • J
        jdurnil
        last edited by

        Could I put the header and cpp file under src/ in 3rd party folder and just reference from my third party node code?

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @jdurnil
          last edited by

          @jdurnil Yes that should work. Be aware of the lifetime of the class that wraps the third party node - it will be created and destroyed when you select the node in the hardcoded master fx drop down.

          Another option would be writing a custom C++ UI component with an external floating tile, but then it would exist if the plugin interface is open which might not be what you're after.

          Link Preview Image
          hise_tutorial/ExternalFloatingTileTest at master · christophhart/hise_tutorial

          The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

          favicon

          GitHub (github.com)

          I haven't compiled this in a while, let me know if it's broken :)

          J 1 Reply Last reply Reply Quote 0
          • J
            jdurnil @Christoph Hart
            last edited by

            @Christoph-Hart thank you for your response. So we are talking lifecycle when creating in HISE or lifecycle when the compiled instance is running, wouldn’t it maintain existence so it could continue running process(). I’m very new and I don’t understand the need for hardcoded fx. I’m running this compiled in a regular script fx dsp network. Should I not be doing that?

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @jdurnil
              last edited by

              @jdurnil If you need to run in in a network to modulate other nodes or combine it in a more complex signal chain you can do so, but the hardcoded FX removes the overhead of the script FX module if you just want to run your third party node.

              1 Reply Last reply Reply Quote 0
              • J
                jdurnil
                last edited by

                I actually want to run it inside a dsp network linked with other available nodes in HISE

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                12

                Online

                1.7k

                Users

                11.8k

                Topics

                103.2k

                Posts