HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode envelope ?

    Scheduled Pinned Locked Moved General Questions
    36 Posts 6 Posters 1.5k 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.
    • lalalandsynthL
      lalalandsynth
      last edited by lalalandsynth

      Bipolar Modulation works correctly when set to negative.

      FROM freq to zero .
      Bipolar Negative.gif

      BUT, when set to Positive , I dont even know what it is doing but it is not going positive from the set cutoff value, which it should.
      Bipolar Positive.gif

      So this is a problem , just wondering if it can be solved somehow with scriptnode.

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

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

        What happens if you leave the frequency knob at 20khz but you use the table envelopes points to set the frequency range?

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

        lalalandsynthL 1 Reply Last reply Reply Quote 0
        • lalalandsynthL
          lalalandsynth @d.healey
          last edited by

          @d-healey That does not seem to work either ....should it ?

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

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

            Seems to work for me, or I'm misunderstanding what you want
            Peek 2020-08-20 16-04.gif

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

            lalalandsynthL 1 Reply Last reply Reply Quote 0
            • lalalandsynthL
              lalalandsynth @d.healey
              last edited by lalalandsynth

              @d-healey Yes, that seems to work somewhat . But I cannot see how I can have a user set a filter freq on a synth and the envelope being positive from that set value...which is the correct operation?

              I think this should work something like this, for modulating parameters .
              Adsr.png

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

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

                @lalalandsynth said in Scriptnode envelope ?:

                I cannot see how I can have a user set a filter freq on a synth

                You always throw a spanner in the works :p I didn't know the user needed to set the value.

                You could use a knob to set the table point but table points go from 0 to 1 so I don't know what the formula is to convert that to a frequency value. I think some googling will help you with the calculation, or maybe @Christoph-Hart knows.

                HiseSnippet 1303.3oc2XEsaaTDEcV6LErKIPipBk2VEQkbDkH6RRADfhSbhqrZShSrSg2plr63jQY1YV1c1PLUU7DR7mvKH9FJeC7CvmP+Cf6L6ZuqaWRcWR.RWYY44N26bOycNyYl0cCjNzvPY.xpR+g9Tj06f6MTnNt0wDl.0YSj0b3sIgJZfcroMF5SBCotHKqx2WavpxLHyyyWaCBmHbnolPnGIYNzGx7XpTqca9.Fm2l3R6y7x38JM63HEsjbYDfmx35HehyIjin6PztUBirt1VtLkLnmhnngHqY1P5Nr2wxuSD6+iXgrC4TciFndv.Eatsj6pQr92nVGy3tcGMuCQHKb2zpP43pvMwaybYismVMdOSG1oQjsdXU57fWiBBOqLvalX3cCbOm.luJsGM1tNti.VnFPfkfrvJ1WToeyB2RBdHTK6QNg1N.ZLNhZ2qd86XuZ85K8EyVc1pvBQnx9TRfceB.4sDmR4ReZC6ux1vOV9HpxzyXHTaQSa6wttX7HwDblfZOHR3nXRgsT7.g7vFZjDH40bjd9RAfo6.YiGQWZ1pOY1pUlLqKGNJaRlPUC.Z7GSDvuVdUctdpIeilh..aMZrqsnImKtjdfRxbKBmeHvupMIfzCTFrtiTQ2UTaopOoZkpOsp8K10fA41WxfwoA41sl2GbdAVSD4cHMXTMYji.AXRF10lNFlSbMIiiRQGASsqOMocJGrQNbPTRQUyFSPH3pxvEmKgK1iyboAHFLHuE1TQQFvmUM.cPmMIJxngAFQHK9z.ESOYr1jdJnVDSwqf2jFdhR5a7MYcDYU8UlzyFmvmseygoY+flgpg5Ry0LNh7XttZBUHSW5S86OVKLZv.1Y5ZwsQCXbuPEjpNdfPDxZd7AgTaW5.RDWYGdBHK.z6Snt8kFEJOoK30B3cjAdDN66otcoAN.z0Qid4cxfdhzMhSTSJxnUVS5PCtr6l06XE.nGlU480P4odtJO4tpOkv8F3tLkyw4i2R4fWX8+xFuI53yh2Zv.piJEryfa+MEUztXPYtXnbcbOPGzHdZ.xBl11eM4Tp88oBZftn13u67U6e7W94o87U+o970ccTP56GPDg9xvIF3dTOVeXSWXVi.2uc.8a2WuJm0dKIIH2td9ZsgIYtwzinhBLzk08jQB0DzixE5fzI20jw+bNUcl+CNz+heq2+bkhxSGbeE2KoxHL1i44mdvsAiyCJ4F4xwGmOAJ2VJj9GKELmrLf8ofn6QGQCxh8bmPqqTvo3oVtYy8obJIKa9Ca9PfERB11HNWnZQiouVbdqW2BGCWa8NS62LT3K+FjBeAuVdB8edbWIeXLYtMiC2r1.nJ33FMNmWdBgzhjQTgSZU7m98l6kkBLI8cwl6EA2vHSU+Y7lav7kbRPNqHm8kWbr8YlRZyB3wSpKKtdAWvpFi52EOw6Yjv0eg2i4xSsx9W+A2WVsZklwNYfg45x5KVl3VFi2Fe2UVd7ym2B95zcguF7QiMd5tnKtU8RS4p96mnwc0Rh6V3QU3qXJyZcjqN38CvIRT1ZogqN3dN7d+O.r6KiTLwQaS.4F3ETw6D40CtLuCE.pPP4PhvVkzWHOtccc63ayKbMM9S3IoyF51VIc1XTm+qjCOhSf7wNw+SBZsk21XAl2Bye0WE71511i+KDv35KWW+J6rG63nOh+ig5S9wb2BDymTfXVo.wrZAh4dEHlOs.w7YmaL5W.Z8HkzKl+CF5tU7wPVaIzmIY1Jf9K.ZRv8AC
                

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

                lalalandsynthL 2 Replies Last reply Reply Quote 1
                • lalalandsynthL
                  lalalandsynth @d.healey
                  last edited by

                  @d-healey hhehe ;)

                  On a regular synth , the envelope on the filter will add to the cutoff position , unless of course its inverted where it will subtract from the cutoff.

                  As it stands it seems not possible to make the standard behaviour which rules out a lot of synth emulations, so i was hoping that until this is fixed i could hack it somehow with scriptnode.

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

                  1 Reply Last reply Reply Quote 0
                  • lalalandsynthL
                    lalalandsynth
                    last edited by

                    Also, lots of clicks and pops when holding one note and playing another fast.

                    HiseSnippet 974.3oc2X0ybaaCFFTRHWU+voIwM0ciCMS9RNwDGk1IKaYoXe1xV1Tw1a9PHgDQCHfJInS0VG5P+KzsdWW5T+Oz+A8tNz09SvasaM.jTlj17jYniSpCG7422W7B9fG7vGBp9dbKruO2CnUevjwXf1GCMmvDNscPDFXi0.ZyA6g7EXO8nTqNYLx2GaCzzp9TUBs50.gWmr7pHJhYgSRA.6yIV3sHtDQR19s1jPocQ13AD2TidoVaXwYs4TdfDOUgM.iQVu.MBuMRMrJPf1M5XSDbOSARf8AZ0VkaOwzg+RVz32m3SdNEqBL.lxIJJcWN0VgX0+CZ6Pn18mtt8A.MX+DVnZDKLOrGwlbZ9D13SCKnmzQZ9PqxrfmQIgm14g2mA2BOBI3GPDN6gEdjQivdg3ag3J5uTVR+zZFYwY0r3rZwv44wFnMmIvLgZSMAj0h.ojp31ATIXxveJQSbABOqdZC0j4SDSRKpdMH0F4RpF4A7BB2aA6SDVN4i2J4fW490UMdi0.eBryvgXKQBXqA6dXY0ikCJyEAkOBZRX3PeiPfb2vX8CPGi0eJlg8TjpwLrN9ihZcLtvVG6XIj29AdHl+XtelI1D6RFvYJFII4y7wc8ve6dpc4z4ayQd4V5jk6JWj41iIRD3EJWVwkGvDYjGUKkGQ1mZRM9bLLp8NvO6M+idWdmhpECtWfka8oXzj3Nlh6vNFS4xLJLda3Z3gn.pXZ1rh7dbFerCmQrRq.RLrSg8bWPqHDxW.ljY9V6goXTZ07W1ZKoJD4I4IbI4BihyEyZ+ZAXDb0UOYp+9gCe02ib3K4INhk+2F1mSmDIl6Rnh3iaTGFELKyc.PYRFfYVIr3O9ms1MN36m+29qkyJemu0tAHZJV+e+mQ+9pjwbJxqP6HkWsWqfxl6BOcQcUo0K4F1GFg5aBGfd9YrqtUTN8KoaE.bwtU+8ur8udF2pe9mtyOzJZPgvXMj.AzdL7QMeP1qi2Yy8ae3hq6rtySZKi+lcj+Y3hpResJd3Nf3YN07bO3CWJt8lhlMaGNOm1W779FTnTofBkOO1V75kq3BvoL70Lybk0y0G79EvXWMckax0GbOGb2+G.183ABBaTOjzg56jeF+1Atlxy+agk.kwvT4MBpUQcF9n3Fp3nO.fYGF7exq3hFpXs3hFSK9V4d3hr73GI+9EgGmp7V9fvLx0MK7G9nNrmJV2.bLhFHS.gMdPCfq7f6GYYoNUv8k7S987vRzyiJQOKUhddbI5oYI54IknmuZl8n9loUBDb2H8uLQ+NQuFRqCS8NovGE.uBPaTVDM
                    

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

                    1 Reply Last reply Reply Quote 0
                    • Casey KolbC
                      Casey Kolb
                      last edited by Casey Kolb

                      The whole HISE modulation system is unipolar like this and it drives me insane. Very unusual behavior for sure.

                      The only hacky workaround I can think of (other than overhauling to scriptnode) is to set the backend value of the filter to the top value of the modulation range you want, but set the knob in the interface the middle of the modulation range.

                      Fortunately, you can achieve pretty much all of the same results with this unipolar system, but it's very unintuitive.

                      Casey Kolb
                      Founder & CEO of Lunacy Audio
                      Composer | Producer | Software Developer

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

                        @d-healey

                        So basically , a knob on the synth to control freq on the filter like normal , ie. knob set to freq in properties.
                        This knob is also converted to 0-1 and hooked up to the table where it tracks the freq set with the Freq slider.

                        Then when the envelope to filter is engaged , the envelope is already set to the correct freq and when you move the freq/cutoff point you are really moving the table value , disengage and it controls filter like normal

                        Bunch of hoops , but possible ..However!

                        You cannot set the amount , the filter now always opens fully. (When the attack portion is over)

                        You should be able to add envelope to the set cutoff point , in the amount you want.
                        Basic synthesis :P

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

                        Casey KolbC 1 Reply Last reply Reply Quote 0
                        • lalalandsynthL
                          lalalandsynth @Casey Kolb
                          last edited by lalalandsynth

                          @Lunacy-Audio said in Scriptnode envelope ?:

                          Fortunately, you can achieve pretty much all of the same results with this unipolar system, but it's very unintuitive.

                          Can you expand a bit on this as yes , its driving me insane as well.
                          If I can somehow achieve a positive envelope (and preferably inverted as well) from the cutoff point , with amount setting, then please tell me how :)

                          https://lalalandaudio.com/

                          https://lalalandsynth.com/

                          https://www.facebook.com/lalalandsynth

                          https://www.facebook.com/lalalandsynth

                          1 Reply Last reply Reply Quote 0
                          • Casey KolbC
                            Casey Kolb @lalalandsynth
                            last edited by Casey Kolb

                            @lalalandsynth Yes, totally agree.

                            I'm not using envelopes but I'm using LFOs all over the engine I'm building, so I'm not sure if the behavior is slightly different, but it's definitely unipolar in the same way.

                            An example to achieve the same behavior with a filter in bipolar vs unipolar:

                            Bipolar –

                            1. Set knob value to 50%.
                            2. Set modulation intensity to 50%.
                            3. Knob will modulate from 25% to 75%.

                            HISE Unipolar –

                            1. Set knob value to 75%.
                            2. Set modulation intensity to 50%.
                            3. Knob will modulate from 25 to 75%.

                            Obviously that's a pretty stupid example haha, but you can achieve mostly the same results with either. The latter is just more confusing.

                            Casey Kolb
                            Founder & CEO of Lunacy Audio
                            Composer | Producer | Software Developer

                            1 Reply Last reply Reply Quote 1
                            • Casey KolbC
                              Casey Kolb
                              last edited by

                              For something like a macro control, it typically works as a positive unipolar modulation (i.e. starts at 50% and adds the modulation intensity) which I think is what you're referring to.

                              A good reference point: Serum treats macro modulators this way, but treats LFOs as bipolar sources. I'm sure you already know all this though.

                              Casey Kolb
                              Founder & CEO of Lunacy Audio
                              Composer | Producer | Software Developer

                              1 Reply Last reply Reply Quote 1
                              • lalalandsynthL
                                lalalandsynth
                                last edited by

                                Yes, I am referring to how almost all analog synths work when you add an envelope to the filter ...hehehe :)
                                Everything would be so much simpler if HISE would just stick to how this works normally.

                                Now obviously this might be fixed (I certainly hope so ) but I was hoping I could do it via scriptnode as it appears to me that the envelope system is unworkable as it stands.

                                https://lalalandaudio.com/

                                https://lalalandsynth.com/

                                https://www.facebook.com/lalalandsynth

                                https://www.facebook.com/lalalandsynth

                                1 Reply Last reply Reply Quote 0
                                • lalalandsynthL
                                  lalalandsynth
                                  last edited by lalalandsynth

                                  Normal Bipolar LFO to filter behaviour, and in fact it does the same for Pitch .
                                  As you can hear , it adds and subtracts from the set cutoff point.
                                  link text

                                  Normal Positive going envelope FROM cutoff point, only adding to it ! Unless you swicth the invert button in which case it will subtract from the cutoff point.

                                  link text

                                  Another example
                                  link text

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

                                  1 Reply Last reply Reply Quote 2
                                  • Casey KolbC
                                    Casey Kolb
                                    last edited by

                                    100%. I'm with you haha

                                    Casey Kolb
                                    Founder & CEO of Lunacy Audio
                                    Composer | Producer | Software Developer

                                    lalalandsynthL 1 Reply Last reply Reply Quote 1
                                    • LindonL
                                      Lindon
                                      last edited by

                                      ..and theres definitely a click in the envelope...

                                      7d5e7b13-67c4-472a-9e28-b9781108ae1f-image.png

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        Does the click go away if you wiggle the hold knob? I remember a glitch there that appeares sometimes...

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

                                          @Christoph-Hart nope - sorry it doesn't.

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          1 Reply Last reply Reply Quote 0
                                          • dejansD
                                            dejans
                                            last edited by

                                            I must mention I'm quite new to SN, but as I was messing around I came up with this partial solution, but have no clue how to do a proper envelope for the filter. As it stands, the filter cutoff is modulated via the Gain envelope...

                                            HiseSnippet 1833.3oc6ZsDaaTDFd13LIMtIsE0JpDBUYJWRkJQwNo.UHjchsSaDIstwoOtElt6D6QY2YV1csScKbqf5MtBHA8.RHDH.wsxIxEDbfHUod.INAmaOD3.G3RYdrq2cscbbCPSRU2Kwy+LyNey+2+qY1TxgoiccYN.sgVrgMFnMLrbCpW07UQDJX1B.smCtLwzC6fo08vtdK4p6Pr8nLCLX5F1HWWrAPSKwYDiWan9AxmMxNMxDQ0wgh.fKwH534HVDuPokx8FDSyYPF3EIVQF8j4lUmQyyLY03XKAbbfMReETE74Phg0GDnMPQChGyorGhiKfV+SyLZTtJaUpZ7Wh3RtpIVzHMnL+EoDOCyzPfXwuA4qRLMJEnCbA.MXoPMRBkF4Hv4IFjlxC0LGR1QpvYDUen0W2fW5nva7NBuzc.dfHnqeE53ffYTyD4EGYB5vuCBiFCYyR8vTWhWinz0NJbeFXIhmd0Ni295.d4D0+230m7GAVb4kw5dgfse3LW4wKSe.ET1OrLghkdmRf7rx1otLpNN0YvTriPoltKNk2sWcJs6Ymxyq6wW9EcPTWalajgtw2WFaQVjQEZjvU6ht3Ybvu0BBVNp77LjSG6Ziryv2jcbNkQd0bjlKSYwpQCvetIl39Y0RzybRzfCw8ZhL9NDon+mFo3QQ0tEwc0hf2Cpv6fvoNagxK3GgP96TEo0wlLabby74YTlcUFknG09XArmCoRErSTz2wszTdd7jK4q4TOlqQArNpQaRUCtcIyg4PKp3yx2ws85ZJ32tUtx0b8BcPey6brit1BXSLxMlKWQc17hjscgBRzaTvVjtqalIi.UaxTx.B6tylbf.rpXjc2fcXnzrXufd8fPeC18DJ1C.88k1KnZ6ZAPIdBp.nsYFAecWRXY4gO3qux2Q0L0LWId9.kXf1W.KRqvKeXLcGLGZEbsOG1aUlyJid7BkKc7S7ZijbjjKWipKT4orcv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oiJ+Lq0IW5L8.di5ROf7yfzMO5cEQgdXiaW5vEtWVk4RYKFyqJgVYWDta9w45hpV94L1hfmaZiXkINf3ElDNCOPjv2AzqdwgHFx8ASGCsxaaKloaw0xookmwCgIuLOY3wvlQJ1v+vSwJ0HHYAeBRVP52OqAOHm3Bc6PwG6zVYh8+lVqguJeXXQZ8T9e10dEj8dR11NgZuo9Ct.g815+vQ1JKbwYKf7P9aew8kFI2mlVAbchNVscFBV.6thGy9wy0293XMrP5NrkzUWXsvFXeRIb6Up7+HngfyKZmJMnthcDd1iCrHFjkz0Ee0hWJM.z44jYaLmI1FyYxswbN01XNu71XNux1XNuZWmi3e4gop4wrTeQKtfREkFvZZgGvJA3evc5wRe
                                            
                                            lalalandsynthL 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            53

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts