使用 FFmpeg(或 sox)减少立体声

Use FFmpeg (or sox) to reduce stereo

ffmpeg wiki有这种立体声到立体声混合的方法:

ffmpeg -i input.mp3 -af "pan=stereo|c0<c0+c1|c1<c0+c1" output.ogg

我该怎么做才能将混合到左侧的右侧部分和混合到右侧的左侧部分(对角箭头)的音量降低 60%,同时将两个通道的音量保持原样(向下箭头) )?

(如果这能用sox来完成,那也很棒。)

ffmpeg -i input -af "pan=stereo|c0<c0+0.6*c1|c1<0.6*c0+c1" output

ffmpeg -i input -af "pan=stereo|FL<FL+0.6*FR|FR<0.6*FL+FR" output

如果您不希望平移将组合增益归一化为 1 以避免削波,请将 < 替换为 =

pan filter documentation