HISE Logo Forum
    • Categories
    • Register
    • Login

    Problems with Global LFOs and polarity.....

    Scheduled Pinned Locked Moved General Questions
    13 Posts 3 Posters 239 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.
    • LindonL
      Lindon
      last edited by

      Ok heres a simple project snippet:

      HiseSnippet 1216.3oc6X0sSiaDEdLIypMraWUZQUUUsR9hdAq5pUjtT5eWPf.AEUBDgyRqTuX0fyIIivdF2wioEU0mg9J0Gg9HzGAdCZOisI1FLgP1PUW55Kr7bNyY72blyuSWkzEBCkJhUsdmE.DqGScNSnG0bDiKHs2lX8DZGVnFT1Ij15r.VXHzmXYUYWCAqZUIwOmuwVLOlvExHQHGI4tvdbetNiZ2FeG2yqEqOzi6ma1q0nsqTzT5IiP7TgtJIf4dBaHrOyLsEnDqGrSetVpbzLMDRrptkr+YNij+rHY9GwC4G6AlA0IN3BkPtkzquAwluIMGw8528h8cHAWztYZgJIZgkoc384iomoMd2XF1YRjWeXsPQ3Uo.7pecvqDHYkCRUSfzRTGWEOPmwwfmGQaKvCmALTsmGJIykX8GzlRbBB8y8Ym.sT3fwBrx5qt5yrwWO8aGDIb0bovVJ1WpgCDq7zE+0Eqs3usn8kYMXPo7L+FkzyCTkx1bRqljfqHh7OFTOy9TlWDLdh31unN8ASmN0MYWmahRQaAWeP.jNNynndIm.jT0F90KauMSyLGJozv4E.JM2.GqsgSQK7jinZzsgvSzx.zF+JmenkirejGSWzbx3Ckx.0GENCMGThPt9r79XW1Fq50qOVsTWfR2sSIbWh1kqcGUNdWnD7hZs6Z7l5w9NzcFL.b0YfsJs0OLQ2ypSmozzCkGl.kOhtqm7XlWlBDsaPTAItreRJa6w7sGOg5SH95eNswWCl53qVUlWArpdWEC8eU662+JGMgyUOxaQRo7Y.VJAxT5dsNHUChekAx52DHIjs3AROlxvukB9oHP3li+esgwZoclwVieuw2yNEFHU9og1Fuc2CFh+y7T5A9ARrpA27+PGeoTOhKFVzFb4F6IkA6HXnFoe9Eo6HVnI4RHnKrL3x1SlTARSOo6I4Y1dnPpfjDV4o2LJTK8uXCDW4fiFBhCia8iz0W643yfOy79qahudwAymwj4WA.KL0VrFKgwG4Fah+imCIAwiMBeC.wSLqWk6QY8tEP4PYjFct6vzJ9ufgl1Ox2ASq3BHRDBvC+QTqEL9hIiW0LN1gFD8iG723SJy5lwVoLqeAyRxrdklSdLcpRcd9cepy4SqHz6EoQeaUsuw6emCJOIAJOh5ftYw9ew.4ChGaaxxZuKfNfWsRj675WOvUi+9dJlHLPFVXgc.edOovnQxH9xPvj34PyobgBFjLUorNeiV3lrTYbX5HUr4xl9xHQgpVlbvgqsNfhdM4l+81Bte8iTTY5f6MTgcsKvnC2OvC1QbJ3gM4Giw2C6pe.KxSeA0hF4cjBYvHofWn72CALw3vgfJO1KcCsoVyxWV6xMND7.Vdq4OswdnUHSg5IXF0E296apzyqOjl.Waimo88iH7u1UvMic0kZy8wo8bZznGwTblPOdGDCd6KZJMVmmNkaQyeXwOYM+gQ.6whwsYtmBJchbwDSZPB6VBKpR.wWPGw5YS55J9lK0G5byh7+a05de4e3ybUxW4lbmtFK9GFSA0sh3KwuFsiYrccR787l2iyGyQ8JW2hK0UD7ymUAewrJ3ZypfewrJ35ypfe4rJ3WcyBZJgXyHszOI.Jgzo6NIALrFecNVUH+CSwPAy.
      

      So the Global LFO doesnt behave how I think it should.....it doesnt matter what I set the Pitch Modulation "receiver" to (mono or bi-polar) this problem happens any way:

      Set the Global LFO Modulator to mono polarity - and its intensity to 1.00 and it behaves in a way I'd expect - it modulates the pitch upwards from the played note and back again...but set its Intensity to 0 and ...I'd expect it to have no effect on the pitch - but it sets the pitch to some fixed maximum.....and the nearer we get to 0 the nearer it gets to this "offset pitch" -- thats got to be wrong

      Set the Global LFO Modulator to bi-polar and it behaves as you might expect - when its at full intensity.... but drop its intensity, and... nothing changes! - That's got to be wrong doesn't it?

      So what I want is a Global LFO that I can assign in different places in my instrument - I want it to be bi-polar. I want the assignment spots to have their own ability to add intensity(depth), AND to have an overall intensity(depth) that I can set for the Global LFO....is it broken or is it me?

      HISE Development for hire.
      www.channelrobot.com

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @Lindon
        last edited by

        @Lindon hmm, it seems a constant in the Global LFO's Intensity Modulation slot will work...in reverse

        HISE Development for hire.
        www.channelrobot.com

        LindonL d.healeyD 2 Replies Last reply Reply Quote 0
        • LindonL
          Lindon @Lindon
          last edited by

          @Lindon which is near useless as it turns out as it inverts the lfo - so my custom LFO shapes are all wrong... how do OI get this to behave properly?

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Lindon
            last edited by d.healey

            @Lindon Oh me and Christoph had a long long long discussion about this - you will find it on the forum somewhere. The old solution used to be to have a constant pitch mod with the opposite pitch shift, but that's hacky and, I think, no longer needed.

            You must leave the global modulator as bipolar.
            You can set the target mod to unipolar and adjust the global modulator's phase and the target's table to try to get the behaviour you want.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey
              last edited by

              Actually, it looks like they most both be set to bipolar, otherwise you'll still get the pitch shift when the intensity is at 0.

              So the only way to make it pseudo unipolar would be to use the table.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey nope, cant for the life of me get the Global LFO depth to change, can you show me an example?

                HISE Development for hire.
                www.channelrobot.com

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @Lindon
                  last edited by

                  @Lindon sigh now I cant even get the Global LFO to behave like a bipolar - it doesnt matter uni or bi-polar its just modulating in one direction only...

                  HISE Development for hire.
                  www.channelrobot.com

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Lindon
                    last edited by Lindon

                    @Lindon yes this is broken...

                    HiseSnippet 1263.3oc6Y0saaaCElx1bnNsqXYqXnXXCPWrKRwBBhSyRa2tH+3XmYL6XiH2rgsKJXjnsYhDoFEk6LF161dD1ivdDxavFojrLUiqisVR1bQ8EBlmCOje7vyuRc3LabP.iCLJ2cjOFX7.n0HpXP0AHBEz3PfwCgsPABL2LlzAi7QAAXGfgQwiTDLJWBD86xcO.4hn13Ij.fSYDabShGQLgZm89dhqacjCtKwSa1auWCaFsJykEJwSQ3l.ej8En93iQpoU.BL9fZNDAiaIPBb.vnzALmQVCXulFO+SIAjybwpAU.VxEJlbclqiBwJpfpCHtNcFetC.xEsyDsPwXsvifsHNjT5SzFeTDCyIRnqOLJjEdEy.uJ5vaSM3MEHYnAoRwPZUnkMm3KlvQgm6CaPkWN8PR0tNThmKv3OfUYxIPEa3gt.WmKGjJvZ6r4lqaJe7jusWH0VPXTSF8Xl.2lt1SV42Vo7J+9JluIqd8lJO01vYttX9TYqto4yRv0ngdmg4qaND4FhSmn73mUmBe65T8qb63Ss1DYzFThnsOl91LD.IpJ4+dYiCQBj5hHglbd9Xtfnffwg3gRq53qkxvCwAWHX9R65qbmIsVXNgtHQVSHkeSBCoNHy8l5xgFPDiz8qtwrqlWHtJrCQXOX5XrvTvnTScafwDuwODVqWOrsXB.KAq+i2Ntd5a+8h29OCdjK6Lj6DEkzlPhDbrK3Wjv1LkuY5DpLi3k+47FuzetiWZTbVwGqjy3ik9eW7w40N9StxUSvcn2Vln3qFCSHrY81IZJ4+l.rJWOvNf3ybQbkKXcN9WBwTaM9+0tJKjFTcqoe.MD2iw8RBUkP+w60D2Wtm5qcWrmOSl42VWbKOFSLfP6m0tC.ZxX90nHoVvQeQ5L.EnRPDfE5jUKaWVbUDUcY1WnuTM5SYbbbRGc5UCCDLuwG.fQM31Oeizeunp7wv1Wb94m+BswsFrUyuJcRCaKezSeLvRf8ihra7yvc1diT9Qx+z12LiWjXgUlsETg41PWYLkZ0nLqVbC8Rymg9riV.VHDmZGuDf3YlTr361IEOgEJjwAZgDbxuJihcbnmkLqiMVt6TJ1UUXlQAkaa73MUiiBgfoNQC9a4uDlUTiMRXVYLyoj38J8h7.3bkY8x65Lq4syC3Ral02WD6xRQrOLd6uOzR51D4OEs4eZzXSUBVyivRGpqVDxsd4pssExsuKGQC7YAYVXKrGoKipzBSH9x.rJgwIpayL0JvP7ox5xcqKOjSUFKjHjGYVruGKjJxXFrbUF8cZVv+Cc7yTOc4wXzh346hqQGhcksnGgwOV1SdOTnqXL0r10sXTl+.FkjoX2Svxba86i45XepGn8EBjdQrOZuSvtXjtA7WtWSogGhK0S3bpKprvugnode8XXLbMUNil+at2V1J1Zg8Zu1JvSr497jtJUZzSQbBhJROAQf2bbamQ57jojyV8JJC50EEga0bGh4hX4hHF2KSAn5UWQwQuRMfw5y5ER7MuQWm2XVjfEnY2sttTwKqM6JWlaslc+om0zQuYW5qG8cuuY222ratQb9KL8lAJ2EMU9txd3gr4rWYG+sRTNK2KhhT2Ri93XkgsTiMq.h99I5AW7jUR9Ja6rK0UDbq7J3SyqfamWA+57J3N4UvmkWAe90KnpP+8Ckg+iKyA.Z0oVbTaizrNFEA+SeCk8Z
                    

                    So I have set up a GlobalLFO and Local LFO in exactly the same way, but swap between them and:

                    • the local bi-polar behaves itself....

                    • but swap these around and all sorts of silliness
                      starts to happen:

                    • the Local target starts adding in a constant value even if its Global source is turned off!! Turn off the Global LFO and then turn the local target on and off to get an octave jump in the sound!

                    • set the local to "no connection" and it still does it...

                    HISE Development for hire.
                    www.channelrobot.com

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Lindon
                      last edited by

                      @Lindon Here's the thread I mentioned - https://forum.hise.audio/topic/469/global-pitch-modulator-problem?_=1722602630363

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @d.healey
                        last edited by Lindon

                        @d-healey yes I see, but its all broken for me here now......I JUST wanted a simple intensity response form the Global LFO in bi-polar mode ...

                        @Christoph-Hart here is my use case:

                        I have 6 Global LFOs, they each have a nice UI that lets me set all their values..

                        I can assign each LFO to a number of different targets, voice pitch, voice gain, send amounts, filter freq. etc. And each of these "targets" has their own depth/intensity....

                        I want a global intensity(on each LFO) as well.... uni polar not a problem, bi-polar = not working, well doing all sorts of odd things actually...

                        in fact the entire Global Time Variant Modulator target system seems broken to me in that I can have it set to "No connection" in a pitch target and its adding its own intensity to the pitch...which has to be wrong doesnt it?

                        Global Time Variant Modulators seem to work correctly (i.e. dont add their values when no connection) when applied to gain....

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon had similar headaches with Halo....

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

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @DanH
                            last edited by Lindon

                            @DanH thanks yes, its a problem child alright...

                            Adding in the Constant to the LFO Intensity gets you exactly where I want to go - except the LFO values are all inverted - so I need to flip them (effectively multiply by -1) but I cant see how to do that...

                            ..perhaps a Script \time variant Modulator - but I dont know how to use those... any one point me at any documentation?

                            this is hardly helpful:
                            https://docs.hise.dev/hise-modules/modulators/time-variant-modulators/list/scripttimevariantmodulator.html

                            HISE Development for hire.
                            www.channelrobot.com

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @Lindon
                              last edited by

                              @Lindon ok so I have a hacky work around....if anyone ever gets here with this problem...

                              Set up your Global LFOs as bi-polar...

                              add a constant modulator to each LFOs "LFO Intensity Mod" section - and invert the values produced by your UI's depth control to modulate this instead of the LFOS intensity...

                              At this point the LFO will work correctly... but will send modulation values in inverted order, so you need to invert every "target modulator"... now your modulation should work properly, but if you are using a plotter to display the Global LFOs state, this will also be inverted...so:

                              set up a "dummy" sound source(a silent synth wont work) that issues no sound and add to it a "target modulator", suitably inverted, for each of your Global LFOS, (you can do this in the GAIN section if you like - it really doesnt matter where - but Im gun-shy of the Pitch section right now) now use the output of these in your Plotters...

                              HISE Development for hire.
                              www.channelrobot.com

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

                              47

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              102.1k

                              Posts