% property-init.ly
-\version "1.3.146"
+\version "2.12.0"
-stemUp = \property Voice.Stem \set #'direction = #1
-stemDown = \property Voice.Stem \set #'direction = #-1
-stemBoth= \property Voice.Stem \revert #'direction
+stemUp = \override Stem #'direction = #UP
+stemDown = \override Stem #'direction = #DOWN
+stemNeutral = \revert Stem #'direction
-slurUp = \property Voice.Slur \override #'direction = #1
-slurDown = \property Voice.Slur \override #'direction = #-1
-slurBoth = \property Voice.Slur \revert #'direction
-shiftOn = \property Voice.NoteColumn \override #'horizontal-shift = #1
-shiftOnn = \property Voice.NoteColumn \override #'horizontal-shift = #2
-shiftOnnn = \property Voice.NoteColumn \override #'horizontal-shift = #3
-shiftOff = \property Voice.NoteColumn \revert #'horizontal-shift
+slurUp = \override Slur #'direction = #UP
+slurDown = \override Slur #'direction = #DOWN
+slurNeutral = \revert Slur #'direction
-tieUp = \property Voice.Tie \override #'direction = #1
-tieDown = \property Voice.Tie \override #'direction = #-1
-tieBoth = \property Voice.Tie \revert #'direction
+slurDashed = {
+ \override Slur #'dash-period = #0.75
+ \override Slur #'dash-fraction = #0.4
+}
+slurDotted = {
+ \override Slur #'dash-period = #0.75
+ \override Slur #'dash-fraction = #0.1
+}
+slurSolid = {
+ \revert Slur #'dash-period
+ \revert Slur #'dash-fraction
+}
-dynamicUp = {
- \property Voice.DynamicText \override #'direction = #1
- \property Voice.DynamicLineSpanner \override #'direction = #1
+
+phrasingSlurUp = \override PhrasingSlur #'direction = #UP
+phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN
+phrasingSlurNeutral = \revert PhrasingSlur #'direction
+
+phrasingSlurDashed = {
+ \override PhrasingSlur #'dash-period = #0.75
+ \override PhrasingSlur #'dash-fraction = #0.4
}
-dynamicDown = {
- \property Voice.DynamicText \override #'direction = #-1
- \property Voice.DynamicLineSpanner \override #'direction = #-1
+phrasingSlurDotted = {
+ \override PhrasingSlur #'dash-period = #0.75
+ \override PhrasingSlur #'dash-fraction = #0.1
}
-dynamicBoth = {
- \property Voice.DynamicText \revert #'direction
- \property Voice.DynamicLineSpanner \revert #'direction
+phrasingSlurSolid = {
+ \revert PhrasingSlur #'dash-period
+ \revert PhrasingSlur #'dash-fraction
}
-scriptUp = {
- \property Voice.TextScript \override #'direction = #1
- \property Voice.Script \override #'direction = #1
+mergeDifferentlyDottedOn = {
+ \override Staff.NoteCollision #'merge-differently-dotted = ##t
}
-scriptDown = {
- \property Voice.TextScript \override #'direction = #-1
- \property Voice.Script \override #'direction = #-1
+mergeDifferentlyDottedOff = {
+ \revert Staff.NoteCollision #'merge-differently-dotted
}
-scriptBoth = {
- \property Voice.TextScript \revert #'direction
- \property Voice.Script \revert #'direction
+
+mergeDifferentlyHeadedOn = {
+ \override Staff.NoteCollision #'merge-differently-headed = ##t
+}
+mergeDifferentlyHeadedOff = {
+ \revert Staff.NoteCollision #'merge-differently-headed
}
-tupletUp = {
- \property Voice.TupletBracket \override #'direction = #1
- \property Voice.TupletBracket \override #'direction = #1
+shiftOn = \override NoteColumn #'horizontal-shift = #1
+shiftOnn = \override NoteColumn #'horizontal-shift = #2
+shiftOnnn = \override NoteColumn #'horizontal-shift = #3
+shiftOff = \revert NoteColumn #'horizontal-shift
+
+tieUp = \override Tie #'direction = #UP
+tieDown = \override Tie #'direction = #DOWN
+tieNeutral = \revert Tie #'direction
+
+tieDashed = {
+ \override Tie #'dash-period = #0.75
+ \override Tie #'dash-fraction = #0.4
}
-tupletDown = {
- \property Voice.TupletBracket \override #'direction = #-1
- \property Voice.TupletBracket \override #'direction = #-1
+tieDotted = {
+ \override Tie #'dash-period = #0.75
+ \override Tie #'dash-fraction = #0.1
}
-tupletBoth = {
- \property Voice.TupletBracket \revert #'direction
- \property Voice.TupletBracket \revert #'direction
+tieSolid = {
+ \revert Tie #'dash-period
+ \revert Tie #'dash-fraction
}
+easyHeadsOn = {
+ \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
+ \override NoteHead #'font-size = #-7
+ \override NoteHead #'font-family = #'sans
+ \override NoteHead #'font-series = #'bold
+}
+easyHeadsOff = {
+ \revert NoteHead #'stencil
+ \revert NoteHead #'font-size
+ \revert NoteHead #'font-family
+ \revert NoteHead #'font-series
+}
+
+aikenHeads = \set shapeNoteStyles = #'#(do re mi fa #f la ti)
+
+sacredHarpHeads = \set shapeNoteStyles = #'#(fa #f la fa #f la mi)
+
+dynamicUp = {
+ \override DynamicText #'direction = #UP
+ \override DynamicLineSpanner #'direction = #UP
+}
+
+dynamicDown = {
+ \override DynamicText #'direction = #DOWN
+ \override DynamicLineSpanner #'direction = #DOWN
+}
+
+dynamicNeutral = {
+ \revert DynamicText #'direction
+ \revert DynamicLineSpanner #'direction
+}
-cadenzaOn = \property Score.timing = ##f
+
+dotsUp = \override Dots #'direction = #UP
+dotsDown = \override Dots #'direction = #DOWN
+dotsNeutral = \revert Dots #'direction
+
+tupletUp = \override TupletBracket #'direction = #UP
+tupletDown = \override TupletBracket #'direction = #DOWN
+tupletNeutral = \revert TupletBracket #'direction
+
+cadenzaOn = \set Timing.timing = ##f
cadenzaOff = {
- \property Score.timing = ##t
- \property Score.measurePosition = #(make-moment 0 1)
+ \set Timing.timing = ##t
+ \set Timing.measurePosition = #ZERO-MOMENT
+}
+
+% dynamic ly:dir? text script, articulation script ly:dir?
+oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
+voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
+voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
+voiceThree = #(context-spec-music (make-voice-props-set 2) 'Voice)
+voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
+
+voiceOneStyle = {
+ \override NoteHead #'style = #'diamond
+ \override NoteHead #'color = #red
+ \override Stem #'color = #red
+ \override Beam #'color = #red
+}
+voiceTwoStyle = {
+ \override NoteHead #'style = #'triangle
+ \override NoteHead #'color = #blue
+ \override Stem #'color = #blue
+ \override Beam #'color = #blue
+}
+voiceThreeStyle = {
+ \override NoteHead #'style = #'xcircle
+ \override NoteHead #'color = #green
+ \override Stem #'color = #green
+ \override Beam #'color = #green
+}
+voiceFourStyle = {
+ \override NoteHead #'style = #'cross
+ \override NoteHead #'color = #magenta
+ \override Stem #'color = #magenta
+ \override Beam #'color = #magenta
+}
+voiceNeutralStyle = {
+ \revert NoteHead #'style
+ \revert NoteHead #'color
+ \revert Stem #'color
+ \revert Beam #'color
}
-newpage = {
- \break
- % urg, only works for TeX output
- \context Score \outputproperty #(make-type-checker 'paper-column-interface)
- #'between-system-string = #"\\newpage"
+teeny = {
+ \set fontSize = #-3
}
-% dynamic dir? text script, articulation script dir?
-oneVoice = {
- \stemBoth
- \slurBoth
- \tieBoth
- \shiftOff
+tiny = {
+ \set fontSize = #-2
}
-voiceOne = {
- \stemUp
- \slurUp
- \tieUp
+small = {
+ \set fontSize = #-1
}
-voiceTwo = {
- \stemDown
- \slurDown
- \tieDown
+normalsize = {
+ \set fontSize = #0
}
-
-voiceThree = {
- \stemUp
- \slurUp
- \tieUp
- \shiftOn
+
+large = {
+ \set fontSize = #1
}
-voiceFour = {
- \stemDown
- \slurDown
- \tieDown
- \shiftOn
+huge = {
+ \set fontSize = #2
}
-% There's also dash, but setting dash period/length should be fixed.
-slurDotted = \property Voice.Slur \override #'dashed = #1
-slurSolid = \property Voice.Slur \revert #'dashed
-tieDotted = \property Voice.Tie \override #'dashed = #1
-tieSolid = \property Voice.Tie \revert #'dashed
+%% End the incipit and print a ``normal line start''.
+endincipit = \context Staff {
+ \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
+ \once \override Staff.Clef #'full-size-change = ##t
+ \once \override Staff.Clef #'non-default = ##t
+ \bar ""
+}
+
+autoBeamOff = \set autoBeaming = ##f
+autoBeamOn = \set autoBeaming = ##t
+
+textLengthOn = {
+ \override TextScript #'extra-spacing-width = #'(0 . 0)
+ \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
+}
-
-tiny =
- \property Voice.fontSize= -2
+textLengthOff = {
+ \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
+ \override TextScript #'extra-spacing-height = #'(0 . 0)
+}
+balloonLengthOn = {
+ \override BalloonTextItem #'extra-spacing-width = #'(0 . 0)
+ \override BalloonTextItem #'extra-spacing-height = #'(-inf.0 . +inf.0)
+}
-small =
- \property Voice.fontSize= -1
+balloonLengthOff = {
+ \override BalloonTextItem #'extra-spacing-width = #'(+inf.0 . -inf.0)
+ \override BalloonTextItem #'extra-spacing-height = #'(0 . 0)
+}
-normalsize = {
- \property Voice.fontSize= 0
+showStaffSwitch = \set followVoice = ##t
+hideStaffSwitch = \set followVoice = ##f
+
+expandFullBarRests = {
+ \set Score.skipBars = ##f
}
-normalkey = {
- \property Staff.keyOctaviation = ##f
+compressFullBarRests = {
+ \set Score.skipBars = ##t
}
-specialkey = {
- \property Staff.keyOctaviation = ##t
+numericTimeSignature = {
+ \override Staff.TimeSignature #'style = #'()
}
-% End the incipit and print a ``normal line start''.
-endincipit = \notes{
- \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
- \context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
- \context Staff \outputproperty #(make-type-checker 'clef-interface) #'non-default = ##t
- \bar ""
+defaultTimeSignature = {
+ \revert Staff.TimeSignature #'style
}
-autoBeamOff = \property Voice.noAutoBeaming = ##t
-autoBeamOn = \property Voice.noAutoBeaming = ##f
-emptyText = \property Voice.textNonEmpty = ##f
-fatText = \property Voice.textNonEmpty = ##t
+% For drawing vertical chord brackets with \arpeggio
+% This is a shorthand for the value of the print-function property
+% of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
+% cross-staff brackets are desired.
+
+arpeggio = #(make-music 'ArpeggioEvent)
-showStaffSwitch = \property PianoStaff.followVoice = ##t
-hideStaffSwitch = \property PianoStaff.followVoice = ##f
+arpeggioArrowUp = {
+ \revert Arpeggio #'stencil
+ \revert Arpeggio #'X-extent
+ \override Arpeggio #'arpeggio-direction = #UP
+}
+arpeggioArrowDown = {
+ \revert Arpeggio #'stencil
+ \revert Arpeggio #'X-extent
+ \override Arpeggio #'arpeggio-direction = #DOWN
+}
+arpeggioNormal = {
+ \revert Arpeggio #'stencil
+ \revert Arpeggio #'X-extent
+ \revert Arpeggio #'arpeggio-direction
+}
+arpeggioBracket = {
+ \revert Arpeggio #'X-extent
+ \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
+}
+arpeggioParenthesis = {
+ \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
+ \override Arpeggio #'X-extent = #ly:grob::stencil-width
+}
+
+glissando = #(make-music 'GlissandoEvent)
+
+fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
+
+hideNotes = {
+ % hide notes, accidentals, etc.
+ \override Dots #'transparent = ##t
+ \override NoteHead #'transparent = ##t
+ \override NoteHead #'no-ledgers = ##t
+ \override Stem #'transparent = ##t
+ \override Beam #'transparent = ##t
+ \override Accidental #'transparent = ##t
+}
+
+
+unHideNotes = {
+ \revert Accidental #'transparent
+ \revert Beam #'transparent
+ \revert Stem #'transparent
+ \revert NoteHead #'transparent
+ \revert NoteHead #'no-ledgers
+ \revert Dots #'transparent
+}
+
+germanChords = {
+ \set chordRootNamer = #(chord-name->german-markup #t)
+ \set chordNoteNamer = #note-name->german-markup
+}
+semiGermanChords = {
+ \set chordRootNamer = #(chord-name->german-markup #f)
+ \set chordNoteNamer = #note-name->german-markup
+}
+
+frenchChords = {
+ \set chordRootNamer = #(chord-name->italian-markup #t)
+ \set chordPrefixSpacer = #0.4
+}
+
+italianChords = {
+ \set chordRootNamer = #(chord-name->italian-markup #f)
+ \set chordPrefixSpacer = #0.4
+}
+improvisationOn = {
+ \set squashedPosition = #0
+ \override NoteHead #'style = #'slash
+ \override Accidental #'stencil = ##f
+}
+
+improvisationOff = {
+ \unset squashedPosition
+ \revert NoteHead #'style
+ \revert Accidental #'stencil
+}
+
+textSpannerUp = \override TextSpanner #'direction = #UP
+textSpannerDown = \override TextSpanner #'direction = #DOWN
+textSpannerNeutral = \revert TextSpanner #'direction
+
+
+
+bassFigureExtendersOn = {
+ \set useBassFigureExtenders = ##t
+ \set Staff.useBassFigureExtenders = ##t
+}
+
+bassFigureExtendersOff = {
+ \set useBassFigureExtenders = ##f
+ \set Staff.useBassFigureExtenders = ##f
+}
+
+bassFigureStaffAlignmentDown = {
+ \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
+}
+
+bassFigureStaffAlignmentUp = {
+ \override Staff.BassFigureAlignmentPositioning #'direction = #UP
+}
+
+bassFigureStaffAlignmentNeutral = {
+ \revert Staff.BassFigureAlignmentPositioning #'direction
+}
+
+predefinedFretboardsOff = {
+ \set FretBoards.predefinedDiagramTable = ##f
+}
+
+predefinedFretboardsOn = {
+ \set FretBoards.predefinedDiagramTable = #fretboard-table
+}
-% To remove a Volta bracet or some other graphical object,
-% set it to turnOff. Example: \property Staff.VoltaBracket = \turnOff
+pointAndClickOff = #(define-music-function (parser location) ()
+ (ly:set-option 'point-and-click #f)
+ (make-music 'SequentialMusic 'void #t))
-turnOff = #'((meta . ((interfaces . ()))))
+pointAndClickOn = #(define-music-function (parser location) ()
+ (ly:set-option 'point-and-click #t)
+ (make-music 'SequentialMusic 'void #t))