Skip to content

Commit

Permalink
Merge pull request #87 from mrfrac/readme020
Browse files Browse the repository at this point in the history
readme update
  • Loading branch information
mrfrac authored Dec 2, 2020
2 parents f1082c4 + 6c53a76 commit c526068
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ Note.fromString("A4").transpose(interval).toString(); // A5
const majorScaleFormula = ["P1", "M2", "M3", "P4", "P5", "M6", "M7"];
const scale = new Scale("A", majorScaleFormula);
scale.getNotes().map((note) => note.toString()); // ["A4", "B4", "C#5", "D5", "E5", "F#5", G#5",]
const ionian = new Scale("C", "ionian");
ionian.getNotes().map((note) => note.toString()); // ["C4", "D4", "E4", "F4", "G4", "A4", "B4", ]
ionian.getScaleInfo(); // { name: "Major", formula: "<...>", altNames: ["Bilaval theta", "Ethiopian (A raray)", "Ionian", "Mela Dhirasankarabharana (29)", ]}
```

### Chords

Coming soon ...

0 comments on commit c526068

Please sign in to comment.