@staticmethod
def format_lilypond_attribute(attribute) ->str:
    """
        Formats LilyPond attribute according to Scheme formatting conventions.
        """
    assert isinstance(attribute, str), repr(attribute)
    attribute = attribute.replace('__', '.')
    result = attribute.replace('_', '-')
    return result
