Forum

    • Register
    • Login
    • Search
    • Categories

    Getting the processor ID in a control callback

    Scripting Forum
    1
    1
    283
    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.
    • d.healey
      d.healey last edited by d.healey

      This isn't working

          inline function myControlCallback(component, value)
          {
              local id = component.get("processorId");
              local processor = Synth.getChildSynth(id);  
          }
      

      In this case the processor is a container, I can Console.print the id variable just fine but I get a was not found message when trying to pull in the childSynth.

      Edit: Ooops, this might be a false alarm, I think I have possibly not set the processor id for all the controls... I shall check now 🙂
      Edit 2: Yes I was being dumb 😛 I'll leave this here as guidance to others

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

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

      8
      Online

      855
      Users

      5.7k
      Topics

      53.0k
      Posts