don't interpret note as n

This commit is contained in:
Felix Roos 2025-06-24 05:43:06 +02:00
parent a9a3d491a2
commit e2a29914c7
No known key found for this signature in database
2 changed files with 2 additions and 19 deletions

View file

@ -30,18 +30,6 @@ describe('tonal', () => {
.firstCycleValues.map((h) => h.note),
).toEqual(['C3', 'D3', 'E3']);
});
it('scale with n and note values', () => {
expect(
n(0, 1, 2)
.note(3, 4, 0)
.scale('C major')
.firstCycleValues.map((h) => [h.n, h.note]),
).toEqual([
[0, 'F3'],
[1, 'G3'],
[2, 'C3'],
]);
});
it('scale with colon', () => {
expect(
n(0, 1, 2)