diff options
Diffstat (limited to 'key-picker.mjs')
| -rw-r--r-- | key-picker.mjs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/key-picker.mjs b/key-picker.mjs index 6d2efbe..f88f45c 100644 --- a/key-picker.mjs +++ b/key-picker.mjs @@ -6,6 +6,10 @@ function scaleFrom(tonic, scale) { return MajorScale(tonic); case 'minor': return MinorScale(tonic); + case 'aug': + return AugmentedScale(tonic); + case 'dim': + return DiminishedScale(tonic); default: throw new Error('how this happen') } @@ -111,4 +115,6 @@ export default function KeyPicker(form) { elt.onclick = handleNoteClick; }); formChanged(form); + + console.log('bjc', 'Cdim', DiminishedScale('C').toString()); } |
