Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slice ¶
type Slice []Type
Slice represents pitch slice
func (Slice) RingSignature ¶
RingSignature return pitch slice signature according to Ian Ring's system
func (Slice) ZeitlerSignature ¶
ZeitlerSignature return pitch slice signature according to William Zeitler's system
type Type ¶
type Type int
Type is a type for pitch
const ( Invalid Type = iota CNatural Type = iota CSharp Type = iota DNatural Type = iota DSharp Type = iota ENatural Type = iota FNatural Type = iota FSharp Type = iota GNatural Type = iota GSharp Type = iota ANatural Type = iota ASharp Type = iota BNatural Type = iota )
Pitch name enumerations
func CircleOfFifths ¶ added in v1.2.0
func CircleOfFifths() []Type
func (Type) RingNumber ¶
RingNumber return pitch numbering according to Ian Ring's system
func (Type) ZeitlerNumber ¶
ZeitlerNumber return pitch numbering according to William Zeitler's system
type WithDegree ¶ added in v1.1.0
WithDegree represents a tuple of pitch with it's correspond degree
Click to show internal directories.
Click to hide internal directories.