musif.musescore package

Submodules

musif.musescore.common module

musif.musescore.common.extract_harmonic_analysis(mscx_file: str)[source]

Given a mscx file name, parses the file using ms3 library and returns a dataframe containing all harmonic information. Adds Playthrough column that contains number of every measure in the cronological order :param file_path: Path to mscx file :type file_path: str :param expand_repeats: Directory path to musescore file :type expand_repeats: bool

Returns:

harmonic_analysis – Dataframe containing harmonic information

Return type:

str

musif.musescore.constants module

musif.musescore.constants.MUSESCORE_FILE_EXTENSION = '.mscx'

Extension of the musescore files, defaults to “mscx”.