[FFmpeg-user] Q: How to generate sound file with different frequencies for left/right (alternating)

Jim Shupert jshupert at theppsgroup.com
Thu May 14 16:58:58 EEST 2020


On 5/13/2020 4:06 PM, ffmpeg at osk.ch wrote:
> Hello
>
> I would like to generate a sound file with two frequencies, sinus, one per channel
> (left, right) alternating between them. For example: left 0.5 sec 5kHz, then right 0.5 sec 8kHz and so on.
> I've spent hours reading ffmpeg docs but am overwhelmed by its power and complexity.
>
>
friend
You might wish to have a look at
SOX  http://sox.sourceforge.net/
http://sox.sourceforge.net/Docs/Features

example 1 second wav at 5kHz

|sox -n -r 8000 output.wav synth 1 sine 5000|



More information about the ffmpeg-user mailing list