HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode Envelope as Global Mod

    Scheduled Pinned Locked Moved General Questions
    31 Posts 4 Posters 934 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.
    • Christoph HartC
      Christoph Hart @DanH
      last edited by

      @DanH Ah I see, yes the root FX container has no concept of voices so it doesn't make sense to give them the voice start modulators.

      The last puzzle piece in your snippet is pretty easy, you're almost there:

      6eb6035b-a763-4d4e-883b-e3204f542312-image.png

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

        Oh hang on, that's wrong. What you need to do is this:

        248eb5e9-4c6e-4dad-ad5d-3d8a326f2e00-image.png

        Now the difference is subtle but you'll need to make sure that both the modulation source and target are in the midichain container. The reason is that the midichain container will chop incoming audio buffers whenever a MIDI message is received so it can apply sample accurate modulation. By putting the add node out of the midi chain you will loose the sample accurate mod value and just apply the value of the last incoming MIDI message to the entire buffer.

        DanHD 2 Replies Last reply Reply Quote 1
        • DanHD
          DanH @Christoph Hart
          last edited by

          @Christoph-Hart brilliant, thank you!

          1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @Christoph Hart
            last edited by

            @Christoph-Hart is the external display buffer meant to work with Envelopes? I can't get it to display on the interface...

            HiseSnippet 1504.3oc4X8zaaTDEeV6LI0tszVAboBjrh3PpTHxtTJH3PRbhSqUqcrxFLbqZxtiiG4c2Y0tiShopRbDI9Dza70faUhSbiOBH9DzO.HEduc1065+jPhkiufqTim2al4868+23VARKdXnLfXT3vA9bhwcnlC7Tc2oKS3QpuKw3CnMXgJdPIMopC7YggbahgQ9mgDLJrDI5y62rJyg4YwSIQHskBK9KEtBUJ0Va8BgiydLa9gB2L69IaU2R5sizQ1GvSdZYhOypG6XdSFtsbThwx0rEJYfoho3gDikpJsGX1Udpmd+sEghib33hJDS3hzj2S5XiHF+NYmt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XtJBnYIDOJmGOJSHbzkwJUcazcyrsICkARZEpVNjK89P8.R7OKYtwwpkLNETivonRrB0f7QanRndHLvTPxnmPEqgqfogaH7h07zNfMXmMJse922xTw8ME+XBse8su821zrG+Ts2Jl5VMa7GahF2aQ2Vof2dQF6t+rsHWagCUVGS3QelP3Q6DE9ciE9K4PjCYhKibyq9KSeNzJZbQ+jsV.hdE3IDVrAiI62ErHL7EnPESrVx3Z9esHL5EnGvc3rP97vtOyAc6zO3D97P+mJBd+lWLBtMn+p.wwGCxXhqeAH+kgGdo3SQzousYX8TRl595pjiT0uH0E96FH8qQ89bYq2OZIOiLp+J2LA.IU1m3p2tuRBpi9Aci.qQWTUJ64xhFtYl9IClKu3L++Oew4Ax93OeRCFj.gsQgQCLgvLqjQDCSFLHdc4j.PSX9vnEmCehYVY3v9.yJILWHxvkYEHekkdvbLv+VQT.81K5m.s.sAttTExIwi6fSwRvA+dkkEZt+bv9L8y73Y3LewLblmLCm4Kmgy7zY3Le0Lblu9ROC9t83JDXpHPnUM8baF07XPjbTTO4eAfOgH1B
            
            1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Christoph Hart
              last edited by

              @Christoph-Hart said in Scriptnode Envelope as Global Mod:

              with the newest update on the mod_matrix branch, you can even use envelopes if you add a uniform voice handler on the root level that ensures that the voices of every sound generator are allocated synchronously.

              Would you be willing to provide an example of this, and is the mod_matrix branch up to date?

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

                @DanH check the ModMatrix project in the tutorials repo.

                the mod_matrix branch is merged into develop already so you don‘t need to use it explicitely.

                DanHD 2 Replies Last reply Reply Quote 0
                • DanHD
                  DanH @Christoph Hart
                  last edited by

                  @Christoph-Hart will do, thanks :)

                  1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @Christoph Hart
                    last edited by

                    @Christoph-Hart Mod Matrix proj is very interesting! I can't figure out how to actually add the UVH to the root container though, can you point me in the right direction please?

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

                      Synth.setUseUniformVoiceHandler("Master Chain", true);
                      

                      Obviously you need to change the ID when you rename the patch, but it doesn't get easier than that :)

                      DanHD 3 Replies Last reply Reply Quote 0
                      • DanHD
                        DanH @Christoph Hart
                        last edited by

                        @Christoph-Hart Doh! wasn't looking at the script 😆 Thank you!

                        1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @Christoph Hart
                          last edited by

                          This post is deleted!
                          Christoph HartC 1 Reply Last reply Reply Quote 0
                          • Christoph HartC
                            Christoph Hart @DanH
                            last edited by

                            @DanH If you always name the presets exactly like your project, you can do this:

                            Synth.setUseUniformVoiceHandler(Engine.getProjectInfo().ProjectName, true);
                            

                            But I'm not sure if that is better than just typing in the hardcoded name...

                            1 Reply Last reply Reply Quote 0
                            • DanHD
                              DanH @Christoph Hart
                              last edited by

                              @Christoph-Hart Ok so should this allow me to be able to use a Global Envelope Modulator at Container level? Because I still don't have the option to do so - unless I need to script it?

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

                                @DanH Sure you can:

                                HiseSnippet 1100.3oc6X0saaTDEd1XOkZ21Pq.gDHPZUEWjJkFYCkBBtnNw+jDQchUVmB2UMY833QY2YVlcVCVHdO3RdT3QfGkdM2.mYl0d2sw35XERappuvZmyOy7c9cOy1SJ7owwBIxoR+IQTjyswdS3pQMGQXbz9sPNqi6RhUToqkzNShHwwzAHGmR6pI3ToLx76EOYGR.g6SyHgPOSv7oOkExTYT6036YAAcHCn8Yg4j9QM12WvaJBDI.dJgqghH9mQNkd.QK1ZXjyMZOfoDROEQQiAY1QLXh2HwOysx+LVL6j.pdQcjGrQVxnliXAC5M0ViQvF0KyxKYs7OD2kMfMidlG3tFFtYZj2G3r1hfT8K.jbxAoxVHcOrmujEox3nwysv6yg.xPB3pyCEqrHm+F2T.BvUaERNi1QBKlovFOtVsMcg+dv2UspIRuULUcbL8XNanPFZhW6Q3CBnxMte9H+82zUISnZ8Flv8ULA2UvOPnnGx23AU+0pUp9aUceYVCGNWdZ.JEA5CYdr04ExEo3F7jvSnxMcGSB.LMUPvwULZbikKZ3a8W4DTv2myTGFQSW2QDLP6k0Oe9XGJ0gCOc79sHJhNblRCjKhJULMbbZQGC9WavsBtEM9LkHBpHNWjGx4DCRBHphIh5JtTFf+nPzWGh4wL0j7UjWfryZKL6bYg38v8XJ+QyGiqMGLBdp+OvXZM8cvsGNj5qx.XYbmebUKfW9i+l1i+Sv6FHNgDj4nfbB.ITag7mkx1cFe2YBTeAcZ+qksSazR2o0ozkUarxuF5rd4j69AmKbDeEVgUn++csv78vauWKuiRqrLO61lOlF.sTJlfzUvEQiDble9bhinJI6zSoxBuklEIBHx+SKZakBdsayD43B4Wsn9jImipU37YVVJOkBnLuf6AMPyV+4MLa2LB+orgWRrpPVtF9ATRb148G+di19BH5PWwHvqH0EujIJ2AaMRWSU0ENEo7xkh7JdkyRh00mhUaD4MavdarIs35fe88woIrWKbrqiSqktN3ZW3LDkd6dFhiDIJF+ztDnw8u.cjNHIzCdIsOENcNmF.aN1YM8Dm100zq0d.OJefYw+.+RYVWu1IkY8oLyahqaMwag8fYNLWGvXfejYs6OPFSc2kBSinCPWwSjbnuBN99RBONRDWXi8ngr9Bt1SmQDtCSGI8mNRmwjmdSAQNWVu3Ic.ibt53QTIRSp21ghDtpPpVoktzH+qaJN4dN4eqZDpWi2Pov7SUsX7iSmna5LSyPrAre5z48lxNavuUb3JDZt1HjZ1mXLBsSXLbaP69ZHZttn9ia.i9yol64hbd3htYv29xCBdoMAz65P+lQG5qhyHj3KEO2298Tz0O2zPArat4ysUA2Uu1sNx7MV.8v01pFJD517beesK9gPyq4qyWrB57kqfNOZEz4qVAcd7JnyWuB57MKTGci9sSThPaIGPnWaa2Cm1bcqDSlN5eADN6QmH
                                
                                DanHD 1 Reply Last reply Reply Quote 0
                                • DanHD
                                  DanH @Christoph Hart
                                  last edited by

                                  @Christoph-Hart ok but this is how that Snippet looks with a Container... Am I missing something?Screenshot 2023-09-13 at 09.41.05.png Screenshot 2023-09-13 at 09.40.04.png

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

                                    @DanH Ah now I understand. No the envelopes can never be used on a filter that is on a container level - a container doesn't know what a voice is so you can't use an envelope here.

                                    DanHD 1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @Christoph Hart
                                      last edited by

                                      @Christoph-Hart Ok so there's no way of getting a signal to the container? I would just use the envelope in ScriptNode but it behaves differently to the stock ADHSR envelope so can't even really hack it together....

                                      DanHD 1 Reply Last reply Reply Quote 0
                                      • DanHD
                                        DanH @DanH
                                        last edited by

                                        @Christoph-Hart in the Matrix Mod project, how did you create these global cables out of the Global Modulators?

                                        Screenshot 2023-09-19 at 10.11.18.png

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

                                          Link Preview Image
                                          HISE | Docs

                                          favicon

                                          (docs.hise.audio)

                                          DanHD 2 Replies Last reply Reply Quote 0
                                          • DanHD
                                            DanH @Christoph Hart
                                            last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            26

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts