HISE Logo Forum
    • Categories
    • Register
    • Login

    How to: Master filter with ADSR env?

    Scheduled Pinned Locked Moved General Questions
    10 Posts 2 Posters 385 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
      DanSound
      last edited by DanSound

      Hello!

      I have two Samplers and I want to have one main Filter with freq ADSR modulation applied to both Samplers.

      There is no option to have filter freq envelope on the master container, only LFO.

      I've tried to put both Samplers into Synthesizer Group, but this way I'm missing Sampler features like independent transpose or glide settings for each one.

      The only way I see is to use two separate Samplers with Filter + freq ADSR and "link" two Filters parameters to one knob on the interface. But maybe there is more elegant solution?

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

        @DanSound Just drop this in and you can control multiple envelopes and connect it up to your UI without needing to script anything https://github.com/davidhealey/HiseUtilityScripts/blob/master/modules/AhdsrController.js

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

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

          @d-healey Thanks, just added it! But I'm not sure how to connect it to the Filter frequency knob.

          Tried to add Script Time Variant Modulator but it gives an error.

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

            @DanSound This is for your second solution with two filters and two envelopes.

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

            D 2 Replies Last reply Reply Quote 0
            • D
              DanSound @d.healey
              last edited by

              @d-healey Ahh now got it, thanks!

              It looks like this script "links" all AHDSR Envelope modules, even when I add AHDSR Envelope for Gain.

              I tried to rename Gain's AHDSR Envelope but it's still linked.

              Do I need to edit script somehow so it will only be linked to particular modules or I'm missing something again?

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

                @DanSound Yeah you'll need to edit the script. It was designed to link gain AHDSRs across multiple samplers but it will link all as you have discovered.

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

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

                  @d-healey Ok, thanks again! Will try to modify it, it's a good starting point.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DanSound @d.healey
                    last edited by

                    @d-healey Just to clarify - two filter is the only solution? Or maybe scriptnode will do the job?

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

                      @DanSound I don't know about scriptnode, I'd use two filters.

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

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

                        @d-healey ok, got ya!

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

                        51

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts