tuner

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	NUM_SAMPLES = 96000
)

* Global constants.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result interface {
	Cents() int8
	Frequency() float64
	Note() string
}

* The result of a spectral analysis.

type Tuner

type Tuner interface {
	Analyze() (Result, error)
	Process(samples []float64, sampleRate uint32)
}

* A chromatic instrument tuner.

func Create

func Create() Tuner

* Creates an instrument tuner.

Jump to

Keyboard shortcuts

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