Opened 12 years ago

Closed 12 years ago

#2389 closed enhancement (invalid)

Inversion audio filter

Reported by: Björn Sonnenschein Owned by:
Priority: wish Component: avfilter
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

A filter that inverts selected audio channels would be useful, for example to process a balanced signal from an XLR microphone.

Change History (8)

comment:1 by Carl Eugen Hoyos, 12 years ago

Even if this may be clear for many developers, please explain what "audio inversion" means.

comment:2 by Björn Sonnenschein, 12 years ago

I think (hope) the right english term is phase inversion. This means that the displacement of an audio wave is inverted.

This gives further information about balanced audio, which is commonly used:
http://en.wikipedia.org/wiki/Balanced_audio

comment:3 by Cigaes, 12 years ago

If I understand correctly, that means that for stereo signal, the left signal must be kept unchanged and the right signal must be multiplied by -1?

comment:4 by Björn Sonnenschein, 12 years ago

Right. After that you merge the two signals into one mono signal which iwill be free of interferences.

comment:5 by Elon Musk, 12 years ago

I think this can already be done with pan filter.

comment:6 by Elon Musk, 12 years ago

See:

ffmpeg -i input -af pan="stereo:c0=c0:c1=-1*c1" -ac 1 out

comment:7 by Björn Sonnenschein, 12 years ago

Ah, I see. Didn't know that the pan filter takes negative gain values, too. So this request is obsolete of cause, thanks for the hint!

comment:8 by Carl Eugen Hoyos, 12 years ago

Resolution: invalid
Status: newclosed

Thank you for confirming!

Note: See TracTickets for help on using tickets.