HISE Logo Forum
    • Categories
    • Register
    • Login

    Dynamic FX selection. Help :)

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 433 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcLabM
      marcLab
      last edited by marcLab

      I've started working on a system where the user can dynamically change the order of effects with Effect Slot.

      I've managed to dynamically change the effects with 3 comboBoxes, but now I'm at the point of adding the knobs for setting the specific Attributes.

      Any ideas on how I would be able to achieve this?

      For example, I would have 3 fixed knobs for 3 different attributes besides my 3 different comboBox, depending on the selected FX, these knobs would change the value of the attribute of my choice.
      If Degrade is selected, for example: knob0 = attribute 4, knob1 = attribute 2, knob2 = attribute 1.
      If simpleReverb is selected then knob0 = attribute 2, knob1 = attribute 1, knob2 = attribute 4.

      I guess with something like SlotFX.getCurrentEffect();

      A little bit like this ->

      @Lindon said in Anyone Done a Rerdering FX?~:

      @Natan

      Like this:
      ec7c4322-bc5a-4454-bf59-84db212352ac-image.png

      Here's a snippet of my actual code :

      HiseSnippet 1719.3oc6YszaaaDDlxxLvRIJ0IHG5kBPXTfJij3HYmGEHMPJ1xJUn9gpjyKjlZrlbo7hPtq.4RWoDjeC8bt0eB8ZukqEH+HJZOEfdH+CZmc4CsjQ0Q1I1MIszWzL6Lb+lYmWKcaOlI12m4okqvVC6i0xcJ8tCo7cWYWDgp0pgVtYzab+M1t48zVdXejuO1RKWt72RrZtBSqIedUskQNHpIdDKMs6vHl30HtD9Htsq+MDGmlHK7VDWEoub8VlL5JLGV.fj75Uz5iLeDpGdCjProz0xchUsHblWWNhi80xM8xLqgc2k8CzP4uCwmriCVPTUqK7hBY2j4XIPr32ZqrKwwpcrE6qokSu8H6Oen8eN80IVjD9i7CyJWvXjFp9ibSsevq5gDd4Tf2zgv6L5cM8H84iVQfsSp2hxwd1H3HPEVgxpM0p40WgARP4K3hdDtoGPjnQ4qVoxELtRkJye8REK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JDiwv9HqR2CxWANBLdVnqtMJvgGyMcsi0YTV+cYThY5rCHZuWOrmJ1GqAAW.ARNGw4b06fcvHekz6Ou9ZvX8HuzI8GHeQ0I2WremWepdHbMDE7L93nmY9Oh5Yd.9P.4ecrLid3slkvPW2FFKMENxeTDtEk5cZc044hR7.DrcJ1pvoCi4pz57md1ydYsFPU2Q84puzR+Qs6h4qAJ6LRresVCugY38xZ2kXw2UkQSOL9wXkbNf6uT6clSPqCKfCXMtunNz7rKLvfIVsE5Th1xgzUDzhPytXpkj3ufmnEqF2uUrX03EOV1iIHNp5wWbj3NXgy+K17RhMe6XNpf3qwHKOHBR8D+aCPpCO8a05..TktMym2j3DKyyewK9yZavnWbsjwGM9te72qsY.uePpovNZL48qj2m.UQdOn.8+gBxW7XHHeljOndx8ciliB1+sUX9Oe6FMsFXGTpdcpk9fm6WeL2+oEL7iGuMyA4ksS46LKc5Itctvj9vY7CwDjfK+CI.KCI9vAvypCWA6+K2cTTta+b6mN5yoX.dQO964wHmRW9A.LZlcTfOxhOLieUfsE8a4GvNWdLU7MFjemPGkwekO9A11BHMk9wCJcQldrsMC+17BrNijCfRp7+OaA80EzFIeQec8JKTQykXQ11zTbKoKBd3wqyhGBcV5PnykOD5bkCgNW8Pny0ND57k6qNhugzMC3L2vJr.i1qFFXka0j.q7Z+MPV+oYY
      
      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @marcLab
        last edited by

        @marcLab would it work if you have one array for each fx, with the attributes numbers?

        DegradeArr = [4, 2, 1];
        SimpleReverbArr = [2, 1, 4]
        

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        1 Reply Last reply Reply Quote 1
        • marcLabM
          marcLab
          last edited by

          @ulrik This is what I have in mind, so this means I need an array for every FX that I'll be giving access to the user.

          Thanks! I'll mess around with that.

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @marcLab
            last edited by

            @marcLab you might come unstuck if the knob's ranges differ. I'd be temted to go with a seperate panel for each effect in each slot which contains the relevant knobs etc

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            33

            Online

            1.7k

            Users

            11.8k

            Topics

            102.7k

            Posts