From 3532bb756e1137e3f634a96a016ad5138bf823f6 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 27 Mar 2002 00:57:44 +0000 Subject: [PATCH] lilypond-1.3.138 --- input/test/hshift.ly | 10 +++++----- input/tutorial/os-flute-2.ly | 27 +++++++++++++++++++++++++++ lily/local-key-engraver.cc | 3 +++ 3 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 input/tutorial/os-flute-2.ly diff --git a/input/test/hshift.ly b/input/test/hshift.ly index 23d8341616..74b47f5439 100644 --- a/input/test/hshift.ly +++ b/input/test/hshift.ly @@ -2,11 +2,11 @@ -shiftI \property Voice.NoteColumn \override #'horizontal-shift = #0 -shiftII \property Voice.NoteColumn \override #'horizontal-shift = #1 -shiftIII \property Voice.NoteColumn \override #'horizontal-shift = #2 -shiftIV \property Voice.NoteColumn \override #'horizontal-shift = #3 -shiftV \property Voice.NoteColumn \override #'horizontal-shift = #4 +shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0 +shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1 +shiftIII = \property Voice.NoteColumn \override #'horizontal-shift = #2 +shiftIV = \property Voice.NoteColumn \override #'horizontal-shift = #3 +shiftV = \property Voice.NoteColumn \override #'horizontal-shift = #4 \score { \context Voice \notes\relative c { diff --git a/input/tutorial/os-flute-2.ly b/input/tutorial/os-flute-2.ly new file mode 100644 index 0000000000..30308d1de8 --- /dev/null +++ b/input/tutorial/os-flute-2.ly @@ -0,0 +1,27 @@ + +\include "os-music.ly"; +\include "paper16.ly"; + +\score { + \context Staff < + \property Staff.midiInstrument = #"flute" + \global + \Key + \flautoII + > + \header { + instrument = "flute I"; + } + \paper { + linewidth = 80 * \staffspace; + textheight = 40 * \staffspace; + \translator { + \OrchestralScoreContext + skipBars = ##t + } + } + \midi { + \tempo 4 = 75; + } +} + diff --git a/lily/local-key-engraver.cc b/lily/local-key-engraver.cc index d4be97cc62..5432fd89d0 100644 --- a/lily/local-key-engraver.cc +++ b/lily/local-key-engraver.cc @@ -24,6 +24,9 @@ FIXME: should not compute vertical positioning of accidentals, but get them from the noteheads + The algorithm for accidentals should be documented, and made + tweakable. + */ -- 2.39.5