Skip to content

NBR41/gomorse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gomorse

GoDoc Build Status Code validation Coverage Status

Simple command to code phrases into beep morse code.

Purpose

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.

Install

To compile the package require libasound2-dev, to install:

sudo apt-get install libasound2-dev  # for Debian and Ubuntu

After you get the package, and install dependancies

go get github.com/NBR41/gomorse

Usage

./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)

About

Simple command to code phrases into beep morse code

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages