-
Notifications
You must be signed in to change notification settings - Fork 433
Open
Description
Music21 Version
9.7.0
Operating System(s) checked
Mac OS 15.5
Problem summary
The lilypond translation uses old GUILE syntax. So for example
\override VerticalAxisGroup #'remove-first = ##t
should be
\override VerticalAxisGroup.remove-first=##t
There are many places in translate.py where this happens.
Steps to reproduce
import music21 as m21
music=[m21.note.Note('G4'),m21.note.Note('A4')]
s = m21.stream.Score(music)
s.show('lily')
Note also that lilypond \RemoveEmptyStaffContext is now \RemoveAllEmptyStaves.
Expected vs. actual behavior
Basically all of the many examples of
ClassName #'attribute = value
need to be changed to
ClassName.attribute=value
in translate.py.
More information
I'm willing to put a PR together if this is a change that you're interested in making. But it could cause problems for people using older versions of lilypond.
Metadata
Metadata
Assignees
Labels
No labels