muspy.external

External dependencies.

This module provides functions for working with external dependencies.

Functions

  • download_bravura_font
  • download_musescore_soundfont
  • get_bravura_font_dir
  • get_bravura_font_path
  • get_musescore_soundfont_dir
  • get_musescore_soundfont_path
muspy.external.download_bravura_font(overwrite: bool = False)[source]

Download the Bravura font.

Parameters:overwrite (bool, default: False) – Whether to overwrite an existing file.
muspy.external.download_musescore_soundfont(overwrite: bool = False)[source]

Download the MuseScore General soundfont.

Parameters:overwrite (bool, default: False) – Whether to overwrite an existing file.
muspy.external.get_bravura_font_dir() → pathlib.Path[source]

Return path to the directory of the Bravura font.

muspy.external.get_bravura_font_path() → pathlib.Path[source]

Return path to the Bravura font.

muspy.external.get_musescore_soundfont_dir() → pathlib.Path[source]

Return path to the MuseScore General soundfont directory.

muspy.external.get_musescore_soundfont_path() → pathlib.Path[source]

Return path to the MuseScore General soundfont.