HISE Logo Forum
    • Categories
    • Register
    • Login

    Snippet not working

    Scheduled Pinned Locked Moved Scripting
    19 Posts 2 Posters 200 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.
    • pcs800P
      pcs800
      last edited by pcs800

      In the snippets folder is a text file called Stereo Widener. When imported, it doesn't do anything, and there's no code.

      HiseSnippet 1572.3oc6Y8zaaTDEeV6LIMIEn+Uvw8.GRkphxFBEj3fc9masnNwJaHsbJLc2w1i7tyrZ2wIwf3DW3BhinxI9HvUNQ9HfDe.neD52.3M6r1dVGGWG2zfp.GoHOu48l427d+du4OtdrviljHhQVyue2HJx55X2tbYqMaQXbT0sPVuKtFIQRis0h1naDIIg5irrJ9Pk.q4mAk94kk1fDP3dzAhPnCDLO5iYgL4.o0K+4rffJDe59rPCsWqbUOAeSQfnCfmh3UPQDu1jlzcHJ0JfQVytsOSJhckDIMAYMyFB+ttsDGy05e.Kg8r.ppgCxEFHs3Jh.eEhURQa1hE3Wu25NAgrv0G3EJp8B2AWi4y5Kef23FocXOvBS+gUg7vqXN34XBuULf2HfjkAjlQCoahc8hYQxA8nvyh3pbH3zf.tcSnn0EYcJdSAn.WtbHoMsRLznuAK8fUV491v+t2m0nC2SxDbaAeGgjtKeo6sv2rv7K7sKXObWMZLx9TSSrHHfFOxtUQ53wY3R7NgOiFee6iHAcn8UDV948o3y2mZFx8zqZCEE7pblb2HJ+7HBnLWE7sun5VDIQEHxjA5EQikLEDr1hdDvp0gk4waQSZKEQ.u9LwLfsH76DPj4oPp7lrN.ePt3lJ3vSXxtl4UWZ7pIEh2DWmI8ZMZLVXDXD7TuIvXV136f2tQCpmb..mAW4oWcodKjk5AyoZxudVS6JO0YjIceOd.AOJlFQho6KpGP5tTBILJftGfw6a+r.gWaW1WSOaVQjFBanzXIuVDNmFjLMIOyNwdEmwGT1SzQx3MqQjwrSfrvc5D5Bko8nalgNPlUA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+LCiLd8AXMbsU0CrechaWozrw9BREmnWP5RGuS+qIcEmgBkLe6IR+9XnL9p1oga6+8i2WEOT0UwbDR7hEGl8tLpBFWKUBrt4o+ZHyiqoZa6fNZ3yjEBa8bnmW9g5LFt5zZ3GMsFt1zZ3GOsF9fo0vOYZM7Se0FpNYP18hT4IvYnquc5gTsrzGNJMkA8O.8TM0o
      

      I'd really like to know the proper way of creating a stereo widener, other than faking it with short panned delay

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

        @pcs800 It's a scriptnode effect

        313b943f-b469-4c8f-bd1a-985772ba4bc6-image.png

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

        pcs800P 1 Reply Last reply Reply Quote 0
        • pcs800P
          pcs800 @d.healey
          last edited by

          @d-healey Ahh, ok. So if I just replicate that scriptFX in my project, it will work?
          I mean the code in prepareToPlay, processBlock, onControl

          pcs800P 1 Reply Last reply Reply Quote 0
          • pcs800P
            pcs800 @pcs800
            last edited by

            @pcs800 Oh I see it now, A network full of stuff I am not familiar with. I will try to dissect it.

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

              @pcs800 Check out my HISE Bootcamp, video 21 shows how to build a similar effect in scriptnode, but you should watch from the first video in order to get the best experience.

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

              pcs800P 1 Reply Last reply Reply Quote 2
              • pcs800P
                pcs800 @d.healey
                last edited by

                @d-healey Ok, I watched and built it as the video progressed. Is the reverb necessary? I wouldn't want to add reverb to the signal, just widen it.

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

                  @pcs800 said in Snippet not working:

                  Is the reverb necessary?

                  Nope, just make it how you want :)

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

                  pcs800P 1 Reply Last reply Reply Quote 0
                  • pcs800P
                    pcs800 @d.healey
                    last edited by

                    @d-healey Here's what happens when I remove the reverb
                    Video here

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

                      @pcs800 said in Snippet not working:

                      Here's what happens when I remove the reverb

                      Turning down the reverb signal doesn't remove the node from the signal path. You need to delete the node from the network.

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

                      pcs800P 1 Reply Last reply Reply Quote 0
                      • pcs800P
                        pcs800 @d.healey
                        last edited by

                        @d-healey Ok, this doesn;t have any effect either
                        09d66bab-d21a-4780-8eb5-07332c3bf27e-image.png

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

                          @pcs800 Are you using stereo samples?

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

                          pcs800P 1 Reply Last reply Reply Quote 0
                          • pcs800P
                            pcs800 @d.healey
                            last edited by

                            @d-healey No, it's a mono guitar clip. The reason is that when a user plays live guitar with an amp sim, it is mono. Many amp sim plugins have a widening function. I am sure you already know this, but it just clones the audio and pans them hard L/R, then adds a delay to one of them.
                            That is what I am trying to accomplish here.

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

                              @pcs800 Ah I see the issue, a stereo widener will change the width of a stereo signal, but it won't create a stereo signal from a mono one.

                              For that you need a mono-to-stereo effect (some "stereo wideners" include one), there are different ways to do this, you can use a delay to offset the left and right channels. There's also a Haas node that is a little more sophisticated than a simple delay.

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

                              pcs800P 1 Reply Last reply Reply Quote 0
                              • pcs800P
                                pcs800 @d.healey
                                last edited by

                                @d-healey I have been using a delay to accomplish it, but it's a bit glitchy sounding as the user turns the width up and down. I thought maybe this would be a better way.

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

                                  @pcs800 Use the delay to create the stereo signal, feed this into the stereo widener to control the width.

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

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

                                    Here's a mono-stereo in scriptnode

                                    5d028b0c-9799-4b3e-a412-73e714a56e77-image.png

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

                                    pcs800P 1 Reply Last reply Reply Quote 0
                                    • pcs800P
                                      pcs800 @d.healey
                                      last edited by

                                      @d-healey How do I send the delay into the ScriptFX?
                                      I've looked and cannot seem to add a delay inside ScriptFX.

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

                                        @d-healey Oh, I will check that out

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

                                          @pcs800 Just chain them up in the module tree, add the delay, then add the script effect below it.

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

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

                                          22

                                          Online

                                          1.9k

                                          Users

                                          12.4k

                                          Topics

                                          107.8k

                                          Posts