Go包用于重新采样声音数据-Golang开发

时间:2021-05-26 18:05:46
【文件属性】:
文件名称:Go包用于重新采样声音数据-Golang开发
文件大小:3.45MB
文件格式:ZIP
更新时间:2021-05-26 18:05:46
Golang Audio and Music resample-导入“ github.com/zaf/resample”包resample实现了PCM编码音频的重采样。 它使用SoX Resampler库`libsoxr'。 要进行安装,请确保已安装libsoxr,然后运行:go get -u github resample-import“ github.com/zaf/resample”包resample实现了PCM编码音频的重采样。 它使用SoX Resampler库`libsoxr'。 要进行安装,请确保已安装libsoxr,然后运行:go get -u github.com/zaf/resample程序包在Resampler中对io.Reader进行扭曲,以重新采样并写入所有输入数据。 输入应为RAW PCM编码的音频样本。 有关用法的详细信息,请参阅cmd文件夹中的代码段。 用法const(//质量设置Quick = 0 //
【文件预览】:
resample-master
----resample.go(6KB)
----Readme.md(2KB)
----LICENSE(1KB)
----testing()
--------piano-16k-16-2.wav(394KB)
--------piano-44.1k-16-2.wav(1.06MB)
--------piano-44.1k-32f-2.wav(2.12MB)
--------piano-16k-16-1.wav(197KB)
--------piano-48k-16-2.wav(1.15MB)
----resample_test.go(8KB)
----cmd()
--------goresample.go(2KB)

网友评论