https://github.com/go-music/music
There's an example command-line utility music.go
to demo the libraries:
go run music.go -k "C minor 7"
This will output:
root: C
major: false
minor: true
tones:
3: D#
5: G
7: A#
Author: Charney Kaye
A Note is used to represent the relative duration and pitch of a sound.
An interval is the difference between two pitches.
The key of a piece is a group of pitches, or scale upon which a music composition is created in classical, Western art, and Western pop music.
A chord, in music, is any harmonic set of three or more notes that is heard as if sounding simultaneously.