Mod Envelope Picker



  • Hey, im trying to create dropdown list where user can select envelope destination. I have Combobox and 3 value.

    Everything is great for pitch i can turn on and turn of but when I choose filter, this one won't turn on.

    const var modEnv1_cmb1 = Content.getComponent("modEnv1_cmb1");
    
    
    inline function onmodEnv1_cmb1Control(component, value)
    {
        if(modEnv1_cmb1.getValue() == 2)
        {
            OSCPITCHPENV.setBypassed(false);
        }
        
        else if(modEnv1_cmb1.getValue() != 2)
        {
            OSCPITCHPENV.setBypassed(true);
        }
        
        else if(modEnv1_cmb1.getValue() == 3)
        {
            OSCFILTERENV.setBypassed(false);
        }
        
    };
    
    Content.getComponent("modEnv1_cmb1").setControlCallback(onmodEnv1_cmb1Control);
    


  • @arminh 3 and != 2 are the same 😉



  • This post is deleted!


  • OK i fix it! 🙂



  • Im trying create knob which control amount of intensity

    I connected pitch and freq modulation of gilter to one knob but this not working like should because pitch is bipolar.

    Maybe you have some idea how to do it?



  • @arminh er.. this: "I connected pitch and freq modulation" - doesnt make sense to me, so you have a filter, and you've opened the freq modulation panel and attached one(or more) modulators, what are the modulators you've attached?



  • @arminh You can change from bipolar to monopolar by clicking the arrow:
    But to be honest I don't really understand what you want to do... A snippet and better explanations maybe?

    Untitled.jpeg


Log in to reply
 

10
Online

601
Users

2.4k
Topics

18.4k
Posts