Using sliderpack in combobox selector....



  • How can we use Sliderpack to modulate in this example? There is a combobox that selects modulation waveform but I couldn't select sliderpack to modulate it. Sliderpack is not working....

    Content.makeFrontInterface(600, 500);
    
    
    const var LFOModulator = Synth.getModulator("LFO Modulator");
    const var ComboBox1 = Content.getComponent("ComboBox1");
    const var Table1 = Content.getComponent("Table1");
    const var SliderPack1 = Content.getComponent("SliderPack1");
    
    
    
    inline function onComboBox1Control(component, value)
    {
    	// set the Sync Mode for the LFO
    	LFOModulator.setAttribute(LFOModulator.WaveFormType, value);
    	
    	if(value == 1)
    	{
    	Table1.showControl(false);
    	SliderPack1.showControl(false);
    	}
    	
    		if(value == 2)
    	{
    	Table1.showControl(false);	
    	SliderPack1.showControl(false);
    	}
    	
    	
    		if(value == 3)
    	{
    	Table1.showControl(false);	
    	SliderPack1.showControl(false);
    	
    	}
    	
    	
    		if(value == 4)
    	{
    	Table1.showControl(false);	
    	SliderPack1.showControl(false);
    	}
    	
    	
    		if(value == 5)
    	{
    	Table1.showControl(false);	
    	SliderPack1.showControl(false);
    	}
    	
    	
    	if(value == 6)
    	{
    	Table1.showControl(true);
    	SliderPack1.showControl(false);
    	}
    	
    
    		if(value == 7)
    	{
    	Table1.showControl(false);
    	SliderPack1.showControl(true);
    
    	}
    	
    	
    };
    
    ComboBox1.setControlCallback(onComboBox1Control);
    
    
    HiseSnippet 1489.3oc0X08bZaDD+jw2z.ItMe8XmoZbegLNgHLeYlNYJFrIwMwFhg7wz9PpP5.tXwcxRmvAmIu225eb8ej9eP6d5CPfgXXhSZyYOf1aucue2t6s6JZ5vMHttbGjx0aOxlfTtAt0Hlnes95TF5f8PJXrllFp5HacWWhIRQIwikrTRtNxe72+bUcKclAYxTHzK4TCxynCnhIy1rxSoVV00MIsoChs57UNvfypws3d.LRf0P15Fmn2ibjtbYqgQCojybQJZ3bamw4jrcNe2LxQU4G4kOum7ollYhFu8wxOQFdNNDl3kf3v4P4efgBdeSpf6zRnKHfNWuJ2bTq97yXxsNK5k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UXwW.ThtX+WPWfQhFu0PYq0gLfTMS0ClrOKlKULJdq2ex8KN2rJKIbuEtIUXze93cs4fW3tvma7F188F3861kXHl.10w0e8Uaq1YurVsS1NLJ7PNia2mynF0oVPHhOftSroUCmewukEBU2gbpGgYLwd9G+UkmGOXP1zXbINlvfn7m6oaMkWvtRUpM2R2Yo7PIVtpWywTjXoCijGM0Okv9DKmu6R7W2H.jX4MaejM6c7KEWy5i98tc+gJx238fItxJ+YEYxgtQIGhY6eFoGrOwUXaBjSS9FAwWVqAbtnOk0a52i9tUBRUGo8uTUikUF7qzoT.mqXlUcbEFws1RFwcGe+5XOnzC++7TsAHdb30WAH9V90xT+poX1swgYEUixF8eEfOl6IfK2GpCueurcsi7Fzh64XP.vxXDK4qTnrlr4+.ZMIsedAHeuVzOzUHyrRZkPlYiXBMBZ3veiQPazxqNWyeF.SL+ezsj3Ckzpi6ZVh6ATS5aLLj0Re.f74Kw1qrD4VYIxuxRTXkkn3JKQoUVhc9HRH+QB20CRmGb4Ag9WJse4V.
    

  • administrators

    Stop connecting the parameterId for SliderPacks / Tables 🙂

    I'll add a warning if you do so.

    Also there is a really misfortunate problem: the property for the SliderPack is named ProcessorId, not processorId. I could doom the day that I did this, but for backwards reasons I can't just change the name, however I'll try to fix this in a sensible way, as this seems to be an intentional prank 🙂

    Working example:

    HiseSnippet 1461.3oc0X80bZaDD+jw2z.ozFmj2qF2WHiSHBvXrmNYJ1XSCS.aRDMooujJjNfqVbmhzI6fyj26a8CW+hzuAs6o+.BL3.wIoMxNwr29m62s6d6th1tbShmG2EobyNibHHkuFqOhIFTafAkgZbHRAi0zzPGLxwvyiXgTTR8SRVJoWGE772+3AF1FLSxjkPnmyoljlzgTwjUaW8ITa65FVjNzgIjd6pML4rZbatO.iTXMjig4oF8IGaHEaML5LJ4bOjhFtTw7tmVn6E6mOe9K5NpUwq5eMQl9ttDl34f5v4P4efGE7QVTA2UWXHHfMW+.t0H8A7yYxst.54TOZWaRHgNfoPDUmaaIO7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CLw7nhQIu6csG7atkGVR3tAtMUXNX93cs4fWH0+SMdiFiNK9nd8HlhIfccb8e4Ccl4BeXyLmtSTRWKNi6Lfynl0o1Pda.ftShkUiVewutDBU2k7ZeBybh+7O9qpOMYxfb5ujZ7LBCRpepug8TQAmpGPc31FtKUDJ0x4VliqH0RmFIOZpWmz9ObPlLdkMDjX4E4.jM6U52KtlMF8a858cUku5ZiIgxp+YUYEqdwUrRndSReXeRtRGBTBSNZexPj9PNWLfx5O8KDe2pM4bmiXxZsVIMRXA63M8yU2VY+gCuFsK+3EiWaISDuSP3dbfUF3+edE3PDONq6K.DuQPKN0uX5wcabTwR03hT+WA3mw8Evc9VFv6uKGZ6X+g5beWSB.VFiXKekAk0jC2GRqEOypNzFPK9KxJhYAIsRDyBwLgwAMc4uxLbLY4UmaDrBfIVvWpVZbKIs53ohk3dH0h9JSSYK1G.He9ZTbk0nzJqw1qrFkWYM1Yk0nxJqwtWgFxuDv88gx4gWdPn+EffeX91
    


  • @christoph-hart Thank you so much. 👏 👏


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.