Return the unison of note. Raise a KeyError exception if the note is not found in the given key. The key is not at all important, but is here for consistency reasons only. Example: >>> unison('C') 'C'
(note, key=None)
| 55 | |
| 56 | |
| 57 | def unison(note, key=None): |
| 58 | """Return the unison of note. |
| 59 | |
| 60 | Raise a KeyError exception if the note is not found in the given key. |
| 61 | |
| 62 | The key is not at all important, but is here for consistency reasons |
| 63 | only. |
| 64 | |
| 65 | Example: |
| 66 | >>> unison('C') |
| 67 | 'C' |
| 68 | """ |
| 69 | return interval(note, note, 0) |
| 70 | |
| 71 | |
| 72 | def second(note, key): |
nothing calls this directly
no test coverage detected