Our great sponsors
-
beep
A little package that brings sound to any Go application. Suitable for playback and audio-processing.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
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)