HISE Logo Forum
    • Categories
    • Register
    • Login

    Custom Envelope?

    Scheduled Pinned Locked Moved General Questions
    29 Posts 8 Posters 1.1k 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.
    • MorphoiceM
      Morphoice @Straticah
      last edited by Morphoice

      @Straticah brilliant!
      Knobs for all the curve slope ( with 50% being linear), although the strength of the slope would be open for discussion. Some synthesizers aren't taking it far enough.
      To make it versatile for filters it would be nice to have an initial level, sort of like the Yamaha CS synths did it.

      arturia2yamaha-eX4aNV5PU5eWIzcB6uGHnI4zcZefpT73.jpg

      And when we're at it it wouldn't hurt to have the abillity for the Attack Level and the Hold Level to be seperate levels to enable a forced countouring of the sound no matter of its note length. Especially useful for one shots like drums.

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

      1 Reply Last reply Reply Quote 0
      • A
        aaronventure @Straticah
        last edited by aaronventure

        @Straticah You can already do this by extrapolating on the example that @Matt_SF posted (which apparently I created).

        • use a panel so you can define your own control scheme
        • have clearly defined separate stages: attack, hold, decay, sustain, release
        • curve setting uses skew and is done on the graph
        • timing can be done on the graph and using the knobs
        • based on the curve, set the points in the hidden tables which are connected to the backend tables (or which references you just pulled)

        Because you're using skew which is just Math.pow(input, skew), you can easily draw the correct envelope.

        The great thing about scriptnode is that you can define as many stages as necessary, and using the new compare node, you can easily move between stages when they're finished, so that their size can be fully dynamic. You would do this by using ramps for stages, plugging the ramp output into a compare node which would return 1 when a ramp is 1, setting off another ramp. And there's your flex envelope.

        Matt_SFM StraticahS 2 Replies Last reply Reply Quote 0
        • Matt_SFM
          Matt_SF @aaronventure
          last edited by

          @aaronventure said in Custom Envelope?:

          @Straticah You can already do this by extrapolating on the example that @Matt_SF posted (which apparently I created).

          Yes, here :
          https://forum.hise.audio/topic/8685/merry-christmas-polyphonic-flex-envelope?_=1707308327466

          :)
          Nice job BTW

          Develop branch
          Win10 & VS17 / Ventura & Xcode 14. 3

          1 Reply Last reply Reply Quote 1
          • StraticahS
            Straticah @aaronventure
            last edited by Straticah

            @aaronventure yeah there are some workarounds. A draggable and skewable envelope should be default in HISE and native (no code).

            building user interfaces in HISE :)
            web: www.vst-design.com

            MorphoiceM 1 Reply Last reply Reply Quote 2
            • MorphoiceM
              Morphoice @Straticah
              last edited by

              @Straticah I agree. the workaround is just a workaround, however ingenious and well done. But that does not compete with other plugins - usability is key in a world this short-lived... we should aim to get the best possible user experience, hence a good stylable and draggable envelope should be a priority feature

              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

              StraticahS 1 Reply Last reply Reply Quote 3
              • StraticahS
                Straticah @Morphoice
                last edited by

                @Morphoice feel free to post a feature request with my draft. I didnt had much success in the past with my feature requests so far so id apprechiate if someone else does a post or suggests to christoph if you want/need that feature :)

                @Straticah said in Custom Envelope?:

                @d-healey said in Custom Envelope?:

                I think it's a very good feature request, along with the flex envelope.

                I took the time to set up a mockup if you wanna post a feature request. @Morphoice let me know if it needs any changes, i tried to stick to the HISE styleguide and made sure we dont crop the envelope to soon so it allows to display the full handles and not crop them like on HISEs other displays.

                AHDSR_Mockup.png

                building user interfaces in HISE :)
                web: www.vst-design.com

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

                  I think we have to keep the AHDSR envelope as it is and add a new module that gives you more flexibility with a performance tradeoff. The AHDSR envelope is optimized to the bone to be able to be used with hundreds of sampler voices without adding much if any CPU and a flexible envelope with dynamic loop points & adjustable curves is another beast but I second that this might be useful in hybrid synth scenarios or other use cases.

                  d.healeyD griffinboyG 3 Replies Last reply Reply Quote 6
                  • d.healeyD
                    d.healey @Christoph Hart
                    last edited by d.healey

                    @Christoph-Hart said in Custom Envelope?:

                    I think we have to keep the AHDSR envelope as it

                    But can we get the bugs fixed? The decay/release curve? And what about an updated GUI tile with editable points - same functionality as the current AHDSR, just a more useful UI?

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

                    1 Reply Last reply Reply Quote 3
                    • griffinboyG
                      griffinboy @Christoph Hart
                      last edited by griffinboy

                      @Christoph-Hart

                      I'd appreciate this. I've been working on my own one that uses SIMD by splitting the buffer into batches of 4, and is more modelled on the serum style LFO / envelope table.
                      If we could get something optimized that operates like that I'd love it.

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

                        @Christoph-Hart

                        Hi, I just had a question about the flex envelope feature request.
                        Is it going to be polynomial approximations used in conjunction with a state machine (and possibly SIMD), or a lookup table?

                        You said that there would be of course a higher overhead with a new flex envelope but does that mean you are planning to keep it efficient and limit the flexibility of the envelope, or will you go for a truly flexible table, like in Serum for example? My assumption is that it's likely to be LUT based right?

                        I just wanted to ask, because I might make my own envelope and not wait up if the flex one won't cover my needs for this current project I'm working on.

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

                        56

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.7k

                        Posts