HISE Logo Forum
    • Categories
    • Register
    • Login

    Question about Mid-Side Scripnode snippet

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 314 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.
    • D
      DanSound
      last edited by

      Hello and Happy Holidays!

      I'm trying to make a plugin using mid-side processing snippet I've found here https://forum.hise.audio/topic/1374/how-to-make-mid-side-processing/85?_=1671906638667

      And the problem is that usually when I use snippets with scriptnode effects I see some blocks and wires when I open that scpirt in workspace, but this one doesn't have anything like that and I only see a scriptnode start page. However I do see some code in processBlock.

      The snippet works fine in Hise and I know how to compile scripnode effects into dll.
      But I'm not sure how to correctly compile this particular script into dll because there is no toolbox on top, only scriptnode start page.

      I tried to use "create an embedded DSP network" option, but compiled dll doesn't pass any sound.

      Any help is highly appreciated. Thanks!

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

        @DanSound This snippet precedes scriptnode and uses HiseScript for DSP (which is not recommended anymore at this point).

        Compiling to DLL is a scriptnode feature, so this is obviously not available here.

        Just use a multi container with a ms_encode / ms_decode pair (there's actually a template called mid_side that sets this up for you correctly.

        D orangeO 2 Replies Last reply Reply Quote 0
        • D
          DanSound @Christoph Hart
          last edited by

          @Christoph-Hart Thanks for reply! This is completely new world for me after basic scripting :)

          I only found this template https://docs.hise.audio/scriptnode/list/template/mid_side.html but it's empty. I also looked on GitHub but didn't find anything there.

          When I click on "create an embedded DSP network" it automatically creates nodes ms_encode and ms_decode. Now I just need to compile the plugin without compiling dlls?

          Screenshot 2022-12-26 at 13.53.09.png

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

            @DanSound No, I meant the template inside scriptnode itself (it's in the node creation popup under template.mid_side.

            Forget the entire snippet you've used before, and just create a new Script FX module with the basic channel layout, then click on create embedded network.

            Just open the scriptnode workspace, click inside the chain to create a node and select the template.mid_side entry, this will create multiple nodes that get you going (you can then replace the white dummy nodes with the actual processing you want to implement).

            When it's done, you can enable the compile flag and export the dll.

            D 2 Replies Last reply Reply Quote 2
            • D
              DanSound @Christoph Hart
              last edited by

              @Christoph-Hart Found it, thanks a lot! Looks like my super simple idea of making M/S processing plugin will lead me to learning Scripnode :beaming_face_with_smiling_eyes:

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

                @Christoph-Hart said in Question about Mid-Side Scripnode snippet:

                @DanSound This snippet precedes scriptnode and uses HiseScript for DSP (which is not recommended anymore at this point).

                To make a Mid-Side Eq, can we combine the Parametric Curve Eq module with scriptnode?

                Or will there be a Parametric Curve Eq node on the scriptnode in the future?

                If there is no competitor for this with the scriptnode, I will continue to use Hisescript for the mid-side feature.

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

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

                  @Christoph-Hart It looks like somehow I need to insert Parametric Curve Eq module between encoder and decoder because there are only one band filter nodes in scripnode and making full featured EQ in scriptnode is definitely not what I want :)

                  I have an idea is to split the signal on Mid and Side using decoder + ms_splitter + routing matrix nodes, then insert two Parametric Curve Eqs - one for Mid and one for Sides. And then add another sciptnode with encoder node. Basically I'm making the initial snippet but with scriptnode.

                  Just want to confirm if that possible with scriptnode and I'm thinking in the right vein.

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

                  46

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.3k

                  Posts