beeper - play sound via PC speaker
go get github.com/biter777/beeper
func main() {
b, _ := beeper.NewBeeper()
b.Beep(5000, 100*time.Millisecond) // beep sound via PC speaker, 5000 hz, 100 ms
b.BeepItems(beeper.StarWars(), 1) // play StarWars melody via PC speaker with melody speed = 1 :)
b.Close()
}
Welcome pull requests, bug fixes and issue reports.
Before proposing a change, please discuss it first by raising an issue.
Star us. Give us a star, please, if it's not against your religion :)