Getting the processor ID in a control callback



  • 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


Log in to reply
 

0
Online

277
Users

739
Topics

4.8k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.