Forum
    • Categories
    • Register
    • Login

    How do you set up external modulation slots (C++)

    Scheduled Pinned Locked Moved C++ Development
    3 Posts 2 Posters 39 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.
    • griffinboyG
      griffinboy
      last edited by

      Hello Christoph! I'm working on setting up external mod slots in my c++ node.
      I'm running into trouble with the setup, I haven't been able to make the slots appear in hise (the extra slots are blank). Even after looking at your example for how to create the slots I think I'm missing some info could you please elaborate on the process!

      Thanks!

      @Christoph-Hart

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

        @griffinboy if you're using sbb, I'm currently rewriting the parameter_handler class to manage this automatically:

        void createExternalModulationInfo(OpaqueNode::ModulationProperties& info) override
            {
        		modulation::ParameterProperties::ConnectionList list;
        
        		auto pm = parameters.addModulationSlotToParameter(list, sbb::OscillatorParameters::HardSyncRatio);
        
        		list[pm].modulationMode = modulation::ParameterMode::ScaleAdd;
        		list[pm].modColour = hise::HiseModulationColours::ColourId::Wavetable; // blue
        
        		info.fromConnectionList(list);
            }
        

        Most of the examples use this. I'll do some cleanup and push it later today.

        griffinboyG 1 Reply Last reply Reply Quote 3
        • griffinboyG
          griffinboy @Christoph Hart
          last edited by griffinboy

          @Christoph-Hart

          Thanks
          I'll hold off for a bit then,
          until you've finished that!

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

          13

          Online

          2.1k

          Users

          13.3k

          Topics

          115.3k

          Posts