gone

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

gone

A simple application that just plays a frequency

This application is based on the example of the oto library, which is used by this application.

Usage

Play a frequency:

gone [options] [frequencies] [duration]

The frequencies are played for the duration and if one frequency finishes, the next starts (the duration must be the last argument).

Options
Option Usage
-samplerate sample rate
-channel number of channel
-bitdepth bit depth in bytes

View help:

gone help

Build

Requires Go for compilation, gofumpt for code formatting and golangci-lint to run linters.

To build the code

make

or

make build

or if you don't have make installed

go build

To reformat the code:

make fmt

To run linters (will automatically format your code with gofumpt)

make lint

or if you don't want to format your code (linter may fail)

make lint-only

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL