MCPcopy Create free account
hub / github.com/bspaans/python-mingus / int_desc

Function int_desc

mingus/core/chords.py:1287–1296  ·  view source on GitHub ↗

Return the inversion of the triad in a string.

(tries)

Source from the content-addressed store, hash-verified

1285
1286
1287def int_desc(tries):
1288 """Return the inversion of the triad in a string."""
1289 if tries == 1:
1290 return ""
1291 elif tries == 2:
1292 return ", first inversion"
1293 elif tries == 3:
1294 return ", second inversion"
1295 elif tries == 4:
1296 return ", third inversion"
1297
1298
1299def determine_polychords(chord, shorthand=False):

Callers 1

inversion_exhausterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected