Correctly handle silences for non-notes
This commit is contained in:
parent
b8c46d6b26
commit
92b2013cf6
2 changed files with 4 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ describe('tonal', () => {
|
|||
n(seq('0b#', '1#b', '2#b#'))
|
||||
.scale('C major')
|
||||
.firstCycleValues.map((h) => h.note),
|
||||
).toEqual(['', '', '']);
|
||||
).toEqual([]);
|
||||
});
|
||||
it('snaps notes (upwards) to scale', () => {
|
||||
const inputNotes = ['Cb', 'Eb', 'G', 'A#', 'Bb'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue