Constrained tuning: Difference between revisions

Mike Battaglia (talk | contribs)
Mike Battaglia (talk | contribs)
Line 226: Line 226:
  def CTWE(limit, M, k):
  def CTWE(limit, M, k):
     """
     """
     Computes the CTWE tuning of a *full-limit* temperament given
     Computes the CTWE tuning of a *full-limit* temperament given a limit and
    a limit and mapping matrix M. For k=0, this is CTE, for k=1, this is CWE/KE.
    mapping matrix M. For k=0, this is CTE, for k=1, this is CWE/KE.
   
   
     For subgroup temperaments, first compute the tuning of the full-limit
     For subgroup temperaments, first compute the tuning of the full-limit
Line 261: Line 261:
  M = np.array( # mapping matrix for meantone
  M = np.array( # mapping matrix for meantone
     [[1, 0, -4, -13],
     [[1, 0, -4, -13],
      [0, 1,  4,  10]]
      [0, 1,  4,  10]]
  )
  )