用FFmpeg修改音色
广告
{{v.name}}
使用均衡器(Equalizer)调整频率响应,代码如下
$ ffmpeg -i input.wav -af "equalizer=f=1000:width_type=h:width=200:g=5" output.wav
使用 superequalizer 进行多段均衡,代码如下
$ ffmpeg -i input.wav -af "superequalizer=1b=1:1.5b=2:2b=1" output.wav
添加颤音(vibrato),代码如下
$ ffmpeg -i input.wav -af "vibrato=f=5:d=0.5" output.wav
添加合唱效果(chorus),代码如下
$ ffmpeg -i input.wav -af "chorus=0.5:0.9:50:0.4:0.25:2" output.wav
添加相位效果(aphaser),代码如下
$ ffmpeg -i input.wav -af "aphaser=speed=0.5:decay=0.8" output.wav
调整音高(Pitch),使用现代的 rubberband 滤镜,代码如下
$ ffmpeg -i input.wav -af "rubberband=pitch=1.5" output.wav
调整音高(Pitch),使用传统的 asetrate 与 aresample,代码如下
$ ffmpeg -i input.wav -af "asetrate=44100*1.2, aresample=44100, atempo=1/1.2" output.wav
使用滤镜链,代码如下
$ ffmpeg -i input.wav -af "equalizer=f=300:width_type=h:width=100:g=-3, equalizer=f=3000:width_type=h:width=1000:g=2, chorus=0.5:0.9:50:0.4:0.25:2" output.wav