setAttribute - not working for me



  • Ok last frustration of the day....

    So I have a midiScript processor with a single slider in it. The slider is linked up to the attack value of my envelope - and works fine.

    in my main interface I say this:

    const var Acoustic_OUT_COMMS = Synth.getMidiProcessor("Acoustic_OUT_COMMS");
    
    inline function onAttack_ACOUSTICControl(component, value)
    {
    	Acoustic_OUT_COMMS.setAttribute(0, value);
    	Console.print("setting the attack");
    };
    
    Content.getComponent("Attack_ACOUSTIC").setControlCallback(onAttack_ACOUSTICControl);
    

    literally nothing is happening - there isnt even a Console.print.

    Perhaps this is because the Attack_ACOUSTIC widget was/is previously wired to another container - but i cant see how to "unwire" a component - so I dont know if thats the problem or not....



  • @Lindon ...and a quick test shows me I am right... so we MUST have a way to remove processorId and parmaterId - without it this is very very poor UX



  • Yeah, basically that requires you to open up the JSON editor and remove the processorId and parameterId manually.



  • @Christoph-Hart any chance of a fix then?



  • Yes, however there's an unspoken "if there's a workaround, it's not a bug" policy in HISE 🙂 so it's categorized under "cleanup maintenance task"


 

0
Online

383
Users

1.2k
Topics

8.8k
Posts