Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delthas/go-paulstretch
Go bindings for libpaulstretch, a tiny & portable implementation of the Paulstretch extreme audio stretching algorithm.
https://github.com/delthas/go-paulstretch
Last synced: 2 days ago
JSON representation
Go bindings for libpaulstretch, a tiny & portable implementation of the Paulstretch extreme audio stretching algorithm.
- Host: GitHub
- URL: https://github.com/delthas/go-paulstretch
- Owner: delthas
- License: mit
- Created: 2020-03-05T02:37:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-13T15:12:37.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T12:52:13.353Z (5 months ago)
- Language: Go
- Size: 74.2 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-paulstretch [![builds.sr.ht status](https://builds.sr.ht/~delthas/go-paulstretch.svg)](https://builds.sr.ht/~delthas/go-paulstretch) [![GoDoc](https://godoc.org/github.com/delthas/go-paulstretch?status.svg)](https://godoc.org/github.com/delthas/go-paulstretch)
Go bindings for [libpaulstretch](https://github.com/delthas/libpaulstretch), a tiny & portable implementation of the Paulstretch extreme audio stretching algorithm.
## Usage
go-paulstretch depends on [libpaulstretch](https://github.com/delthas/libpaulstretch), which also depends on FFTW3.
The API is well-documented in its [![GoDoc](https://godoc.org/github.com/delthas/go-paulstretch?status.svg)](https://godoc.org/github.com/delthas/go-paulstretch).
There is also a simple example in [`example/simple/`](example/simple).
Using go-paulstretch is as simple as (error-checking code ommited for brevity):
```go
ps := paulstretch.NewPaulstretch(stretchFactor, windowSize)
go func() {
io.Copy(ps, audio_in)
ps.Close()
}()
io.Copy(audio_out, ps)
```## License
MIT