Open mesilliac opened 9 years ago
Could you possibly provide an example showing how to read data in from a stream? Looking for something to use to make a sort of music visualizer from
I've been a little busy, but this is still on my todo list. If anyone else wants to contribute examples i'll be sure to add them.
I've added a basic example of audio capture - it captures audio, displays a crude volume meter while capturing, and plays back the captured audio. It can be run with go run examples/echo.go
.
It would be good to have a couple more complicated examples.
An "echo" example would be a good start, to demonstrate Capture() usage.
An example of advanced stream usage, such as setting channel mapping or buffer attributes manually, might be useful.