Return all the sevenths chords in key in a list.
(key)
| 244 | |
| 245 | |
| 246 | def sevenths(key): |
| 247 | """Return all the sevenths chords in key in a list.""" |
| 248 | if key in _sevenths_cache: |
| 249 | return _sevenths_cache[key] |
| 250 | res = [seventh(x, key) for x in keys.get_notes(key)] |
| 251 | _sevenths_cache[key] = res |
| 252 | return res |
| 253 | |
| 254 | |
| 255 | def major_seventh(note): |
no test coverage detected