openlilylib / analysis

Graphical highlighting of musical analysis with GNU LilyPond
GNU General Public License v3.0
5 stars 3 forks source link

add engraver to all voice types #10

Open KlausBlum opened 6 years ago

KlausBlum commented 6 years ago

Make Horizontal_bracket_engraver available in all voice types, e.g. DrumVoice etc.

KlausBlum commented 6 years ago

Sorry, I didn't get this to work.

I've tried \consistToContexts #Horizontal_bracket_engraver Voice.DrumVoice.GregorianTranscriptionVoice.KievanVoice.MensuralVoice.PetrucciVoice.VaticanaVoice but #Horizontal_bracket_engraver is not recognized as a procedure:

C:/Users/Klaus/AppData/Local/Temp/frescobaldi-ba7bdnxi/tmp7qoire0u/document.ly:11:20: Fehler: falscher Typ für Argument 1; procedure erwartet, # gefunden \consistToContexts _#Horizontal_bracketengraver Voice.DrumVoice.GregorianTranscriptionVoice.KievanVoice.MensuralVoice.PetrucciVoice.VaticanaVoice

C:/Users/Klaus/AppData/Local/Temp/frescobaldi-ba7bdnxi/tmp7qoire0u/document.ly:11:1: Fehler: falsche Ausdrucksart _\consistToContexts #Horizontal_bracketengraver Voice.DrumVoice.GregorianTranscriptionVoice.KievanVoice.MensuralVoice.PetrucciVoice.VaticanaVoice

Also, I had some troubles to find the right placement for \loadModule oll-core.util.consist-to-contexts to have \consistToContexts recognized as a known command. Inside module.ily, I had no luck at all.

Sorry, I don't know what I'm missing. :(

uliska commented 6 years ago

I'll have a look once I'm fully back at my desk and have a working computer again. -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.