HISE Logo Forum
    • Categories
    • Register
    • Login

    assign FX to Effect slot

    Scheduled Pinned Locked Moved Bug Reports
    67 Posts 16 Posters 4.5k 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.
    • ?
      A Former User @ulrik
      last edited by

      @ulrik Man! This is awesome...

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @A Former User
        last edited by

        @UrsBollhalder thank you, but beware, I'm only experimenting with this, maybe I'm doing something really stupid 🤪

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

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @ulrik
          last edited by

          @ulrik Of course... I'll just study your code and then try to come up with something myself. That way I learn how to do it myself and am also responsible for my own stupid mistakes! 😂

          But just seeing the possibility of it is really nice!

          I would want to have the boxes move while dragging for example, even if there's no mouseUp happening, so you get a preview of things so to speak.

          ulrikU 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @A Former User
            last edited by

            @UrsBollhalder said in assign FX to Effect slot:

            I would want to have the boxes move while dragging

            If you're refering to the "not dragged boxes" I agree, this is a swap so it would take some maths to calculate though, consider moving the last fx to slot 2 for instance :)

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

            DabDabD 1 Reply Last reply Reply Quote 0
            • DabDabD
              DabDab @ulrik
              last edited by

              @ulrik I am studying keep practicing from the Practical Examples /projects. If you come up with the actual solution Drag Knob Button etc Panel and Swap FX Slot do share the snippet. I really want to study your works. Another Work I am big fan of yours.. That is Color Chart. I guess you made it few months ago. You are a big inspiration for us.

              Bollywood Music Producer and Trance Producer.

              1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik
                last edited by

                @d-healey @ustk how would you decide what type of value, the min and max, and suffix, to get from getAttribute()?

                Would you make a long, long, very long array with the attribute names from all Effects and use as a look up table, or would you use another way, which?

                This what I have so far, as you can see I can manipulate all values and set them with setAttribute, but I don't know what type it is, is it a boolean, values from a cmb, etc...

                effect slot.gif

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

                ustkU MikeBM 2 Replies Last reply Reply Quote 2
                • FortuneF
                  Fortune @ulrik
                  last edited by

                  @ulrik Thank you man, you're great!!!

                  1 Reply Last reply Reply Quote 1
                  • ustkU
                    ustk @ulrik
                    last edited by

                    @ulrik I would almost certainly use a 2D array. I don't see where it would be very long, FXs don't have hundreds of parameters…
                    But why would you access min and max values? They are fixed values, so you just need to know if you are building a gain or a freq parameter or anything else. All gain are -100 to 0, all freq 20 to 20000, etc…

                    Can't help pressing F5 in the forum...

                    ulrikU 1 Reply Last reply Reply Quote 1
                    • MikeBM
                      MikeB @ulrik
                      last edited by MikeB

                      @ulrik Once again a perhaps pointless suggestion from me
                      Maybe via LAF (obj.valueSuffixString) and obj.text?

                      if (obj.text.indexOf("group2") != -1){
                               g.setFont("GUI-Barlow-Medium", 17.0);
                            g.setColour(grau); 
                          
                            g.drawAlignedText(obj.valueSuffixString, [0,-4,90,36], "centred");
                      
                              g.setColour(hellgrau);
                              g.setFont("GUI-Barlow-Medium", 17.0);
                      
                              g.drawAlignedText(text , [0,32,80,20], "centred");
                          };```

                      "One hour of trial and error can save 10 minutes of reading the manual."
                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @MikeB
                        last edited by

                        @MikeB I don't have any knobs, I get all values from the module directly, and there is no information about type, suffix or anything, I have to create them myself so I will go with ustk's suggestion with arrays or objects per parameter

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

                        MikeBM 1 Reply Last reply Reply Quote 1
                        • MikeBM
                          MikeB @ulrik
                          last edited by

                          @ulrik
                          Tonight (we've come this far - that I dream of sliders and curly brackets at night) :-)

                          It occurred to me that if you don't have knobs you can't save the values you set as presets - can you?

                          "One hour of trial and error can save 10 minutes of reading the manual."
                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                          ulrikU 1 Reply Last reply Reply Quote 2
                          • ulrikU
                            ulrik @MikeB
                            last edited by

                            @MikeB all gets stored in the panel, and the panel is stored in presets

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

                            MikeBM ulrikU 2 Replies Last reply Reply Quote 1
                            • MikeBM
                              MikeB @ulrik
                              last edited by

                              @ulrik Very good - I'll think about it at night :-))

                              "One hour of trial and error can save 10 minutes of reading the manual."
                              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @MikeB
                                last edited by

                                @MikeB said in assign FX to Effect slot:

                                @ulrik Very good - I'll think about it at night :-))

                                I find that the best ideas come in the early mornings, while still being wrapped in curly brackets and paint routines... Today I tried sending an e-mail off by hitting F5! 🤣

                                1 Reply Last reply Reply Quote 3
                                • ulrikU
                                  ulrik @ulrik
                                  last edited by ulrik

                                  @ulrik progress so far
                                  I had to remove the Degrade and Limiter modules because they gave me crazy values reported here:
                                  https://forum.hise.audio/topic/4705/effects-degrade-limiter

                                  This is using 1 panel for all Effect settings, maybe a bit limiting cause you can't have 2 modules in editing mode at the same time except for the CurveEq, I might change that.

                                  effect slot.gif
                                  I should say that the CurveEq is FloatingTile

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

                                  DabDabD 1 Reply Last reply Reply Quote 6
                                  • DabDabD
                                    DabDab @ulrik
                                    last edited by

                                    @ulrik Awesome (y)

                                    Bollywood Music Producer and Trance Producer.

                                    1 Reply Last reply Reply Quote 1
                                    • MikeBM
                                      MikeB
                                      last edited by MikeB

                                      Yesterday I saw this nice implementation of a freely definable effect chain.

                                      content_Lifeline-Demo.gif

                                      When I look at the tooltip below - ????

                                      "One hour of trial and error can save 10 minutes of reading the manual."
                                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                      ulrikU 1 Reply Last reply Reply Quote 1
                                      • Christoph HartC
                                        Christoph Hart
                                        last edited by

                                        Seems like somebody has been lurking this thread...

                                        1 Reply Last reply Reply Quote 3
                                        • ulrikU
                                          ulrik @MikeB
                                          last edited by

                                          @MikeB Nice 🎶

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

                                          1 Reply Last reply Reply Quote 0
                                          • ulrikU
                                            ulrik @ustk
                                            last edited by

                                            @ustk said in assign FX to Effect slot:

                                            All gain are -100 to 0, all freq 20 to 20000, etc…

                                            I've noticed that it is not entirely true for all effects, for instance
                                            Saturator: Pre & Post gain 0 - 24 dB
                                            Convolution: PreDelay 0 - 500ms...
                                            Dynamics: Attacks & Releases also have another range 0 -100 ms etc..

                                            I did it the way you suggested but instead of a 2d array, every effect has an object connected to it with, min, max, which attributes to use (leaving the deprecated out) and suffixes,
                                            it work fine so far... :)

                                            effect slot.gif

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

                                            UD AUDIOU whereami518W 2 Replies Last reply Reply Quote 3
                                            • First post
                                              Last post

                                            57

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.7k

                                            Posts