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

ffmpeg at osk.ch ffmpeg at osk.ch
Thu May 14 17:42:28 EEST 2020


On Thu, May 14, 2020 at 09:58:58AM -0400, Jim Shupert wrote:
> 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|
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> 

Friend
I know about sox.
"sox -n -r 8000 output.wav synth 1 sine 5000" doesn't do what I asked for.

Thanks,
Chris


More information about the ffmpeg-user mailing list