Forum

    • Register
    • Login
    • Search
    • Categories

    LFO Modulator, start at the beginning?

    General Questions
    3
    15
    376
    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.
    • ulrik
      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 13, Xcode 14.0.1
      http://musikboden.se

      1 Reply Last reply Reply Quote 0
      • Christoph Hart
        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 🙂

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

          @Christoph-Hart Yeazzz! Everybody start voting!! 🙂

          Hise Develop branch
          MacOs 13, Xcode 14.0.1
          http://musikboden.se

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

            That was quick. There you go:

            https://github.com/christophhart/HISE/commit/22a2ad4ab581e172661d7b42344170af257baa33

            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".

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

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

              Hise Develop branch
              MacOs 13, Xcode 14.0.1
              http://musikboden.se

              1 Reply Last reply Reply Quote 0
              • ulrik
                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 13, Xcode 14.0.1
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • Christoph Hart
                  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?

                  ulrik 1 Reply Last reply Reply Quote 0
                  • ulrik
                    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 13, Xcode 14.0.1
                    http://musikboden.se

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

                      Lol that was exactly how it worked 😉

                      ulrik 2 Replies Last reply Reply Quote 2
                      • ulrik
                        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 13, Xcode 14.0.1
                        http://musikboden.se

                        1 Reply Last reply Reply Quote 0
                        • d.healey
                          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

                          ulrik 1 Reply Last reply Reply Quote 1
                          • ulrik
                            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 13, Xcode 14.0.1
                            http://musikboden.se

                            d.healey 1 Reply Last reply Reply Quote 0
                            • d.healey
                              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

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

                                @d-healey Ok, thanks!

                                Hise Develop branch
                                MacOs 13, Xcode 14.0.1
                                http://musikboden.se

                                1 Reply Last reply Reply Quote 0
                                • ulrik
                                  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 13, Xcode 14.0.1
                                  http://musikboden.se

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

                                  14
                                  Online

                                  982
                                  Users

                                  6.6k
                                  Topics

                                  60.8k
                                  Posts