HISE Logo Forum
    • Categories
    • Register
    • Login

    C++ in Hise, general question

    Scheduled Pinned Locked Moved General Questions
    3 Posts 3 Posters 338 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.
    • B
      Ben Catman
      last edited by

      Hi all,

      thanxs to your great help , i am growing more and more on HISE. Still there are quite a few questions that i have. One BIG question is, where to start if i want to script my own compressor like in JUCE? I know this is a very general question , call me stupid, but i simply dont get where to code my dsp in HISE? I can script things like buttons, automations of effects and so on, but i dont get it where i can code in c++ ? Can you guys please point me in the right direction? Maybe you could give me a simple example ?

      Thank you soooo much

      cheers

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by d.healey

        https://docs.hise.audio/cpp_api/index.html
        https://docs.hise.audio/scriptnode/index.html

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          If you just want to write a custom DSP module, your best bet is to create a C++ template for a node and then hotload the DLL with your custom C++ code into HISE. This will create a dummy template file with all callbacks that you then can use to implement your actual code.

          1. File -> Create C++ Third party node template
          2. Export -> Compile DSP networks (make sure it includes the node you've created in step 1 in the list)
          3. Open the DLL IDE project found in DspNetworks/Binaries/Builds, and run HISE in the debugger
          4. Add a hardcoded FX module where you load your DSP module

          Once you've set it up it becomes a pretty lean development workflow where you can attach your IDE to HISE.

          Besides this there are other ways to use C++ in HISE (or HISE in C++), you can create a custom C++ UI object within a HISE interface or create the entire project in C++ and use HISE as a C++ addition to JUCE. There are examples in the HISE tutorial repositories for both use cases, but chances are great that they don't work anymore :)

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

          35

          Online

          1.7k

          Users

          11.8k

          Topics

          102.7k

          Posts