MuseScore Interface

muspy.read_musescore(path, resolution=None, compressed=None, timeout=None)[source]

Read the MuseScore file into a Music object, paying close attention to details such as articulation and expressive features.

Parameters:
  • path (str or Path) – Path to the MuseScore file to read.

  • resolution (int, optional) – Time steps per quarter note. Defaults to the least common multiple of all divisions.

  • compressed (bool, optional) – Whether it is a compressed MuseScore file. Defaults to infer from the filename.

Returns:

Converted Music object.

Return type:

Music