tuning

package
v0.0.0-...-2889c3b Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyOctave

type KeyOctave int

func NewKeyOctave

func NewKeyOctave(k scale.Key, o scale.Octave) KeyOctave

func (KeyOctave) Split

func (ko KeyOctave) Split(tuning Tuning) (scale.Key, scale.Octave)

type Tuning

type Tuning interface {
	ToFrequency(ko KeyOctave) float64
	Key(index int) scale.Key
	BaseKey() (scale.Key, scale.Octave)
	KeysPerOctave() int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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