Godtone (talk | contribs)
note bird's eye view of temperaments by accuracy that i worked on for a while in case it helps anyone to find good temperaments
Godtone (talk | contribs)
m →My Python 3 code: deprecate "cs" in favour of preferred "notcs"
Line 1,158: Line 1,158:
# returns [] if cs or details of earliest counterexample if not;
# returns [] if cs or details of earliest counterexample if not;
# "earliest" is defined as "search all 1-steps from beginning to end, then all 2-steps, etc."
# "earliest" is defined as "search all 1-steps from beginning to end, then all 2-steps, etc."
def cs(scale_in):
def notcs(scale_in): # the alias cs for this function is deprecated due to being named confusingly but defined for convenience/backwards-compatibility
stepmap = dict()
stepmap = dict()
scale = scale_in.copy()
scale = scale_in.copy()
Line 1,172: Line 1,172:
stepmap[interval] = j
stepmap[interval] = j
return []
return []
cs = notcs # the alias cs for this function is deprecated due to being named confusingly but defined for convenience/backwards-compatibility


def rotate(scale,n,p=(2,1)):
def rotate(scale,n,p=(2,1)):