Categorygithub.com/frozzare/go-beeper
modulepackage
1.0.0
Repository: https://github.com/frozzare/go-beeper.git
Documentation: pkg.go.dev

# README

go-beeper

Make your terminal beep

View the docs.

Installation

$ go get github.com/frozzare/go-beeper

Example

package main

import (
	"github.com/frozzare/go-beeper"
)

func main() {
	// beep once
	beeper.Beep()

	// beep three times
	beeper.Beep(3)
}

Play a melody. Star is a beep and dash is the pause sign.

package main

import (
	"github.com/frozzare/go-beeper"
)

func main() {
	beeper.Melody("**-**")
	// beep, beep, pause, beep, beep
}

License

MIT

# Functions

Beep numbers of times.
Beep a melody.