How to Control Delay feedback L & R with One Knob



  • How can I Control Delay Feedback L & R with One Knob?

    Thanks
    TM





  • You need to use setAttribute. You can link many parameters to one knob. Here is the feedback example:

    HiseSnippet 1235.3oc2X0sSabDEdValVroDkTQqxkqPsRFoDjMMIsRQUwAabJpXvBSI4tngcO1dD6Ny1cmkfaTtuOdUpu.4QnuAsmY+w6rfEw0sIJJlaXN+Mme+Ni8fPoCDEICIV0NYZ.Pr9B5voB0jNSXbAY+tDqaQ6yhTPncJocmFvhh.WhkU0moIXUaERxm+5I6x7XBGnfDgbpj6.Gv84pBpCZ+ybOudLW3DtugzOn89NRQGomLF8mpzlj.ly4rwvgLsXUnDqOaOWtRFNTwTPDwZkcktSGNQ9JQp7mxi3m4A5CsHCQCkRtmzyU6w5+mzYB2ycPdbGQHVzAEYgpoYgMn84t7YzKxF2NggcgFl4CqJ2j60ZIcOKC2akT26NzgNg7.UAGsusFceAVnFwvRfoakJKox8qP6HQIDps8YmC8BwCyznwiZ17d1OrYysd750WuNVHhT1WvBs6Bdro8dg8OZmzXr8XPs2nQfipwlYr1TqRgB8.v8LrvgZjecnNcj9ARAdnwl4BrY5UsdctviK.6QwBGEWJrkhbQzFHT50vIW66gWgWLr050e850qk4.aGApmpTg7yhUPibh413X93Iyz6wKpVG.iLU5MIt56JdzlLyk6v77zDabsfIOpS+yHnOTpfiDM1p9qqWq9apaeUViFMWdYl0CBmKa8LV3MoXCQr+YPXdvlKH1rUtadsEqa1IMGYHnTrufqNJ.xNWzuq4kF04baRlErljJhQSpIg1bDqfz0GmHY0P8fUl3nnpjwpakMVMzi6BgDN5i0o4UORR5o.s5sOg7K62koX4VBMJdQAPnhqSWVcgKPruzA1ZztPz4JYPhrYcNDqUWj68xh6zu8zYGdKusuzE09qoGJC8Yd7eCbG.gNnkQLSRT7nQ7K0oguk3ycc8fAxHttzaFCtvHVrm5zqEaWGzAg9jtwdLUY7P8RfLFZaaB7nAWD3cN0bIw+BPxlyEjr07ppKn6dG5.txYx782Jywewh66a+Maky5zTX0BmcEZuW7Ad+xZo9xmSSfCS7hZzLnwRtRBM87mFmrHcc21yXj.6VvYi1lHqlsZkvoMYbf7UCvKrWH7qyH+6+Y6eheMpjts6yuzT2S.bHCWX4Tp0qZ47W0EK+Mmx2wxXEWLtOCWef2K8vX+g3qVb.r5IDfGZbpUEMZS54l5yZmXHHbSN723mLlszmsxX1JmoYKxFokk0nOmcAjrFNoz7UImGgS+1OCDPntWu0M7Bs+XQegVvB+BsibTnKbRHSDEHifVlV9J71wjWWPEKJKdJoRRoCudX3YH2psyItiIwALQIigmKYoqzdrmfgE5g.FMtGE4fAqN2Y1qLH1KBdN2UMokohEj2wj7U6rVvIyxXmFx+QxqT++G.9+99hpKl69N.5pk6iC49AdvdhK.Ob2chO9kHhWxVwbpkmo5KExfIRA2wrA6X.gBFOFJ0DM2.BeyodstAx3wfGvhLly9l1GfOHlE1OYA+RkKZs34hapdcWZp6ZqABr+zXOe0Og1y+9XBEwJ+HnR+gXE6Gh6vm4DJeoS5W0PO5sZBELtEI+rF0n80msak+ELnzla2T+jc9KcbzcG2GyOyWmcVBc9tkPmGrD57vkPmGsD578KgN+vMpid24SiUR+z9ejvf8R9hdVVouaHYTf7On1AdfO
    


  • @orange Thank you so much. One more question.. when you write something through codes,

    DelayFX.setAttribute(DelayFX.FeedbackLeft, value);
    

    processorID & parameterID should be left blank. Right?
    Actually, I had one knob assigned with DelayFX & FeedbackLeft through processor ID & parameterID. After putting the code when I hit compile HISE got crashed.

    Thank you once again.
    TM



  • @Tania-Mosh We are defning "processorID " and "parameterID" inside the script, so in this case, you shouldn't define these inside the knob's parameter properties at the same time. It might cause crash or the script doesn't function. Also if you want to control one parameter, you can do it with knob's parameter properties. But for multi parameters, it must be with scripting.

    In my example; DelayFX is the processorID. FeedbackLeft and FeedbackRight are the parameterIDs.



  • @orange ..Now totally understood. Thank you 🙂


Log in to reply
 

13
Online

1.2k
Users

3.8k
Topics

33.6k
Posts