HISE Logo Forum
    • Categories
    • Register
    • Login

    How to make Mid-Side processing?

    Scheduled Pinned Locked Moved General Questions
    90 Posts 5 Posters 7.4k 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.
    • ustkU
      ustk @Win Conway
      last edited by

      @Win-Conway said in How to make Mid-Side processing?:

      Your Mid is wrong.
      It is Mid = Left and Right channels both separated and panned (Not balance) to Mono, you can achieve this with zero balance and zero width if your software only supports stereo channels.

      Unless I don't understand, it is the same than L+R

      Your Side is wrong.
      Side = L+R phase cancelled by Mid.
      This will give you a stereo input and two stereo (or summed mono if you wish) outputs, these outputs can be processed as you see fit, then recombined (summed) to a single stereo ouput.

      I agree, I disagree 😀

      I think you are talking about a stereo recording made specifically for M/S encoding, which is not the objective here at all.

      Totally, this is why here, it can't be called M/S, it doesn't stick to the very definition of the M/S formula.
      Now I see your point
      But... If I have the same result in a DAW with an M/S plugin and here in HISE, I don't know where/how you can apply the technique you call M/S, except by doing your own routing?

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 0
      • W
        Win Conway
        last edited by

        Ok i think i see why this has gotten messy, you are talking about a Mid/Side recording, so Mid is on one channel and Side is on the other, I am talking about having the ability in an effect plugin to effect only the mids or only the sides from a normal stereo signal.

        I think @orange wants what i am suggesting, Mid/Side separation for a standard stereo signal.

        1 Reply Last reply Reply Quote 1
        • W
          Win Conway
          last edited by

          The definition of Mids and Sides is simple, Mids are the Mono signals, sides are everything else.

          1 Reply Last reply Reply Quote 0
          • W
            Win Conway
            last edited by

            OK, going in circles, just wait till i do a screen recording to show it ;)

            1 Reply Last reply Reply Quote 1
            • ustkU
              ustk
              last edited by

              we both agree (I think)
              but please try the snippet when you can and tell me if it works or not on a song for instance because here it works

              Can't help pressing F5 in the forum...

              JayJ 1 Reply Last reply Reply Quote 0
              • JayJ
                Jay @ustk
                last edited by

                @ustk it's working for me on a song. Its side is separate from the mid, if I can recall ch 5&6 are the side and 7&8 mid, but I'm not home now to be sure.

                Joansi Villalona

                W 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk
                  last edited by

                  @Jay Glad it works for you 😉
                  almost, the Mid is 7-8 and Side 9-10

                  Can't help pressing F5 in the forum...

                  JayJ 1 Reply Last reply Reply Quote 0
                  • W
                    Win Conway @Jay
                    last edited by

                    @Jay rereading the tgread, im unsure why there would be any gain changing or encoding decoding, non of that is needed ?
                    I will look at the snippet as soon as i get chance, I dunno, maybe HISE cant do simple things like split a stereo signal in to two mono and pan etc, I just assumed this was as easy as doing it in a DAW.

                    JayJ 1 Reply Last reply Reply Quote 0
                    • JayJ
                      Jay @Win Conway
                      last edited by Jay

                      @Win-Conway I haven't try it in a daw yet, just in HISE. But if you can take a look a the code and fix anything you think needs fixing will be good.

                      Joansi Villalona

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        Win Conway @Jay
                        last edited by Win Conway

                        @Jay i will be home tomorrow and do a vid showing it done with just routing and phase invert ;)

                        1 Reply Last reply Reply Quote 0
                        • JayJ
                          Jay
                          last edited by Jay

                          @orange I implemented the Mid-Side into a plugin I'm building but when compiled there is no audio coming out, I can see is doing something in the meters but no sound. Any Idea?

                          Joansi Villalona

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

                            @Jay maybe a routing issue. Did you check the outputs?

                            develop Branch / XCode 13.1
                            macOS Monterey / M1 Max

                            JayJ 1 Reply Last reply Reply Quote 0
                            • JayJ
                              Jay @orange
                              last edited by Jay

                              @orange yes, but it work fine in HISE standalone and VST

                              Joansi Villalona

                              1 Reply Last reply Reply Quote 0
                              • JayJ
                                Jay @ustk
                                last edited by

                                @ustk when exporting the plugin no audio is coming out

                                Joansi Villalona

                                1 Reply Last reply Reply Quote 0
                                • ustkU
                                  ustk
                                  last edited by

                                  @Jay have you added the MS alongside a standard LR?
                                  have you implemented a "switching" button for selecting the modes? so you can select bus 1-2 for LR or 11-12 for MS by the mean of gain modules for instance...

                                  Can't help pressing F5 in the forum...

                                  JayJ 2 Replies Last reply Reply Quote 0
                                  • ustkU
                                    ustk
                                    last edited by

                                    It might be because of these two lines in the "MS Encode" module:

                                    channels[0] * 0;
                                    channels[1] * 0;
                                    

                                    Just get a rid of that, it is muting the LR (but you should have something in your MS path anyway, it is working for me when I export a standalone)

                                    Can't help pressing F5 in the forum...

                                    JayJ 1 Reply Last reply Reply Quote 0
                                    • JayJ
                                      Jay @ustk
                                      last edited by

                                      @ustk All I did was just add this to my project(plugin) and I have assigned what fx goes to what, but nothing for selecting bus 1-2 or 11-12 for MS, just as you add the Gain module

                                      Joansi Villalona

                                      1 Reply Last reply Reply Quote 0
                                      • JayJ
                                        Jay @ustk
                                        last edited by

                                        @ustk now after deleting this, the audio is passing but there's not fx happening

                                        Joansi Villalona

                                        1 Reply Last reply Reply Quote 0
                                        • ustkU
                                          ustk
                                          last edited by

                                          Do you have 12 channels ?
                                          Have you inserted the MS section at the top of your FX modules?
                                          Are the MS FXs at the right place (between the encoder/decoder)?
                                          It's hard to tell with limited information ;)

                                          Can't help pressing F5 in the forum...

                                          JayJ 1 Reply Last reply Reply Quote 0
                                          • JayJ
                                            Jay @ustk
                                            last edited by

                                            @ustk Yes I leave everything as it is in the snippet you gave us, I just place my fx modules in between encoder/decoder and I put the fx modules that are supposed to be affecting the MID in ch 7/8 and the one affecting the SIDES in ch 9/10, and that's all I did.

                                            Joansi Villalona

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

                                            42

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts