]> git.donarmstrong.com Git - lilypond.git/commitdiff
mozart fixes
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 21 May 2002 16:23:05 +0000 (16:23 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 21 May 2002 16:23:05 +0000 (16:23 +0000)
ChangeLog
input/mozart-hrn-3.ly
input/mozart-hrn3-defs.ly
input/mozart-hrn3-romanze.ly
ly/grace-init.ly
scm/grob-description.scm

index 649163dc4b1c13aecd56ac1cdf29003cdcd90713..1d97d84456737bb07aa62e21ede06c8b41d62911 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-21  Han-Wen  <hanwen@cs.uu.nl>
+
+       * input/mozart-hrn3-defs.ly (startGraceMusic): typo (it's
+       startGraceMusic not startGraceContext).
+
 2002-05-20  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * stepmake/autogen.sh: Check for autoconf2.13, and abort if not
@@ -5,6 +10,19 @@
 
 2002-05-20  Han-Wen  <hanwen@cs.uu.nl>
 
+       * lily/accidental-engraver.cc: remove old accidental engraver,
+       move new one to accidental-engraver.cc.
+
+       * lily/local-key-item.cc: remove file
+
+       * lily/include/local-key-item.hh: remove file
+
+       * scripts/ly2dvi.py (make_preview): add --preview-resolution
+       option.
+
+       * lily/accidental.cc (brew_molecule): support for cautionary
+       accidentals. 
+
        * lily/note-head.cc (internal_brew_molecule): warn if note head
        not found.
 
@@ -35,6 +53,8 @@
 
        * input/regression/collision-heads.ly: new file
 
+       * VERSION 1.5.57 released.
+       
 2002-05-18  Juergen Reuter  <reuter@ipd.uka.de>
 
        * mf/parmesan-heads.mf, scm/grob-description.scm,
index 45b495d2a81f6c7697018a49207fbd75b26b60f5..8a0fe4002e7b21a93b0dc1f92d790c46dec679cb 100644 (file)
@@ -17,6 +17,7 @@
   maintainerWeb = "http://www.cs.uu.nl/~hanwen/"       
   lastupdated = "2002/March/26"
   source = "Edition Breitkopf 2563"
+  footer = "Mutopia-2002/04/26-25"
 
   tagline =  "\\parbox{\hsize}{\\thefooter\\quad\\small This music is part of the Mutopia project, \\texttt{http://sca.uwaterloo.ca/Mutopia/}. It has been typeset and placed in the public domain by " + \maintainer + ". Unrestricted modification and redistribution is permitted and encouraged---copy this music and share it!}"
 
@@ -29,6 +30,8 @@ virtuoso that taught in Geneva.
 
 %}
 
+\version "1.5.57"
+
 \include "mozart-hrn3-defs.ly"
 \include "mozart-hrn3-allegro.ly"
 \include "mozart-hrn3-romanze.ly"
index ba2550e0906fd9d11257785ca91e75ad3c33407d..d453e8fad95bc9e6c24cf048137090433aa37f5d 100644 (file)
@@ -27,52 +27,23 @@ cresc = \notes {
     \property Voice.crescendoSpanner = #'dashed-line
 }
 
-startGraceContextOrig = \startGraceContext
+%%
+%% TODO: a better mechanism for tweaking Grace settings.
+%%
 
-startGraceContext = {
-    %% Huh?
-    %% \startGraceContextOrig
-
-    
-    %%URG copy from original
-    \property Voice.Stem \override  #'direction = #1
-    \property Voice.Stem \override #'length = #6
-    \property Voice.Stem \override #'lengths = 
-        #(map (lambda (x) (* 0.8 x)) '(3.5 3.5 3.5 4.5 5.0))
-    \property Voice.Stem \override #'beamed-lengths =
-        #(map (lambda (x) (* 0.8 x)) '(0.0 2.5 2.0 1.5))
-    \property Voice.Stem \override #'beamed-minimum-lengths =
-        #(map (lambda (x) (* 0.8 x)) '(0.0 1.5 1.25 1.0))
-    \property Voice.Stem \override #'no-stem-extend = ##t
-    \property Voice.Stem \override #'flag-style  = #"grace"
-    \property Voice.Beam \override #'thickness = #0.384
-
-    %% Instead of calling Beam::space_function, we should invoke
-    %% the previously active beam function...
-    \property Voice.Beam \override #'space-function =
-      #(lambda (beam mult) (* 0.8 (Beam::space_function beam mult)))
-
-    \property Voice.Beam \override #'position-callbacks =
-      #`(,Beam::least_squares
-        ,Beam::check_concave
-        ,Beam::slope_damping)
-    
-    % Can't use Staff.fontSize, since time sigs, keys sigs, etc. will
-    % be smaller as well.
-
-    \property Voice.fontSize = #-2
-    \property Staff.Accidentals \override #'font-relative-size = #-2
-    \property Voice.Slur \override #'direction = #-1
-    %% end copy
-    
-    
-    \property Voice.Beam \revert #'space-function
+startGraceMusic = \sequential { 
+    \startGraceMusic 
     \property Voice.Beam \override #'space-function
        = #(lambda (beam mult) (* 0.8 0.8))
-    \property Voice.Beam \revert #'thickness
     \property Voice.Beam \override #'thickness = #(* 0.384 (/ 0.6 0.48))
 }
 
+stopGraceMusic= \sequential {
+    \property Voice.Beam \revert #'thickness
+    \property Voice.Beam \revert #'space-function
+    \stopGraceMusic
+}
+
 \paper{
     \stylesheet #my-sheet
     \translator {
@@ -95,6 +66,4 @@ startGraceContext = {
     indent = 10. \mm
     linewidth = 189. \mm
 
-    % The piece should fit on 4 pages. 
-    textheight = 275.\mm
 }
index 5fb0a103f7ae2e81a7e8b48a86e3797381f171fc..01c7501796e9b5db5fca8bd444ef00814fff02e5 100644 (file)
@@ -1,6 +1,6 @@
 
 \version "1.5.49"
-%\include  "mozart-hrn3-defs.ly"
+\include  "mozart-hrn3-defs.ly"
 
 romanze = \notes \relative c' {
        \key f \major
@@ -43,7 +43,7 @@ romanze = \notes \relative c' {
        [d8( e f )d] b4 r8 g
        [c ()e g g] [g( f e )d]
        c4(
-       \grace { \longgrace e16 }
+       \grace { \longgrace e16 \endlonggrace }
        [d8. )c16 \< ] [c8 c-.( c-. \! )c-.]
        \mark "C"
        des1\sfp
index 39079b3396f6ab0b67197ad4546df3705d3d7184..346502645556fd8f0c06b3fbbad603015f1f6694 100644 (file)
@@ -26,13 +26,13 @@ startGraceMusic = {
     % be smaller as well.
 
     \property Voice.fontSize = #-2
-    \property Staff.Accidentals \override #'font-relative-size = #-2
+    \property Staff.Accidental \override #'font-relative-size = #-2
     \property Voice.Slur \override #'direction = #-1
 }
 
 stopGraceMusic = {
     \property Voice.Slur \revert #'direction
-    \property Staff.Accidentals \revert #'font-relative-size
+    \property Staff.Accidental \revert #'font-relative-size
     \property Voice.Beam \revert #'thickness
 
     \property Voice.Stem \revert #'flag-style
index 87bec4739cdfec30fa0c49f575416f1f93845390..7b631f98343849613789fbded830a8d264ade560 100644 (file)
 ;; TODO: junk the meta field in favor of something more compact?
 (define all-grob-descriptions
   `(
-    (Accidentals
-     . (
-       (molecule-callback . ,Local_key_item::brew_molecule)
-       (X-offset-callbacks . (,Side_position_interface::aligned_side))
-       (Y-offset-callbacks . (,Staff_symbol_referencer::callback))     
-       (after-line-breaking-callback . ,Local_key_item::after_line_breaking)
-       (direction . -1)
-       (left-padding . 0.2)
-       (right-padding . 0.5)
-       (paren-cautionaries . #t)
-       (font-family . music)
-       (meta . ((interfaces . (accidentals-interface staff-symbol-referencer-interface font-interface side-position-interface))))
-       ))
     (Accidental
      . (
        (molecule-callback . ,Accidental_interface::brew_molecule)