我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何使用libsox / go-sox将立体声WAV转换为两个Mono WAV文件

I have go-sox successfully splitting a stereo wav file into two files. But there are two issues:

  1. Even though the files have the same sampling rate the resulting files are sped up tremendously
  2. The resulting two files are still stereo and not mono

The code I am using is here:

https://gist.github.com/jsgoecke/ca8fe5b4e0901ed04ee0

Any ideas on how to get this working with the files playing at original speed and mono? Seems 'remix 1' and 'remix 2' should do just that.

I used brew to install SoX on OSX (v14.4.1_1).

近期文章

  • Golang Json未返回期望值
  • 重新启动Golang HTTP服务器
  • TLS身份验证:每个证书需要包含哪些内容?
  • html模板中的Golang打印数组值
  • 使用一次查询从地图弹出一个值
  • 实施JSON Marshaler接口时获取标签
  • Golang:encoding / xml中的UnmarshalXMLAttr
  • 使用Restangular将Angular输入字段映射到带有数组的Go结构
  • 并发如何与匿名函数一起工作? 走
  • APNS首次写入后关闭连接
  • 如何在Go中从HTML模板访问Redis结果
  • 如何使用Golang对manifest.json进行野生动物园推送通知签名?
  • 安装Go版Plotinum
  • 如何用Go发布文件数组?
  • 使用martini绑定程序包检查无效输入
  • 目前,在Google App Engine中获取递增数字的最佳方法是什么?
  • 开始以http客户端的身份工作
  • 删除目录和所有子目录
  • GoLang在Vim中突出显示不起作用
  • 为什么这个OpenGL程序不画三角形?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华