musicflower.util.transpose_profiles

musicflower.util.transpose_profiles(profile, modulo=False)[source]

Returns two arrays representing the circle of fifth profiles.

Parameters:
  • profile – array of arbitrary shape with profiles along first dimension

  • modulo – change from chromatic to fifth-based order or vice versa

Returns:

transposition of the key profile, reordered in the circle of fifth order.