HISE Logo Forum
    • Categories
    • Register
    • Login

    Question about MS encode/decode order in Stereo Widener example

    Scheduled Pinned Locked Moved General Questions
    3 Posts 3 Posters 55 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.
    • YinxiY
      Yinxi
      last edited by

      Hi everyone,

      I’ve been going through the Stereo Widener example in the HISE documentation, and I noticed something that seems strange for me: the routing.ms_decode node appears before the routing.ms_encode node in the signal chain.

      However, according to the documentation for routing.ms_encode, it should be placed at the beginning of the chain to encode a stereo signal into Mid-Side, which can then be processed and later decoded with routing.ms_decode.

      From Doc about ms_encode : "To use the routing.ms_encode node, you would typically place it in a processing chain with the stereo input you want to encode, and then use a container.multi node to split the signal into its mid and side components. You can then process the components separately and recombine them using a routing.ms_decode node placed later in the chain."

      This seems like a contradiction

      Image from Hise Documentation :
      87c8672c-81a6-4d2f-b101-317492f2b90d-image.png

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

        @Yinxi I think the docs might be wrong.

        The decode splits the signal into mid and side so that they can be processed separately. The encode reassembles the two parts before they go back to the output.

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

        dannytaurusD 1 Reply Last reply Reply Quote 2
        • dannytaurusD
          dannytaurus @d.healey
          last edited by

          @d-healey In my experience, traditionally the term 'encode' means to convert from L/R to M/S and the term 'decode' means to convert from M/S to L/R.

          So maybe it's the names of the modules that are wrong? Although I doubt that will get updated for legacy reasons.

          Still confusing though! 😜

          Meat Beats: https://meatbeats.com
          Klippr Video: https://klippr.video

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

          25

          Online

          1.8k

          Users

          12.0k

          Topics

          104.4k

          Posts