Documentation
¶
Overview ¶
Reference: https://github.com/tonaljs/tonal/tree/main/packages/chord-detect/index.ts
Index ¶
Constants ¶
View Source
const ( // 3m 000100000000 // 3M 000010000000 AnyThirdsMask = 384 // 0b000110000000 = 384 // 5P 000000010000 PerfectFifthMask = 16 // 0b000000010000 = 16 // 5d 000000100000 // 5A 000000001000 NonPerfectFifthsMask = 40 // 0b000000101000 = 40 // 7m 000000000010 // 7M 000000000001 AnySeventhMask = 3 // 0b000000000011 = 3 )
Variables ¶
This section is empty.
Functions ¶
func DetectWithOptions ¶
func DetectWithOptions(source []*note.Note, options DetectOptions) []string
Types ¶
type DetectOptions ¶
type DetectOptions struct {
AssumePerfectFifth bool
}
type FoundChord ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
A dictionary of musical chords.
|
A dictionary of musical chords. |
|
A pitch class set is a set (no repeated) of pitch classes (notes without octaves).
|
A pitch class set is a set (no repeated) of pitch classes (notes without octaves). |
|
Reference: https://github.com/tonaljs/tonal/tree/main/packages/pitch-interval/index.ts
|
Reference: https://github.com/tonaljs/tonal/tree/main/packages/pitch-interval/index.ts |
Click to show internal directories.
Click to hide internal directories.