Go语言编写的音频库有哪些?

huangapple go评论103阅读模式
英文:

Audio Libraries Written in Go?

问题

有没有现成的原生Go音频库?具体来说,我想读取音频文件中的峰值以构建波形。或者,我知道可以使用类似SWIG的工具与已有的C++音频库进行绑定。但是,如果有一个Go库可用的话,我想使用它。这样会更简洁,而且我在学习如何使用该库的同时不需要学习如何使用SWIG。

英文:

Are there any native-Go audio libraries out there? Specifically, I would like to read the peaks from an audio file in order to construct a waveform. Alternatively I know I could use something like SWIG to bind with an established C++ audio library. However, if a Go library is available, I would like to use that. It would be cleaner, and I wouldn't need to learn how to use SWIG while I'm learning how to use the library.

答案1

得分: 2

这是一个用Go语言编写的“音乐”库列表:

https://github.com/golang/go/wiki/Projects#music

这是一个用Go语言编写的“图形和音频”库列表:

https://github.com/golang/go/wiki/Projects#graphics-and-audio

该页面没有区分纯Go和链接到C库的代码。我猜测大多数项目将链接到现有的库,就像之前的评论中提到的那样。

英文:

Here is a list of "Music" libraries written in go:

https://github.com/golang/go/wiki/Projects#music

And here is a list of "Graphics and Audio" libraries written in go:

https://github.com/golang/go/wiki/Projects#graphics-and-audio

That page doesn't distinguish between pure go and code linked to c libraries. I'm guessing most projects will link to existing libraries as mentioned in a previous comment.

huangapple
  • 本文由 发表于 2013年11月16日 01:21:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/20006925.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定