Menu

#38 Patch: add an "Invert" filter to reverse the polarity of the signal

1.x
open
None
2024-12-28
2017-02-05
No

I wrote a patch that introduces a new trivial filter, "Invert", which simply reverses the polarity of the signal, i.e. it multiplies the samples by -1. This can be useful in scenarios where one wants to introduce a 180° phase shift.

The patch can be found at https://github.com/dechamps/equalizerapo/compare/master...invert

Discussion

  • Jonas Dahlinger

    Jonas Dahlinger - 2017-02-11

    This was already possible using the Copy command, but it is of course not as obvious as just having an Invert command. Thank you for the contribution.

     
  • Brendon Elliott

    Brendon Elliott - 2020-03-17

    Back to windows after 5 years. My amplifier inverts phase and I need to figure this out in order to invert it again so music will play in the correct phase. Could you explain how i can use this to achieve that?

     
    • Jonas Dahlinger

      Jonas Dahlinger - 2020-03-17

      Example:

      Copy: L=-1.0*L
      
       
      • Josh

        Josh - 2024-12-28

        It doesn't behave as intended on mine. Shouldn't it flip the filters if I entered a negative number on the copy command?

        Channel: L
        Filter: ON PK Fc 100 Hz Gain 5 dB Q 4
        Filter: ON PK Fc 200 Hz Gain -5 dB Q 4
        Copy: L=-1.2*L
        
         

        Last edit: Josh 2024-12-28
        • Peter Verbeek

          Peter Verbeek - 2024-12-28

          No, it doesn't flip the filter. It will be nice though. Btw. For a peak filter just dial the gain down to the negative. This is true for most filters with a gain setting.

           

Log in to post a comment.

MongoDB Logo MongoDB