Hello, I’m working on a score where I likely need to be able to notate multiple pedals (sometimes simultaneously) for a pedal steel part. I’d like these to look somewhat like the piano sustain mixed notation (and eventually have the possibility of more complex graphical shapes)
I can easily modify the sustain pedal stencil to draw what I want as a one off, but what I’d really like to do is extend lilypond temporarily to allow this across a whole score with custom commands per pedal. I’ve looked through various scm files, and I have a sense of what I’d need to copy/modify/add, but it looks like define-grobs.scm and define-music-types.scm add items to some kind of global variables, (such as music-descriptions) and some of these might then get manipulated after creation, so I’m not really sure how possible this without modifying core lilypond files. My preferred way of doing this would not be to modify lilyponds internal code at all, but just to add further scheme code purely to create my score. Is there any way this is possible (to add new events/objects in this way? Any advice would be gratefully appreciated. Thanks Alex