vorbis
A "native" ogg vorbis decoder for Go (uses inline stb_vorbis) (by mccoyst)
malgo
Mini audio library (by gen2brain)
vorbis | malgo | |
---|---|---|
1 | 3 | |
32 | 263 | |
- | - | |
2.6 | 3.8 | |
9 months ago | 13 days ago | |
Go | C | |
GNU General Public License v3.0 or later | The Unlicense |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vorbis
Posts with mentions or reviews of vorbis.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-03.
-
Awesome Golang Audio and Music Libraries
vorbis - "Native" Go Vorbis decoder (uses CGO, but has no dependencies). Awesome Go libraries
malgo
Posts with mentions or reviews of malgo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-23.
-
Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
Yes, I found it by accident, because I dug into a Go code base I don't even use for fun, because I wondered about how they do audio, noticed it wasn't actually cross-platform. So I wondered if it's solved overall and found this, which seems to be the most straight-forward way of supporting pretty much all platforms that Go supports. Not completely sure about Plan 9 though.
https://github.com/gen2brain/malgo
-
Awesome Golang Audio and Music Libraries
malgo - Mini audio library.
-
Portaudio on Windows
It depends on the exact goals whether PortAudio is the best or not. I would recommend trying out https://github.com/gen2brain/malgo first.
What are some alternatives?
When comparing vorbis and malgo you can also consider the following projects:
flac - A Free Lossless Audio Codec decoder in Go
Oto - ♪ A low-level library to play sound on multiple platforms ♪
mp3 - golang mp3 frame parser
GoAudio - Go tools for audio processing & creation 🎶
waveform - Go package capable of generating waveform images from audio streams. MIT Licensed.
minimp3 - Decode mp3 base on https://github.com/lieff/minimp3
gosamplerate - Go Bindings for libsamplerate
EasyMIDI - EasyMidi is a simple and reliable library for working with standard midi file (SMF)
PortAudio - Go bindings for the PortAudio audio I/O library
id3v2 - 🎵 ID3 decoding and encoding library for Go
flac-mewkiz - Package flac provides access to FLAC (Free Lossless Audio Codec) streams.