Forum
    • Categories
    • Register
    • Login

    How to set up parameter modulation slots for RNBO nodes in C++?

    Scheduled Pinned Locked Moved C++ Development
    4 Posts 2 Posters 46 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.
    • AllenA
      Allen
      last edited by

      Is there a way to set up parameter modulation slots for a RNBO node directly in C++, without wrapping the node into a scriptnode network?

      HISEnbergH 1 Reply Last reply Reply Quote 0
      • HISEnbergH
        HISEnberg @Allen
        last edited by HISEnberg

        @Allen, it's been a looong time since I've used it, but doesn't the RNBO template provide you this option?

        Screenshot 2026-03-05 at 7.53.14 AM.png

        Sonic Architect && Software Mercenary

        AllenA 1 Reply Last reply Reply Quote 0
        • AllenA
          Allen @HISEnberg
          last edited by

          @HISEnberg
          sorry i mean the extra modulation slot for parameters like this , i think that one in the RNBO template is for modulation output.

          01.png

          HISEnbergH 1 Reply Last reply Reply Quote 0
          • HISEnbergH
            HISEnberg @Allen
            last edited by HISEnberg

            @Allen Ah thanks for clarifying. I believe this should work the same for RNBO node as any other C++ node. You need to add these flags to your projects Extra Definitions:

            NUM_HARDCODED_FX_MODS=4 //or however many slots you need
            NUM_HARDCODED_POLY_FX_MODS=4
            

            It is possibly you may need to first add that to HISE's extra pre processor definitions in projucer first and recompile HISE, then also add those to your project (so it works in the compiled plugin).

            The documentation about this is a bit hard to find. There's also a forum post about it here.

            Here is a spreadsheet of the different HISE flags you can use (it needs to merge this into the documentation somewhere).

            Just for some extra context this is straight from the docs:

            // number of modulation slots for Script FX
            HISE_NUM_SCRIPTNODE_FX_MODS=0
            
            // number of modulation slots for Polyphonic Script FX
            HISE_NUM_POLYPHONIC_SCRIPTNODE_FX_MODS=0
            
            // number of modulation slots for Scriptnode Synthesisers
            HISE_NUM_SCRIPTNODE_SYNTH_MODS=2
            
            // If you plan to compile the DSP network to a C++ node 
            // (which is possible with this node since HISE 5.0), you will 
            // also need to set the corresponding preprocessor variables 
            // for the hardcoded modules:
            
            // number of modulation slots for Hardcoded FX modules
            NUM_HARDCODED_FX_MODS=0
            
            // number of modulation slots for Hardcoded Polyphonic FX
            NUM_HARDCODED_POLY_FX_MODS=0
            
            // number of modulation slots for Hardcoded Synthesiser
            NUM_HARDCODED_SYNTH_MODS=2
            

            Sonic Architect && Software Mercenary

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

            28

            Online

            2.2k

            Users

            13.5k

            Topics

            117.2k

            Posts