fix: note2oct
This commit is contained in:
parent
584d469a73
commit
f2c16a06a1
4 changed files with 5 additions and 5 deletions
|
|
@ -88,7 +88,7 @@ describe('tonleiter', () => {
|
|||
expect(note2oct('C5')).toBe(5);
|
||||
expect(note2oct('Bb3')).toBe(3);
|
||||
expect(note2oct('C7')).toBe(7);
|
||||
//expect(note2oct('C10')).toBe(10); // <- 2 digits fail
|
||||
expect(note2oct('C10')).toBe(10);
|
||||
});
|
||||
test('midi2note', () => {
|
||||
expect(midi2note(60)).toBe('C4');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue