HISE Logo Forum
    • Categories
    • Register
    • Login

    Correlation

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 175 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.
    • U
      udalilprofile
      last edited by

      Снимок экрана 2024-10-30 в 10.28.05.png

      Hi. I made a stereo expander. Now I need a correlator. How to make it?

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

        @udalilprofile

        This is the basic formula for the phase

        Phase = arctan(L/R)
        

        So if the phase is 45 or 225 = 1, and phase of 135 and 315 (-45) is -1.

        For your correlation meter, you need to normalize this value:

        Correlation = Phase * Magnitude
        
        Magnitude = (L^2 + R^2)^1/2
        

        So the final formula is:

        Correlation = arctan(L/R) * ((L^2 + R^2)^1/2)
        

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        U 2 Replies Last reply Reply Quote 6
        • U
          udalilprofile @orange
          last edited by

          @оранжевый

          I want to put a correlator in my plugin. How to do this?)

          1 Reply Last reply Reply Quote 0
          • U
            udalilprofile @orange
            last edited by

            @orange
            I want to put a correlator in my plugin. How to do this?)

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

            66

            Online

            1.7k

            Users

            11.8k

            Topics

            103.0k

            Posts