HISE Logo Forum
    • Categories
    • Register
    • Login

    LFO Modulator, start at the beginning?

    Scheduled Pinned Locked Moved General Questions
    15 Posts 3 Posters 848 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

      I have a Message.getNoteNumber that will activate a LFO Modulator, I want the LFO to start from Max value every time I activate it (from the beginning of the sinus wave), is it possible? how?

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

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

        Ok, everybody that wants a phase parameter in the LFO upvote this post. If it's more than 4, I'll do it :)

        ulrikU 1 Reply Last reply Reply Quote 6
        • ulrikU
          ulrik @Christoph Hart
          last edited by

          @Christoph-Hart Yeazzz! Everybody start voting!! :)

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

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

            That was quick. There you go:

            Link Preview Image
            - added phase offset parameter to LFO · christophhart/HISE@22a2ad4

            The open source framework for sample based instruments - - added phase offset parameter to LFO · christophhart/HISE@22a2ad4

            favicon

            GitHub (github.com)

            But I like how there are exactly 4 upvotes, because people be like "Nah, it will be done already so I don't have to click too".

            ulrikU 2 Replies Last reply Reply Quote 2
            • ulrikU
              ulrik @Christoph Hart
              last edited by

              @Christoph-Hart Haha, yes indeed, lightning fast! Thank you! :)

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

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

                @Christoph-Hart Ok I've compiled the new master and found the phase parameter is 8, however nothing seems to happen when turning the knob at the module, and when I am connecting a knob via the property editor nothing happens on the LFO modules phase knob when turning the connected knob, strange!

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

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

                  The phase controls where the LFO starts when it's reset (which was requested a few times already). What are you trying to achieve?

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

                    @Christoph-Hart When ever I activate the LFO I want it to start at highest level

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

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

                      Lol that was exactly how it worked ;)

                      ulrikU 2 Replies Last reply Reply Quote 2
                      • ulrikU
                        ulrik @Christoph Hart
                        last edited by

                        @Christoph-Hart that is strange, I just can't get the LFO Modulator to start at the same point in the phase every time, I also looked at the plot window and I can see that that it is different every time, I use the "LFOModulator1.setBypassed()" function to start and stop the Modulator, am I using the wrong command?

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

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

                          I'm pretty sure your don't need to start or stop the LFO manually. It will restart for each voice, so when you press a key that note will restart the LFO. This doesn't show up in the wave plot because that just shows the constant LFO changes, but if you look at the intensity slider of the LFO you'll see it reset each time a key is pressed.

                          Peek 2019-05-11 16-20.gif

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

                          ulrikU 1 Reply Last reply Reply Quote 1
                          • ulrikU
                            ulrik @d.healey
                            last edited by

                            @d-healey , the way I have it setup is:
                            the LFO simulate an accordion "Bellow shake" so,
                            playing the sampler - no LFO,
                            if certain key pressed - start LFO
                            which means that I am able to start the modulation at anytime while playing the accordion sampler.
                            So my question is, how do I make the LFO start from the beginning of the phase every time I press the "certain" key (Key switch)

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

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

                              @ulrik I don't think the LFO works like that. Christoph will have to give you the details.

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

                              ulrikU 1 Reply Last reply Reply Quote 1
                              • ulrikU
                                ulrik @d.healey
                                last edited by

                                @d-healey Ok, thanks!

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

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

                                  @Christoph-Hart I have moved the LFO Modulator from the root container to the actual sampler and now it's working fine, as you said Cristoph, it always starts at the highest level :)
                                  My bad....

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

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

                                  49

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  101.9k

                                  Posts