Impulse Responses



  • How to Select the impulse responses out of a combo box instead of right clicking?

    examples?

    @d-healey ?



  • Grab the IR effect as an audioSampleProcessor and use the setFile command to load in different impulses. Last time I checked though only the last used IR will be extracted from the embedded plugin. Christoph is aware of the issue so we must wait for his solution.



  • @jay

    Here is an example for 2 radio buttons. you can apply it to Combobox with a little modification...

    const var Button1 = Content.getComponent("Button1");
    const var Button2 = Content.getComponent("Button2");
    const var convolution = Synth.getAudioSampleProcessor("Convolution Reverb");
    
    
    inline function onButton1Control(number, value)
    {
        if(value == 1) 
            {
                convolution.setFile("{PROJECT_FOLDER}classic-fl1a.wav");  
            }    
    }
    Button1.setControlCallback(onButton1Control);
    
    
    
    
    inline function onButton2Control(number, value)
    {
        if(value == 1) 
            {
                convolution.setFile("{PROJECT_FOLDER}LargeHall_IR.wav");  
            }    
    }
    Button2.setControlCallback(onButton2Control);
    
    
    

    NOTE: Both of the 2 buttons must have the same Radio ID (for example 1) Cheers 😉



  • @remarkablex thanks buddy



  • @remarkablex I'm trying to implement the Combo box but can't figure out



  • @jay Post some code or better yet a snippet so we can help you out



  • This post is deleted!


  • @d-healey

    HiseSnippet 1062.3ocuV0raaaDDdornQDaSQLPN0CED9jLPpgTZbZAJLpr9qVsx1BVNosmLVQNRZgWtKwxkxQvv26iQeT56PeQ5kdtcVRJQpZYCqjztBPfyu62L6LytCTROHJRpHVUtXdHPr9T6gyE5oslRYBRu1DqOy9DZjFTtorZNOjFEA9DKqs9dCCqJkIIq+76ZR4TgGjyhPdqj4A8YALcN2vF+Hiy6R8gKXAEz9UM54IEsjbYLhmsrqQBodWQm.mRMpUxlXscGelVpFpoZHB0ooze9voxqEo5+VVDaDGLD0ICQGkxlzZJi6OXQrFQHVkGjG4akF4O29DlOaI+7LvyRD3laQwbfUoUgT4UfT8hPpVAH0Ux8MN3dfmUA3UNEd6XOzSwB04RLX6Sr6IvCmwTLsWDVo5RJ8WkraIQMD58CnWAcUHwRKp95Z0dg6A0ps229TGyOL8GocmQwCaYvHYS46p6dn6BGLAzH6Po.Ipt6RM10Xctk3Wyj7XMSJPaSJlLVdTrOSNjFDxgkQfwI4JeNLCTiPu433vDbl.bGGK7RjYJKx1NCZTRdUQbvHP8BbO4wvdN233hK13pIztGdna88bS3YV2r7Kyp.D2OBzcYbn5t2L37y9gNst3xtm0ucmyucXnhIlr+0zYHjbyc0sl+bt0YIfLtHCTsnb9Hrls5cwaRX8wIvd4GVfc7Qb9GwvpPnbpTCmIpZvbEzU+aIiGuNQYNhCp0I0LgP8.lc2rkQOroY0txsu+txhCJ7RqzKnnTzSvzmEBYz48s0WSeKIqUwzAmAPTUcR+6yx5eWjAILeS66xDJIIBJNNk7ldsoZ5Bmg9E2qPPoYlPxpMLCmslNbnhcaH5JsLLQ2rdTh0Sdja86Vts+lWi44DrFATTls01H00Le8TCwAVDxTfMYp1P8EnHlFBPHU0Nsow4XrfwAGfZNZbFFXnNA7YwAN8opI.gb2wa3PVoeLmpWcxq4JlLA349Ji3LiwDQL87h4rO3wwq8X8QB2crGvzdSWOdKsF7hGs+Wi2rK2dpcmwiAOcNXKa28meeuIq962MY6r.KEF6mfkmae2KBVAasUyW8wF+xu+SfdUVDReD3BuUxu8BBi4QPePLwT7lWnjAqdhvXcQ9uIBZhi5lnjwB+Klp.peQ+MPA9.mtxdbLqUAe7q+Qi130bXaPQcLihSeFymaeeCjIAlvw1xneVem4StTFhmIJcQFcD9KHs15gdTT8G+ihHmKwC.wjSnZEyr8mFGLDeKlGfUMBAviLaYIyXtT5ZKfvPP3mP723JSXcCsUlv5KD9+xdDP8TxK8RG.aJBeRBGLtEIGAUvmzhztKm4ZxGA3a7tzyyzX7k0Ij0awK2XK9pM1hWswVbvFawq2XK95M1hu4Arv7f5ih0xfzwjHiAcRtqyxpifhUqIc8j+APa4vlr



  • You can only have one controlCallback per control. You need a single callback for the combobox and in that callback you load an IR based on the combo box's value.



  • @d-healey CAn you do an example for me?
    please?



  • Something like this

    HiseSnippet 996.3ocuVsraaaDEcnjYPEaUQ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ufGXfssEY8nj4HWJCwbuRWjQOgeNoU4MqOk2s5yVZOtRhIZwryoZEyD9KhCFg+tgGfcGBAviLgrjYiUJcybHLBD9ID+M9kIrkg1JSXqbgeRhQ.0SIuN6UHSy1mkvAu2hjTcE7u1PZ2UqOM4i.7WWt1yyL.7UsHjsawK2aKd0daww6sEmr2V7581hudus3adDKL+m36h0xfz0gHig8Rd1xxpmfhcqIS2j+APdu+wK
    


  • @d-healey thank you again, you're awesome


 

1
Online

353
Users

1.1k
Topics

7.5k
Posts