Skip to content

Go library to get notes of a scale or scales from a set of notes.

License

Notifications You must be signed in to change notification settings

ggiill/go-music-scales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-music-scales

Go library that will provide the notes of a musical scale.

Has a (very basic) CLI component.

Library: scales

package main

import (
  scales "github.com/ggiill/go-music-scales"
)

func main() {
	s := scales.NewScale("Eb", "Minor")
	s.Identify()
}

CLI

Provides options for:

Root Note and Mode -> Notes of scale

$ go run cmd/go-music-scales/main.go scale -root A -mode Minor
I am an A Minor scale and my notes are A, B, C, D, E, F, G, A

Notes of scale -> All scales (Root Notes and Modes)

$ go run cmd/go-music-scales/main.go notes --list A B C D E F G
These scales are comprised of the notes [A B C D E F G]: A Aeolian, A Minor, B Locrian, C Ionian, C Major, D Dorian, E Phrygian, F Lydian, G Myxolydian

About

Go library to get notes of a scale or scales from a set of notes.

Topics

Resources

License

Stars

Watchers

Forks

Languages