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.
    • 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
                                  • UD AUDIOU
                                    UD AUDIO @ulrik
                                    last edited by UD AUDIO

                                    @ulrik This is so damn helpful! Thanks a million for sharing :)
                                    Some of my plugins are prepared for this and I had to pause.
                                    It seems like I can go on soon.

                                    1 Reply Last reply Reply Quote 1
                                    • UD AUDIOU
                                      UD AUDIO
                                      last edited by UD AUDIO

                                      @ulrik Wouldn't it be more comfortable to get rid of the "edit effect" and to select it with a left click which would activate the editing?!

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

                                        @UD-AUDIO that's a good idea, I might do that, thanks!

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

                                        UD AUDIOU 1 Reply Last reply Reply Quote 0
                                        • UD AUDIOU
                                          UD AUDIO @ulrik
                                          last edited by

                                          @ulrik I like the way vital does it but it can be even better.

                                          N3eWPbROqE.gif

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

                                            @UD-AUDIO that's very nice, I don't have anything fancy like that, in a minute I'll show you how far I'm at the moment

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

                                            ulrikU UD AUDIOU 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            57

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.7k

                                            Posts