首页 > 解决方案 > Sox:在 mp3 文件末尾修剪

问题描述

我在袜子上有点挣扎。我试图简单地切断文件结尾的 1.2 秒。我知道sox中有一个trim功能,但我不确定如何使用它,所以它会在最后切断确切的时间?我知道它大致是这样工作的:

sox input output trim <start> <duration>

但是,我能想出的唯一解决方案是这样的(伪代码):

sox input output trim <length of whole mp3 file -1.2 seconds> <1.2 seconds>

标签: macosaudiomp3sox

解决方案


弄清楚了:

sox input output trim 0 -1.2


推荐阅读