Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winlinvip/go-speex
Golang binding for speex(https://github.com/winlinvip/speex)
https://github.com/winlinvip/go-speex
Last synced: about 1 month ago
JSON representation
Golang binding for speex(https://github.com/winlinvip/speex)
- Host: GitHub
- URL: https://github.com/winlinvip/go-speex
- Owner: winlinvip
- License: mit
- Created: 2016-06-28T08:54:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-05T02:46:02.000Z (about 8 years ago)
- Last Synced: 2024-06-20T06:04:54.940Z (6 months ago)
- Language: Go
- Size: 64.5 KB
- Stars: 20
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-speex
Golang binding for speex(https://github.com/winlinvip/speex)
## Usage
First, get the source code:
```
go get -d github.com/winlinvip/go-speex
```Then, compile the speex:
```
cd $GOPATH/src/github.com/winlinvip/go-speex &&
git clone https://github.com/winlinvip/speex.git speex-lib &&
cd speex-lib/ && bash autogen.sh && ./configure --prefix=`pwd`/objs --enable-static && make && make install &&
cd ..
```Done, import and use the package:
* [speex decoder](dec/example_test.go), decode the speex frame to PCM samples.
To run all examples:
```
cd $GOPATH/src/github.com/winlinvip/go-speex && go test ./...
```There are an example of SPEEX audio packets in FLV:
* [avatar speex over FLV](doc/speex_data.go), user can use this file to decode to PCM.
* [audio resample](https://github.com/winlinvip/go-aresample).For more information about SPEEX codec, read:
* [github.com](https://github.com/winlinvip/speex), source code of speex codec.
* [examples](http://www.speex.org/docs/manual/speex-manual/node13.html), encoder and decoder example.Winlin 2016