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



  • Any tips on how to change the impulse selector from a combobox to a knob ?
    I would like to scroll through the impulse selection with a rotary knob .
    Also , would like to make three categories that are switched with a button .

    I guess I need to build an array with the impulses or can I just switch to next in folder?

    Any tips appreciated , such a noob. Þ=



  • @lalalandsynth - probably best to build three arrays - each holding the name of the IRs in a particular category. Then as you move your knob simply scroll through the one of the arrays. The correct array to use would be set by the state of your radio three buttons .



  • @Lindon Any tips on how to learn to do all this ?
    I am having a hard time with the scripting as I am not sure how to go about learning.





  • @lalalandsynth
    https://www.patreon.com/davidhealey
    @d-healey has the best scripting tutorials. He even has a "scripting 101" video on youtube that you can watch right now.



  • @d-healey @dustbro ...lol guys, you are 'in sync'... not the first time your posts overlap i think... 🙂



  • @lalalandsynth said in Impulse Responses:

    @Lindon Any tips on how to learn to do all this ?
    I am having a hard time with the scripting as I am not sure how to go about learning.

    -- what the guys say is correct - DEFINITELY do Daves scripting tutorials... then take a look at this:

    HiseSnippet 1346.3ocsX0raaaDDdosYhkRUPBPOWPnSR.tJhjwoEwnHpV1NPHw+.KWiBDDDrhbk3VStqB4p3nF3h7njq8VOVfdpuA8QnOB4dO3NKIkVJYJEI0TdHg67y29MyNZ4L9jPtCIJhGhzJb1v9Dj1Wn2dHS30zCSYnV6gztq9g3HAIzHQztC6iihHtHMs0epTfVgMPwOe7I6h8wLGhRDBcNm5PdNMfJTROowyn99GfcImQCxX8CazxgyZx84C.9rtdcTeryE3djivRyVSGocq8coBdXaAVPh.a1k6NrsG+RVh8mSinc7IxEln1.PIhQM8n9tmL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w2Bgd8+HUnDKkt95+Zr4c5ojs0uXdsT1kTWgmr.5OfEdDZOOYrp8UvJYqExnKsqqkhyYyx+1qylkygynqWLNevv+bw3bQ8QCN.IraLoCLuE2cfOVL4PXxoMSU.WfNwzNxIZXQTwvr+FeIlLqdtSlYl28WKHcuu9IxNpymuqkCegKE9+luoy4VRe+tcguppH6F5G7iq5PsKAUNkOPPY8NDKBoP0m9QCBZCUNNDfILFLLhrHYM4OaRVWez8lsIL23EWCOoJMkq0RUZNRIJ.6DxekSxUzxIo2LVBvIV7eDgB5GJWaL9aB550gK+BfA7ekiiLU70.2y2GqUvG6UvmGtB9r8J3yiVAe9lUvmuct9H+aq78CD7fjel.BNY+3uRposOCCUYwUjn+EPrLT3I
    


  • @Lindon said in Impulse Responses:

    Yes, doing it now. 🙂 Already watched most of d.Healey´s material ,guess I need to spend more time.

    Thanks for the snippet !! , that looks awesome and should do the trick once I adopt it to my needs , I am not using radio buttons as such , lets see if I can make it work.

    I wonder if someone could show me how to make this array then load impulses based on their name ? I have it working via a combobox not sure what I need to change to make a selection with the array.

    PS: Are you guys learning these skills within HISE or do you have previous programming experience ? Apart from these mentioned tutorials , what would be a good method to really dive into programming for HISE ?


Log in to reply
 

20
Online

677
Users

2.7k
Topics

23.0k
Posts