Audio library that can play as many file formats as possible?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/golang

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • audio

    Audio support for Go language. (by qiniu)

    For a preview function in a desktop GUI app, I'm looking for an audio library that can play common audio file formats like MP3s, MP4, WAV, Ogg,... and has a permissive license like MIT or Apache (GPL or LGPL are not possible). Target platforms are Linux and Windows. Currently, I'm using github.com/qiniu/audio which is pretty cool and has minimal dependencies but it is also limited; it can only read certain types of MP3s and no 24 bit WAVs.

  • beep

    A little package that brings sound to any Go application. Suitable for playback and audio-processing.

    https://github.com/faiface/beep is handy and I've used it for a player. You could extend further to add support for decoding other file types it didn't do (it currentlu does MP3, WAV , FLAC, OGG)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts