gosamplerate alternatives and similar packages
Based on the "Audio/Music" category.
Alternatively, view gosamplerate alternatives based on common mentions on social networks and blogs.
PortAudio6.9 0.0 gosamplerate VS PortAudioGo bindings for the PortAudio audio I/O library
music-theory6.4 0.0 gosamplerate VS music-theoryGo models of Note, Scale, Chord and Key
waveform6.1 0.0 gosamplerate VS waveformGo package capable of generating waveform images from audio streams. MIT Licensed.
portmidi6.0 0.0 gosamplerate VS portmidiGo bindings for libportmidi
id3v25.9 1.0 gosamplerate VS id3v2🎵 ID3 decoding and encoding library for Go
flac-mewkiz5.7 0.0 gosamplerate VS flac-mewkizPackage flac provides access to FLAC (Free Lossless Audio Codec) streams.
mix5.1 0.0 gosamplerate VS mixSequence-based Go-native audio mixer for music apps
go-sox4.9 0.0 gosamplerate VS go-soxlibsox bindings for go
gaad4.8 2.5 gosamplerate VS gaadGAAD (Go Advanced Audio Decoder)
mp34.5 0.0 gosamplerate VS mp3golang mp3 frame parser
taglib4.3 0.0 gosamplerate VS taglibGo wrapper for taglib
flac4.1 0.0 gosamplerate VS flacA Free Lossless Audio Codec decoder in Go
Music Theory3.6 0.0 gosamplerate VS Music Theory🎵 Music theory concepts in Go.
Package snd3.1 0.0 gosamplerate VS Package sndPackage snd provides methods and types for sound processing and synthesis.
go_mediainfo3.1 0.0 gosamplerate VS go_mediainfoGolang bindings for libmediainfo
vorbis2.7 0.0 gosamplerate VS vorbisA "native" ogg vorbis decoder for Go (uses inline stb_vorbis)
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of gosamplerate or a related project?
libsamplerate binding for Golang
This is a Golang binding for libsamplerate (written in C), probably the best audio Sample Rate Converter available to today.
A classical use case is converting audio from a CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players.
libsamplerate is capable of arbitrary and time varying conversions (max sampling / upsampling by factor 256) and comes with 5 converters, allowing quality to be traded off against computation cost.
gosamplerate implements the following libsamplerate API calls:
not (yet) implemented is:
This library (gosamplerate) is published under the the permissive BSD license. You can find a good comparison of Open Source Software licenses, including the BSD license at choosealicense.com
libsamplerate has been republished in 2016 under the 2-clause BSD license.
How to install samplerate
Make sure that you have libsamplerate installed on your system.
On Mac or Linux it can be installed conveniently through your distro's packet manager.
using apt (Ubuntu), yum (Centos)...etc.
$ sudo apt install libsamplerate0
$ brew install libsamplerate
$ go get github.com/dh1tw/gosamplerate
The API of gosamplerate can be found at godoc.org. The documentation of libsamplerate (necessary in order to fully understand the API) can be found here.
Tests & Examples
The test coverage is close to 100%. The tests contain various examples on how to use gosamplerate.
*Note that all licence references and agreements mentioned in the gosamplerate README section above are relevant to that project's source code only.