Popularity
3.5
Growing
Activity
5.2
-
55
3
10

Programming language: C
License: MIT License
Tags: Audio And Music    

minimp3 alternatives and similar packages

Based on the "Audio and Music" category.
Alternatively, view minimp3 alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of minimp3 or a related project?

Add another 'Audio and Music' Package

README

minimp3

Decode mp3 base on https://github.com/lieff/minimp3

Build Status Coverage Status GoDoc

See examples in example directory. make and make test test the example.

package main

import (
    "io/ioutil"

    "github.com/hajimehoshi/oto"
    "github.com/tosone/minimp3"
)

func main() {
    var file, _ = ioutil.ReadFile("test.mp3")
    dec, data, _ := minimp3.DecodeFull(file)

    player, _ := oto.NewPlayer(dec.SampleRate, dec.Channels, 2, 1024)
    player.Write(data)
}