Skip to content

Commit

Permalink
added pentatonic(minor, major). close#13
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMost committed Mar 31, 2014
1 parent 6d44583 commit 5e3a4ca
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/scales.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,23 @@ SCALES =

Arabic:
desc: "Arabic scale"
size: [hSTEP,BigSTEP,hSTEP,hSTEP,BigSTEP,hSTEP,STEP]
size: [hSTEP, BigSTEP, hSTEP, hSTEP, BigSTEP, hSTEP, STEP]
get_notes: (Tonica) -> generate_scale Tonica, SCALES.Arabic

Blues:
desc: "Blues scale"
size: [BigSTEP,STEP,hSTEP,hSTEP,BigSTEP,STEP]
size: [BigSTEP, STEP, hSTEP, hSTEP, BigSTEP, STEP]
get_notes: (Tonica) -> generate_scale Tonica, SCALES.Blues

PentatonicMinor:
desc: "Pentatonic Minor"
size: [BigSTEP, STEP, STEP, BigSTEP, STEP]
get_notes: (Tonica) -> generate_scale Tonica, SCALES.PentatonicMinor

PentatonicMajor:
desc: "Pentatonic Major"
size: [STEP, STEP, BigSTEP, STEP, BigSTEP]
get_notes: (Tonica) -> generate_scale Tonica, SCALES.PentatonicMajor


module.exports = {SCALES, generate_scale, STEP, hSTEP, BigSTEP}

0 comments on commit 5e3a4ca

Please sign in to comment.