Test whether note1 and note2 are enharmonic, i.e. they sound the same.
(note1, note2)
| 62 | |
| 63 | |
| 64 | def is_enharmonic(note1, note2): |
| 65 | """Test whether note1 and note2 are enharmonic, i.e. they sound the same.""" |
| 66 | return note_to_int(note1) == note_to_int(note2) |
| 67 | |
| 68 | |
| 69 | def is_valid_note(note): |
nothing calls this directly
no test coverage detected