From 1ed8dfa530338c641e5ef8f2d6d96aed364e3b16 Mon Sep 17 00:00:00 2001 From: mrfrac Date: Wed, 2 Dec 2020 14:30:26 +0500 Subject: [PATCH 1/2] readme update --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b689143..6c73b9c 100644 --- a/README.md +++ b/README.md @@ -44,4 +44,7 @@ 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)", ]} ``` From 6c53a76ae8e1a0dcff475fd3dc3d11ed05173075 Mon Sep 17 00:00:00 2001 From: mrfrac Date: Wed, 2 Dec 2020 14:32:55 +0500 Subject: [PATCH 2/2] fix --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6c73b9c..eef1bee 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,7 @@ 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 ...