macos - 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>
解决方案
弄清楚了:
sox input output trim 0 -1.2
推荐阅读
- python - Scrapy:忽略响应 403
- angular - 如何显示离子列表中所选项目的实际计数?
- java - 创建 Flux.fromIterable 后如何运行 onClose 操作?
- python - 为什么我得到 AttributeError: 'NoneType' 对象没有属性 'contains'?
- python - 我的代码在 mongodb 中工作,但在 pymongo 中不工作
- c - 我应该在 .h 文件中定义函数还是只声明它们?
- javascript - 如何从 react hooks 或 useEffect 获取新的更新数据?
- c# - 从为选定的 wpf 组合框值绑定的属性中获取 null
- react-native - undefined 不是 react-native 中的对象(评估“process.version.split”)
- java - 在webdriver中,复选框必须检查复选框是否选中或选中的基本属性是什么