HISE Logo Forum
    • Categories
    • Register
    • Login

    change Simple Envelope release value

    Scheduled Pinned Locked Moved General Questions
    12 Posts 3 Posters 556 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.
    • T
      treynterrio
      last edited by

      Hi there, is it possible to change the Simple Envelope release from 20.000 to 50.000?
      If yes can anyone explain how? Thanks

      d.healeyD CyberGenC 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @treynterrio
        last edited by

        @treynterrio

        Do you mean you want a knob on your UI that controls the release time with a min of 20 and a max of 50?

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

        T 1 Reply Last reply Reply Quote 0
        • T
          treynterrio @d.healey
          last edited by

          @d-healey I mean the ms. default it goes from 0 to 20000 and I want it to like 50000

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

            @treynterrio You want it to last 50 seconds? Why?

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

            T 1 Reply Last reply Reply Quote 0
            • T
              treynterrio @d.healey
              last edited by

              @d-healey I have activated the loop mode on my audio loop player and when a melody is played, the modulations and effects should continue to run as a loop

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

                @treynterrio Ah right I see. This is actually something that HISE lacks, a looping envelope. However it can be achieved using scriptnode. I haven't tried it but there was a brief discussion about the topic and Christoph posted a suggestion - https://forum.hise.audio/topic/3735/flexible-envelope-facsimile/10?_=1711366913447

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

                T 2 Replies Last reply Reply Quote 0
                • T
                  treynterrio @d.healey
                  last edited by

                  @d-healey thanks I'll look at it.

                  1 Reply Last reply Reply Quote 0
                  • T
                    treynterrio @d.healey
                    last edited by

                    @d-healey I've set the value of the slider to 0- 50.000 and it works without using script node.

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

                      @treynterrio But what happens if you hold the loop for more than 50 seconds?

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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        treynterrio @d.healey
                        last edited by

                        @d-healey when I hold the loop it loops until I release it and then it takes 50 to loop out

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

                          @treynterrio Ah I get it.

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

                          1 Reply Last reply Reply Quote 0
                          • CyberGenC
                            CyberGen @treynterrio
                            last edited by CyberGen

                            @treynterrio I had to go into HISE's source code to change this some time ago. Look up SimpleEnvelope.cpp or AhdsrEnvelope.cpp. There you can change the max values of the parameters. I believe you also have to add a preprocessor for it to work HISE_SCRIPT_SERVER_TIMEOUT=yourMaxTimeHere or else it kinda cuts off. Finally rebuild hise.

                            ⚠ PD: play with HISE's source code at your own peril.

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

                            18

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.4k

                            Posts