HISE Logo Forum
    • Categories
    • Register
    • Login

    addToMacroControl instead of frontend macros

    Scheduled Pinned Locked Moved General Questions
    2 Posts 1 Posters 80 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.
    • P
      paper_lung
      last edited by

      Is there anyway to use addToMacroControl with Macro Modulation Sources of frontend macros? I essentially want to assign the macros using buttons - not the frontend controls, but I can't seem to get it to work. Here's what I've tried:

      
      const var Button2 = Content.getComponent("Button2");
      const var slider1 = Content.getComponent("slider1");
      
      
      inline function onButton2Control(component, value)
      {
      	 if(value == 1) 
      	 
          {
      	    
          slider1.addToMacroControl(0);
          
          }
      };
      
      Content.getComponent("Button2").setControlCallback(onButton2Control);
      
      P 1 Reply Last reply Reply Quote 0
      • P
        paper_lung @paper_lung
        last edited by

        anyone? :)

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

        20

        Online

        1.9k

        Users

        12.3k

        Topics

        107.4k

        Posts