Skip to content

Commit

Permalink
Merge pull request #1676 from cuthbertLab/fix-chord-table-docs
Browse files Browse the repository at this point in the history
fix one incorrect doc
  • Loading branch information
mscuthbert authored Jan 2, 2024
2 parents 970624c + 02e1db5 commit 59b2feb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions music21/chord/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class ChordTablesException(exceptions21.Music21Exception):

# This dictionary defines the pitch classes to return for the inversion of a given
# forte number. For instance (3, 11): (0, 4, 7) indicates that for the
# inverted form of Forte class 3-11 (minor/major triad) return 0, 2, 3
# inverted form of Forte class 3-11 (minor/major triad) return 0, 4, 7
# (the zero could be assumed, but it makes my brain easier to have it there).
# It is faster to store this than to recompute it every time.
# Data cross-checked with
Expand Down Expand Up @@ -1788,6 +1788,7 @@ def addressToForteName(address, classification='tn'):
return f'{card}-{index}{iStr}'


# noinspection GrazieInspection
def seekChordTablesAddress(c):
'''
Utility method to return the address to the chord table; used by
Expand Down Expand Up @@ -1841,7 +1842,7 @@ def seekChordTablesAddress(c):
for Chord with 0 pitches
NOTE: this was once a time-consuming operation, though it is
now quite a bit faster than before (order of 100 microseconds). Nonetheless
now quite a bit faster than before (order of 100 microseconds). Nonetheless, it
should only be run when necessary. Methods that call this should
try (as chord.Chord does) to cache the result.
Expand Down

0 comments on commit 59b2feb

Please sign in to comment.