lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative notation and lilypond


From: Jan-Peter Voigt
Subject: Re: Alternative notation and lilypond
Date: Thu, 10 Mar 2016 07:34:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hello Philip,

the engravers are consisted in different contexts. You can remove them in a layout block in the Staff context (not PianoStaff).

HTH
Jan-Peter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.38"

%Piano_Tab template
\header {
  title = "Piano_Tab chromatic scale"
}

; remove unnecessary engravers from Staff
\layout {
  \context {
    \Staff
    \remove "Accidental_engraver"
    \remove "Key_engraver"
    \remove "Clef_engraver"
  }
}

upper =\relative c'' {
  \clef treble
  c, cis d dis e f fis g gis a ais b c1
  \bar"|."
}

\score {
  \new PianoStaff \with {
    staffLineLayoutFunction = #ly:pitch-semitones
    middleCPosition = #-6
    clefGlyph = #"clefs.G"
    clefPosition = #(+ -6 7)
  }
  {
\override Staff.StaffSymbol #'line-positions = #'(21 19 16 14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27 -29)
    \time 4/4 << \upper >>
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Am 09.03.2016 um 17:11 schrieb Philip:
Hello everyone,

i am busy with trying to find a way to make various alternative
notations in lilypond. I found some usefull information at
musicnotation.org/. Well and right know made this:
_____________________________________________________________________
%Piano_Tab template
\header {
   title = "Piano_Tab chromatic scale"
}

upper =\relative c'' {
   \clef treble
   c, cis d dis e f fis g gis a ais b c1
   \bar"|."
}

\score {
   \new PianoStaff \with {
     \remove "Accidental_engraver"
     \remove "Key_engraver"
     staffLineLayoutFunction = #ly:pitch-semitones
     middleCPosition = #-6
     clefGlyph = #"clefs.G"
     clefPosition = #(+ -6 7)
     }
     {
      \override Staff.StaffSymbol #'line-positions = #'(21 19 16 14 12 9
7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8
                                                     -10 -12 -15 -17 -20
-22 -24 -27 -29)
      \time 4/4 << \upper >>
     }
}
________________________________________________________
Well if you paste this in Frescobaldi you see a Piano_Tab chromatic
scale. Piano_Tab is a chromatic Klavar like notation method. Because
there are 12 note position each actave we don't need accidentals.

Also the traditional Clef is displayed in an other way in this method.
The central "c sharp" and "d sharp" line thicknes is thicker. My
question is: how can i make the accidentalls disapear? I typed "\remove
"Accidental_engraver"" and "\remove "Clef_engraver"". Why does this not
work? Where do i have to place these commands?

Regards Philip Bergwerf


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]