HISE Logo Forum
    • Categories
    • Register
    • Login

    LFOs and intensity.....

    Scheduled Pinned Locked Moved General Questions
    11 Posts 2 Posters 663 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.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @Lindon There is a problem with intensity which Christoph said in a recent thread he will look into. But for this particular issue there is a work-around, add a constant modulator to the sampler's pitch section with an opposite pitch shift.

      So if your LFO pitch is set to 1 set the constant mods pitch to -1.

      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 hmm, oKay but that means a small amount of messing about when the users sets this "depth" - I must programmatically set the opposite depth on the constant right?

        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 I made a little module to do this. You'll just need to edit the names of the modulators to match those in your project. The script assumes you are only using a single LFO, modify as necessary for more modulators. If you have a knob on your interface to control intensity you can link it to the knob in this module.

          const var vibratoPitch = Synth.getModulator("vibratoPitch");
          const var vibratoPitchOffset = Synth.getModulator("vibratoPitchOffset");
          
          const var knbPitch = Content.addKnob("knbPitch", 0, 0);
          knbPitch.setRange(-0.5, 0.5, 0.01);function onNoteOn()
          {
          	
          }
          function onNoteOff()
          {
          	
          }
          function onController()
          {
          	
          }
          function onTimer()
          {
          	
          }
          function onControl(number, value)
          {
              vibratoPitch.setIntensity(value);
              vibratoPitchOffset.setIntensity(-value);
          }
          

          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
            last edited by

            well that works - but with some ugly spikes and.... and its not centred around the root note - so set it work with 2 semi tones and you can have root to +2 semitones and back, or root to -2 semitones and back.... but you cant have -1 to +1 or at least I cant work out how to do that. Still that's not really what happens in tremolo or vibrato playing really - but for other LFO based applications its not good news....lets hope this get sorted ...

            HISE Development for hire.
            www.channelrobot.com

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

              Did you click the little arrow so it's only pointing one way?

              8b93c03a-a67b-4091-ba48-63aa1d85c84f-image.png

              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 thanks Dave yeah - pretty simple - but I wasn't using a self-built onControl for this slider - and now I have to... hey ho...

                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 The slider on your interface doesn't need to use onControl though, only the one in the module.

                  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 yeah that point one way thing does nothing about the offset - it just reduces the amount of the shift - which is a bit pointless.

                    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 What about if you play around with the table? I'm sure you should be able to get +-1, I'll have to try it later when I have some time.

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

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

                        @d-healey - thats my point I think - there ISNT a slider in my module....I'm just wiring it up in the UI, but its a working work-around for vibrato and tremolo so thats fine for now thanks.

                        HISE Development for hire.
                        www.channelrobot.com

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

                        46

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts