HISE Logo Forum
    • Categories
    • Register
    • Login

    Modulation range not absolute?

    Scheduled Pinned Locked Moved General Questions
    17 Posts 4 Posters 424 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.
    • ustkU
      ustk
      last edited by

      When combining modulators, you might set their intensity both to the left and to the right I might say for negative vs positive values.
      The result is a range being subtracted in the knob's LAF. In worst cases, if they perfectly cancel, you might not even see the range at all, despite the modulation occurs. In other cases, the lastModValue simply goes out of range:

      ModMatrix.gif

      Oli UllmannO 1 Reply Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @ustk
        last edited by

        @ustk
        Couldn't you use Math.range in the LAF to define the minimum and maximum?

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk
          last edited by

          Also, the intensity sliders are not really reflecting reality.
          The knob is set to 1500Hz, so the intensity slider is going from -1500 to 18,5khz (20k-1k5). But those min/max values are reached before the 0% and 100% of the intensity slider

          ModMatrix2.gif

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @Oli Ullmann
            last edited by ustk

            @Oli-Ullmann But you have only one range that is pre-computed for you. It would have been possible if an array of all ranges would have been passed to the LAF object (and this would be great for painting the different modulation ranges with different colours ☺ )

            Oli UllmannO 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk
              last edited by ustk

              Another one
              When moving the freq knob, once modulated, the sound doesn't change. The modulation range that is heard is still the same no matter the knob's value, for all the modulation modes (but different per mode, of course)

              Ok it's a gif so there's no sound, but trust me as I move the knob the filter to which it is connected doesn't change
              But the intensity value updates, meaning something might be off somewhere...
              ModMatrix3.gif

              1 Reply Last reply Reply Quote 0
              • Oli UllmannO
                Oli Ullmann @ustk
                last edited by

                @ustk
                Yes, but you set a start and end point when you draw the modulation arc. You could use the range function here, couldn't you? Unfortunately, I'm not at my computer and can't try it out myself.

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @Oli Ullmann
                  last edited by

                  @Oli-Ullmann perhaps the answer is here... I have to work more on this since I thought it would have been easier at first. But there seems to be quite some complex things to understand and take care about ☺

                  Oli UllmannO 1 Reply Last reply Reply Quote 2
                  • Oli UllmannO
                    Oli Ullmann @ustk
                    last edited by

                    @ustk
                    Good luck! 😊
                    Please let us know if you find a solution. 😀

                    Christoph HartC 1 Reply Last reply Reply Quote 1
                    • Christoph HartC
                      Christoph Hart @Oli Ullmann
                      last edited by

                      • lastModValue is smoothed so it might not be cancelled out perfectly.
                      • can you make a minimal example where the knob stops working when modulated?

                      and this would be great for painting the different modulation ranges with different colours

                      Yes I thought about that, but in the end it's too complicated to get it to work as it's pretty complex to calculate the ranges with the different modulation modes as it is already.

                      But those min/max values are reached before the 0% and 100% of the intensity slider

                      Yes, with bipolar mode an intensity of 50% will already cover the entire range if the knob position is in the middle. 100% intensity will modulate the double range so that if the knob is all the way to the left it will still go full to the right.

                      DanHD ustkU 2 Replies Last reply Reply Quote 1
                      • DanHD
                        DanH @Christoph Hart
                        last edited by

                        @Christoph-Hart

                        Yes, with bipolar mode an intensity of 50% will already cover the entire range if the knob position is in the middle. 100% intensity will modulate the double range so that if the knob is all the way to the left it will still go full to the right.

                        IMO this is incorrect, it should only go up to the midway point. This is how other devs do it and seems the most intuitive way.

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

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

                          @Christoph-Hart said in Modulation range not absolute?:

                          • lastModValue is smoothed so it might not be cancelled out perfectly.

                          That is not the problem, in fact it seems to be at the right position, it's the modMin and modMax that are cancelling each other, giving the wrong modulation range to be displayed (see first gif)

                          • can you make a minimal example where the knob stops working when modulated?

                          When I reopened the snippet everything was fine... dunno what happened 🤷

                          and this would be great for painting the different modulation ranges with different colours

                          Yes I thought about that, but in the end it's too complicated to get it to work as it's pretty complex to calculate the ranges with the different modulation modes as it is already.

                          But (as explained above), having them combined returns a wrong displayed range (as it can even be totally cancelled visually while still hearable)

                          But those min/max values are reached before the 0% and 100% of the intensity slider

                          Yes, with bipolar mode an intensity of 50% will already cover the entire range if the knob position is in the middle. 100% intensity will modulate the double range so that if the knob is all the way to the left it will still go full to the right.

                          I understand that. I agree with @DanH though, even if both visions are defendable...

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

                            IMO this is incorrect, it should only go up to the midway point.

                            Now is the time to change that before people have projects with this out there - at least with the matrix modulator, the behaviour of the intensity of the modulation system is carved in stone by now.

                            I have to check this with all target types (I vaguely remember there was something that didn't work with 50% intensity, maybe something related to pitch modulation), but if the majority of users prefer it this way I'm happy to follow suit.

                            ustkU DanHD Oli UllmannO 3 Replies Last reply Reply Quote 2
                            • ustkU
                              ustk @Christoph Hart
                              last edited by ustk

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @Christoph Hart
                                last edited by

                                @Christoph-Hart Thanks. I also remember something strange about bi-polar and pitch modulation, but perhaps it was the range thing we just discussed. I'll check again...

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

                                1 Reply Last reply Reply Quote 0
                                • Oli UllmannO
                                  Oli Ullmann @Christoph Hart
                                  last edited by

                                  @Christoph-Hart
                                  @ustk
                                  @DanH

                                  Could we hold a vote on this in the forum? 😀
                                  I must admit that I find the current implementation logical and intuitive...

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

                                    @Oli-Ullmann let's take the below example on a pitch knob. The knob's range is +/- 24. The modulation range is already set to 50%. Visually the modulation range is drawn and covers the whole knob's range. But remember this is only 50%, so the modulation is between -12 and + 12 semitones, not -24 and +24 semitones (as IMO it looks like).

                                    To get the maximum range (and the range that it looks like it's already doing) you have to increase the modulation slider to 100%, whilst receiving no visual clues as to what you're modulating other than the text box. Since the text box only appears when you move the modulation range slider you can't simply look at the knob and know what it's modulation range is. It could be anywhere between +/- 12 and +/- 24.

                                    If you need 100% modulation on one half of the bi-polar modulation then you should be using scaled / unipolar modes.

                                    Also I think it's better to stick to 'popular', tried and tested methods (see further example below)

                                    ScreenRecording2025-09-01at14.29.55-ezgif.com-video-to-gif-converter.gif

                                    ScreenRecording2025-09-01at14.39.12-ezgif.com-video-to-gif-converter.gif

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

                                    Oli UllmannO 1 Reply Last reply Reply Quote 1
                                    • Oli UllmannO
                                      Oli Ullmann @DanH
                                      last edited by

                                      @DanH
                                      Okay, I totally understand what you mean!

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

                                      10

                                      Online

                                      1.9k

                                      Users

                                      12.4k

                                      Topics

                                      108.3k

                                      Posts