Skip to content
/ mglyphs Public

Lists a set of scales, modes, scales' chords and their respective MIDI values based on user's scale key/octave input.

License

Notifications You must be signed in to change notification settings

pd3v/mglyphs

Repository files navigation

mglyphs

mglyphs release build

Install mglyphs

  • With Homebrew in your system and in Terminal type and Enter:
    • brew tap pd3v/mglyphs
    • brew install mglyphs
    • mglyphs -c e2
  • From github
    • go to Actions
    • click on the lastest/top workflow run
    • scroll down to Artifacts and download the file for MacOS or Linux
    • Uncompress it and open its folder
    • Within that folder run Terminal (or equivalent) and run mglyphs by typing and Enter: ./mglyphs -s d

Manual

mglyphs returns a list of scales, modes, chords in a scales (notes names and MIDI values) based on user's key/octave input.

Command syntax:

mglyphs [-param] [key note + octave] 

and param can be:

c or chords - returns all listed scales/modes in the form of 4 note chords (notes names and MIDI values) for the specified key/oct.

s or scales - returns all listed scales/modes (notes names and MIDI values) for the specified key/oct.

a or all - returns both the above; all scales'/modes' chords and scales'/modes' notes

To run mglyphs type ./build/mglyphs, press [Enter] in the command-line. Running it like this (without arguments) will return C scales'/modes' notes and their MIDI values, starting at c = 0 (MIDI).

C Blues
________________________
|c  |ds |f  |fs |g  |as |
|0  |3  |5  |6  |7  |10 |
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻

scales example:

  • ./mglyphs -s d3 - returns all scales/modes in the key of D, third octave, i.e., starting at d = 38 (MIDI)
D3 Pentatonic
____________________
|d  |f  |g  |a  |c  |
|38 |41 |43 |45 |48 |
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻

chords example:

  • ./mglyphs -c d3 - returns all scales'/modes' chords in the key of D, third octave, i.e., starting at d = 38 (MIDI)
D3 Mixolydian

_T____________II___________III__________IV___________V____________VI___________VII_________
|d  fs a  c  |e  g  b  d  |fs a  c  e  |g  b  d  fs |a  c  e  g  |b  d  fs a  |c  e  g  b  |
|38 42 45 48 |40 43 47 50 |42 45 48 52 |43 47 50 54 |45 48 52 55 |47 50 54 57 |48 52 55 59 |
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻

Scales listed

  • Chromatic
  • Major
  • Minor
  • Whole
  • Harmonic Minor
  • Pentatonic
  • Blues

Modes listed

  • Ionian
  • Dorian
  • Phrygian
  • Lydian
  • Mixolydian
  • Aeolian
  • Locrian

About

Lists a set of scales, modes, scales' chords and their respective MIDI values based on user's scale key/octave input.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published