Simple command to code phrases into beep morse code.
Insprired by github.com/dbatbold/beep, this library get a phrase as input, check it validity, and play on speakers beep morse code corresponding to the input phrase.
To compile the package require libasound2-dev, to install:
sudo apt-get install libasound2-dev # for Debian and UbuntuAfter you get the package, and install dependancies
go get github.com/NBR41/gomorse./gomorse -h
gomorse is a tool to transcript phrases to morse code.
3 parameters:
- volume
- beep duration
- beep frequence
Usage:
gomorse [flags]
Flags:
-d, --duration int beep duration in ms (default 250)
-f, --frequence float frequency in Hertz (1-22050) (default 523.25)
-h, --help help for gomorse
-v, --volume int beep volume (0 to 100) (default 100)