From 5cd3560d46d3ab4d148443bfb339dad9bddff2d8 Mon Sep 17 00:00:00 2001 From: Andrew Punnett Date: Fri, 29 Oct 2021 10:54:30 +1300 Subject: [PATCH] Parse note strings with three sharps or flats. Tweaked the note string regexp and the noteToScaleIndex map, so that it can parse note strings with three sharps or flats. Although rare, notes with three sharps or flats do occur, for example in the B# augmented seventh and Cb diminished seventh chords. --- Tone/core/type/Frequency.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Tone/core/type/Frequency.ts b/Tone/core/type/Frequency.ts index f29a0ec5..9d28af3e 100644 --- a/Tone/core/type/Frequency.ts +++ b/Tone/core/type/Frequency.ts @@ -50,7 +50,7 @@ export class FrequencyClass extends TimeClass extends TimeClass