musif.musicxml.scoring module¶
- musif.musicxml.scoring.extract_sound(part: music21.stream.base.Part, config: Configuration) str [source]¶
Returns sound name for a specific part based on the sound name Part: VnI -> Sound name: Vn :param part: Part to get abbreviaton from :type part: str :param cfg: Configuration object :type cfg: Configuration
- musif.musicxml.scoring.to_abbreviation(part: music21.stream.base.Part, parts: List[music21.stream.base.Part], cfg: Configuration) str [source]¶
Returns abbreviation name for a specific part based on the sound name
- Parameters
part (str) – Part to get abbreviaton from
parts (List[part]) – List of parts in the score
cfg (Configuration) – Configuration object