/Scale-Generator

Create musical scales and get other related information about a key with this Python module. Can be used via command line as well.

Primary LanguagePython

Scale Generator

Scale Generator is a Python module that contains a bunch of functions which allow you to work with musical notes and scales. Many of the functions can also be used from the command line.

Command Line

–makeScale, -ms:

Returns an array containing the notes the desired scale. Scale types are major, natural_minor, melodic_minor, harmonic_minor, blues.

$ /.scale_generator.py --makeScale C major

–triadNotes, -tn:

Returns an array containing the notes of the desired triad. Available types are major & minor.

$ /.scale_generator.py --triadNotes C major

–triadType, -tt:

Returns a string signifying the triad type. Takes three notes in any order.

$ /.scale_generator.py --triadType E G C

–pentatonic, -p:

Returns an array containing the notes of the desired pentatonic scale. Available types are major & minor.

$ /.scale_generator.py --pentatonic E major