Opus is a great freedom lossy audio codec developed by xiph.org. They provide a reference implementation in C which is the “de facto” standard library.
Now, say you want to access it from Go. What do you do?
Well, not really. A golang wrapper for the opus and opusfile libraries by xiph.org :) I mimicked their API as closely as sensible. The most important features are there, and it’s actively maintained.
Give it a spin and let me know how it works for you. I’m open to PRs!
I’m especially interested in how this works on Windows, with the dynamic libraries and all. It Should Work™, but please drop me a line if you test it there.