Delay of 20 milliseconds in the left channel of an audio file (e.g mp3) using ffmpeg?

845 Views Asked by At

How do I make a delay of 20 milliseconds in the left channel of an audio file (e.g mp3) using ffmpeg ??

I usually enable this option under ffdshow audio processor while playing audio using MPC-HC

Is it possible to do the same in howlerjs (a strong textjavascript audio library) ? (I mean this audio effect)

enter image description here

Somewhat like this kind of effect: Just delay the either channel by 20ms Like we do in Adobe Audition enter image description here

2

There are 2 best solutions below

0
On

Use the adelay filter:

ffmpeg -i input.mp3 -af "adelay=20|0" output.mp3
0
On

You could grab the left source of the file, add delay using -itsoffset and mix the final output https://trac.ffmpeg.org/wiki/AudioChannelManipulation.