HISE Logo Forum
    • Categories
    • Register
    • Login

    I want to integrate JUCE dsp modules into HISE

    Scheduled Pinned Locked Moved C++ Development
    5 Posts 2 Posters 603 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.
    • StraticahS
      Straticah
      last edited by

      Hey i have a talented C++ programmer who is not yet familliar with HISE.

      I want to integrate some of our JUCE dsp modules into HISE (prefered inside scriptnode) if not possible as rack container.

      Which API/features can we use to integrate a C++ bridge?

      Is it correct that we need to compile the juce modules twice - static + dynamic(dll)

      How does the compilation work with C++ Nodes/Rack?

      Best Ju

      building user interfaces in HISE :)
      web: www.vst-design.com

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

        @Straticah If you are following the API from the juce::dsp::Processor classes then you can just use the wrapper I'm using to integrate the other juce::dsp effects into a scriptnode node.

        Link Preview Image
        HISE/hi_dsp_library/dsp_nodes/JuceNodes.h at d3f364f5c2832770a8bade634607e0f70b55f9df · christophhart/HISE

        The open source framework for sample based instruments - HISE/hi_dsp_library/dsp_nodes/JuceNodes.h at d3f364f5c2832770a8bade634607e0f70b55f9df · christophhart/HISE

        favicon

        GitHub (github.com)

        The compilation / development process usually involves compiling a DLL that only contains your custom effects that you hot plug into HISE during development and which gets included into the compilation of your final build at the end.

        StraticahS 2 Replies Last reply Reply Quote 1
        • StraticahS
          Straticah @Christoph Hart
          last edited by Straticah

          @Christoph-Hart Ok, so to confirm: We create a AdditionalSourceCode.cpp in the AdditionalSourceCode folder where we include "JUCE style" all the other cpp files we need to compile?

          How does the HISE-Editor pick up the changes, so we can use the new nodes?

          Edit: this path looks promising aswell but i am not sure \HISE-develop\hi_modules\nodes

          building user interfaces in HISE :)
          web: www.vst-design.com

          1 Reply Last reply Reply Quote 0
          • StraticahS
            Straticah @Christoph Hart
            last edited by Straticah

            @Christoph-Hart is there a documentation about this process? I wonder how and where HISE recognizes a custom node.

            Also, would it be possible to have a juce.dsp node with a compiler and code editor link like there is one for FAUST?

            building user interfaces in HISE :)
            web: www.vst-design.com

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

              @Straticah When you create a node template file using the file menu item, it will be picked up automatically by the exporter.

              There's no use for adding a code editor for the C++ file, just go in the IDE project of the dll and edit the C++ in Xcode / VS Studio:

              1. Create a C++ template file
              2. Export the DLL
              3. Open the project (in DspNetworks/Binaries/)
              4. Edit the C++ code, debug in Xcode / VS by attaching the debugger to your HISE build.

              Once you've set it up, the workflow is pretty similar to the usual workflow for C++ coders.

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

              59

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts