]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/topdocs/NEWS.texi (Top): add quarter tones.
authorhanwen <hanwen>
Thu, 18 Sep 2003 00:37:51 +0000 (00:37 +0000)
committerhanwen <hanwen>
Thu, 18 Sep 2003 00:37:51 +0000 (00:37 +0000)
* Documentation/user/refman.itely (Pitches): doc quarter tones.

* lily/pitch.cc (LY_DEFINE): ly:pitch-quartertones: new function
(quartertone_pitch): new function

* mf/feta-toevallig.mf: add 3/4 sharp, 1/4 sharp, 1/4 flat.

* ly/nederlands.ly: add -eh and -ih for quarter tones.

* mf/feta-toevallig.mf: change accidental codes.

* scm/lily.scm (ly:get-option): switch on debugging only for
--verbose.

* lily/lily-guile.cc: remove ly:verbose?

* lily/scm-option.cc (LY_DEFINE): add verbose to  get-option.

* lily/parser.yy (TODO): only do gh_call() for apply with
procedure argument.

85 files changed:
ChangeLog
Documentation/topdocs/NEWS.texi
Documentation/user/internals.itely
Documentation/user/invoking.itexi
Documentation/user/literature.itely
Documentation/user/refman.itely
input/regression/accidental-quarter.ly [new file with mode: 0644]
input/test/smart-transpose.ly
lily/accidental.cc
lily/ambitus-engraver.cc
lily/ambitus.cc
lily/event.cc
lily/include/pitch.hh
lily/lily-guile.cc
lily/parser.yy
lily/pitch.cc
lily/relative-octave-check.cc
lily/scm-option.cc
ly/a3-init.ly
ly/a4-init.ly
ly/accordion-defs-init.ly
ly/book-init-init.ly
ly/catalan.ly
ly/center-init.ly
ly/chord-modifiers-init.ly
ly/declarations-init.ly
ly/deutsch.ly
ly/drumpitch-init.ly
ly/dynamic-scripts-init.ly
ly/english.ly
ly/engraver-init.ly
ly/espanol.ly
ly/generate-documentation.ly
ly/generate-interface-doc-init.ly
ly/generic-paper-init.ly
ly/grace-init.ly
ly/gregorian-init.ly
ly/init.ly
ly/italiano.ly
ly/ledger-init.ly
ly/legal-init.ly
ly/letter-init.ly
ly/midi-init.ly
ly/nederlands.ly
ly/norsk.ly
ly/paper-as5-init.ly
ly/paper-as5.ly
ly/paper-as9-init.ly
ly/paper-as9.ly
ly/paper-init.ly
ly/paper11-init.ly
ly/paper11.ly
ly/paper13-init.ly
ly/paper13.ly
ly/paper16-init.ly
ly/paper16.ly
ly/paper19-init.ly
ly/paper19.ly
ly/paper20-init.ly
ly/paper20.ly
ly/paper23-init.ly
ly/paper23.ly
ly/paper26-init.ly
ly/paper26.ly
ly/params-as-init.ly
ly/params-init.ly
ly/part-paper-init.ly
ly/performer-init.ly
ly/property-init.ly
ly/scale-definitions-init.ly
ly/script-init.ly
ly/spanners-init.ly
ly/suomi.ly
ly/svenska.ly
mf/feta-generic.mf
mf/feta-toevallig.mf
scm/chord-entry.scm
scm/chord-generic-names.scm
scm/chord-ignatzek-names.scm
scm/chord-name.scm
scm/drums.scm
scm/lily.scm
scm/music-functions.scm
scm/output-tex.scm
scripts/convert-ly.py

index d4c52ba27b692f5c45a3ed8fd903e955831c427c..6f86bc754d4f84ddcebf9e7e9203247aae9b41bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,33 @@
 2003-09-18  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * Documentation/topdocs/NEWS.texi (Top): add quarter tones.
+
+       * Documentation/user/refman.itely (Pitches): doc quarter tones.
+
+       * lily/pitch.cc (LY_DEFINE): ly:pitch-quartertones: new function
+       (quartertone_pitch): new function
+
+       * mf/feta-toevallig.mf: add 3/4 sharp, 1/4 sharp, 1/4 flat.
+
+       * ly/nederlands.ly: add -eh and -ih for quarter tones.
+
+       * lily/accidental-placement.cc (add_accidental): support for
+       quarter tones.
+
+       * ly/LANGUAGEs.ly: use symbols for alterations.
+
+       * mf/feta-toevallig.mf: change accidental codes. 
+
+       * scm/lily.scm (ly:get-option): switch on debugging only for
+       --verbose.
+
+       * lily/lily-guile.cc: remove ly:verbose?
+
+       * lily/scm-option.cc (LY_DEFINE): add verbose to  get-option.
+
+       * lily/parser.yy (TODO): only do gh_call() for apply with
+       procedure argument.
+
        * lily/tie-engraver.cc (start_translation_timestep): move melisma
        stuff in accordance with new timing of tie-events.
 
index eb850740151484cefde8ef09a0607c39fc8c043b..f5739a24e404e6d661b9919234efa6fe88476220 100644 (file)
@@ -8,6 +8,16 @@
 @chapter New features in 1.9 since 1.8
 
 @itemize
+@item
+Quarter tones are now supported. They are entered by suffixing
+@code{ih} for a half-sharp and @code{eh} for a half-flat. Hence, the
+following is an ascending list of pitches:
+
+@example
+  ceses ceseh ces ceh c cih cis cisih cisis
+@end example
+
+
 @item
 Clefs may now be transposed arbitrarily, for example
 
index f777bfe3154cf15fc01cbaeeba959b6961bf50d7..39151e277689cd155491870f92dd1aa0515c634b 100644 (file)
@@ -770,7 +770,7 @@ its argument:
      (ly:set-mus-property! m 'elements (reverse
        (ly:get-mus-property m 'elements)))
      m)
-  \score {  \notes \apply #rev-music-1 { c4 d4 } }
+  \score { \notes \apply #rev-music-1 { c4 d4 } }
 @end lilypond
 
 The use of such a function is very limited. The effect of this
@@ -813,7 +813,7 @@ A slightly more elaborate example is in
 Some of the input syntax is also implemented as recursive music
 functions. For example, the syntax for polyphony
 @example
-  << a \\ b>>
+  <<a \\ b>>
 @end example
 
 @noindent
index ec7ec87f0cd04b1724cab4650580e1d8b867d9ad..f5ce399f6f9926f30f78c46e7603b5268c6c5eb6 100644 (file)
@@ -416,8 +416,9 @@ happens rarely. The most usual cause is misinstalled fonts.
 @cindex Scheme error
 @item Scheme error
 Errors that occur while executing Scheme code are caught by the Scheme
-interpreter. When they occur, a call trace of the offending function
-is printed.
+interpreter. If running with the verbose option (@code{-V} or
+@code{--verbose}) then a call trace is printed of the offending
+function call.
 
 @cindex Programming error
 @item Programming error
@@ -456,11 +457,11 @@ test.ly:2:19: error: not a duration: 5:
 
 If you have input that results in a crash or an erroneous output, then
 that is a bug. We try respond to bug-reports promptly, and fix them as
-soon as possible. For this, we need to replicate and isolate the
-problem. Please help us by sending a good bug-report: an input file
-that will reproduce the problem. Please make it small, so we can
-easily isolate the problem. Don't forget to tell which version you
-use, and on which platform you run it.  Send the report to
+soon as possible. For this, we need to reproduce and isolate the
+problem. Help us by sending a defective input file, so we can
+reproduce the problem. Make it small, so we can easily debug the
+problem. Don't forget to tell which version you use, and on which
+platform you run it.  Send the report to
 @email{bug-lilypond@@gnu.org}.
 
 @node Point and click
index adc310e8eab8af5e39c9b9f5b96c5f4992918ae4..74450e59a59299554fe09a95d3988a82b2193538 100644 (file)
@@ -12,8 +12,8 @@ the website.
 Harald Banter, Akkord Lexikon. Schott's S@"{o}hne
 1987. Mainz, Germany ISBN 3-7957-2095-8.
 
-Comprehensive overview of commonly used chords. Suggests (and uses) a
-unification for all different kinds of chord names.
+This book is a comprehensive overview of commonly used chords and
+suggests a unification for all different kinds of chord names.
 
 @item Ignatzek 1995
 Klaus Ignatzek, Die Jazzmethode f@"{u}r Klavier. Schott's S@"{o}hne
@@ -37,8 +37,8 @@ A concise, alphabetically ordered list of typesetting and music
 Karl Hader, Aus der Werkstatt eines Notenstechers. Waldheim--Eberle
 Verlag, Vienna 1948.
 
-Hader was the chief-engraver of the Waldheim-Eberle music publishers.
-This beautiful booklet was intended as an introduction for laymen on the
+Hader was the chief-engraver of an Austrian engraving firm. This
+beautiful booklet was intended as an introduction for laymen on the
 art of engraving. It contains a step by step, in-depth explanation of
 how to cut and stamp music into zinc plates. It also contains a few
 compactly formulated rules on musical orthography. This book is out of
index eeb25ce3a90c88ebde4a6ded0a374e7439dbf79c..de7758a847a4a843633bd9779a6f2314ea502c60 100644 (file)
@@ -106,6 +106,21 @@ names are the Dutch note names.  In Dutch, @code{aes} is contracted to
 @code{as}, but both forms are accepted. Similarly, both
 @code{es} and @code{ees} are accepted.
 
+Half-flats and half-sharps are formed by adding @code{-eh} and
+@code{-ih}; the following is a series of Cs with increasing pitches:
+
+@lilypond[verbatim,relative 2]
+  ceses4
+  ceseh
+  ces
+  ceh
+  c
+  cih
+  cis 
+  cisih
+  cisis
+@end lilypond  
+
 There are predefined sets of note names for various other languages.
 To use them,  include the language specific init file.  For
 example: @code{\include "english.ly"}.  The available language files
@@ -7380,7 +7395,6 @@ layout property name:
 * Tuning objects ::             
 * Constructing a tweak::        
 * Applyoutput::                 
-* Outputproperty::              
 * Font selection::              
 * Text markup::                 
 @end menu
@@ -7711,12 +7725,24 @@ object found in the context, with the following arguments:
 @item the context where @code{\applyoutput} is processed.
 @end itemize
 
+
 In addition, the cause of the layout object, i.e.  the music
 expression or object that was responsible for creating it, is in the
 object property @code{cause}.  For example, for a note head, this is a
 @internalsref{NoteHead} event, and for a @internalsref{Stem} object,
 this is a @internalsref{NoteHead} object.
 
+Here is a simple example of @code{\applyoutput}; it blanks note-heads on the
+center-line:
+@example
+(define (blanker grob grob-origin context)
+  (if (and (memq (ly:get-grob-property grob 'interfaces)
+                 note-head-interface)
+           (eq? (ly:get-grob-property grob 'staff-position) 0))
+
+           (ly:set-grob-property! grob 'transparent #t)))
+@end example
+
 
 
 @node Font selection
@@ -8069,9 +8095,8 @@ The global layout determined by three factors: the page layout, the
 line breaks and the spacing. These all influence each other. The
 choice of spacing determines how densely each system of music is set,
 which influences where line breaks breaks are chosen, and thus
-ultimately how many pages a piece of music takes. In this section, the
-algorithm for spacing music is explained, and how spacing can be
-tuned.
+ultimately how many pages a piece of music takes. This section
+explains how to tune the algorithm for spacing.
 
 Globally spoken, this procedure happens in three steps: first,
 flexible distances (``springs'') are chosen, based on durations. All
@@ -8115,7 +8140,7 @@ set
 @example
   \property Staff.minimumVerticalExtent = #'(-4 . 4)
 @end example
-This sets the vertical size of the current staff to 4 staff-space on
+This sets the vertical size of the current staff to 4 staff spaces on
 either side of the center staff line.  The argument of
 @code{minimumVerticalExtent} is interpreted as an interval, where the
 center line is the 0, so the first number is generally negative.  The
@@ -8174,10 +8199,10 @@ notes are generally followed by one NHW of space.
 If one would follow the above procedure exactly, then adding a single
 32th note to a score that uses 8th and 16th notes, would widen up the
 entire score a lot. The shortest note is no longer a 16th, but a 32nd,
-thus adding 2 noteheads of space to every note. To prevent this, the
+thus adding 1 NHW to every note. To prevent this, the
 shortest duration for spacing is not the shortest note in the score,
 but the most commonly found shortest note.  Notes that are even
-shorter this are followed by a space that is proportonial to their
+shorter this are followed by a space that is proportional to their
 duration relative to the common shortest note.  So if we were to add
 only a few 16th notes to the example above, they would be followed by
 half a NHW:
diff --git a/input/regression/accidental-quarter.ly b/input/regression/accidental-quarter.ly
new file mode 100644 (file)
index 0000000..2381296
--- /dev/null
@@ -0,0 +1,23 @@
+\header {
+
+    texidoc = "Quarter tone notation is supported, including
+    threequarters flat."
+    }
+
+
+\score {
+    \notes \relative c'' {
+       \time 12/4 
+       ceses4
+       ceseh
+       ces
+       ceh
+       c
+       c
+       cih
+       cis 
+       cisih
+       cisis
+    }
+    \paper { raggedright = ##t }
+}
index 3198c0f4c006e1ded972d52cd0d83ed41b2579e0..94603ec5d484e78d76ce133513cddc57dfc8de0e 100644 (file)
@@ -26,14 +26,14 @@ how useful these enharmonic modifications are. Mats B.
          (n (ly:pitch-notename p)))
 
     (cond
-     ((and (> a 0) (or (eq? n 6) (eq? n 2)))
-      (set! a (- a 1)) (set! n (+ n 1)))
-     ((and (< a 0) (or (eq? n 0) (eq? n 3)))
-      (set! a (+ a 1)) (set! n (- n 1))))
+     ((and (> a 1) (or (eq? n 6) (eq? n 2)))
+      (set! a (- a 2)) (set! n (+ n 1)))
+     ((and (< a -1) (or (eq? n 0) (eq? n 3)))
+      (set! a (+ a 2)) (set! n (- n 1))))
 
     (cond
-     ((eq? a 2)  (set! a 0) (set! n (+ n 1)))
-     ((eq? a -2) (set! a 0) (set! n (- n 1))))
+     ((eq? a 4)  (set! a 0) (set! n (+ n 1)))
+     ((eq? a -4) (set! a 0) (set! n (- n 1))))
 
     (if (< n 0) (begin (set!  o (- o 1)) (set! n (+ n 7))))
     (if (> n 6) (begin (set!  o (+ o 1)) (set! n (- n 7))))
index daf5b68b185d44caaf857694f056400c2b971605..fa4c08407c3783f2e454f81ec308e726d5a4a5a8 100644 (file)
@@ -9,6 +9,7 @@
 #include "molecule.hh"
 #include "accidental-interface.hh"
 #include "paper-def.hh"
+#include "pitch.hh"
 
 /*
   TODO: insert support for smaller cautionaries, tie-break-reminders.
@@ -69,7 +70,7 @@ Accidental_interface::accurate_boxes (Grob *a,Grob**common)
       && !parens
       && scm_ilength (accs) == 1)
     {
-      if (gh_scm2int (gh_car (accs)) == -1)
+      if (gh_scm2int (gh_car (accs)) == FLAT)
        {
          Box stem = b;
          Box bulb = b;
@@ -107,45 +108,48 @@ Accidental_interface::accurate_boxes (Grob *a,Grob**common)
  * is currently no sharp accidental in vaticana style.  In these cases
  * this function falls back to one of the other styles.
  */
+
+/*
+  todo: this sort of stuff in Scheme. --hwn.
+ */
 String
-Accidental_interface::get_fontcharname(String style, int alteration)
+Accidental_interface::get_fontcharname (String style, int alteration)
 {
+  if (alteration == DOUBLE_FLAT
+      || alteration == DOUBLE_SHARP)
+    {
+      return to_string (alteration);
+    }
+  
   if (style == "hufnagel")
     switch (alteration)
       {
-      case -2: return "-2";
-      case -1: return "hufnagel-1";
+      case FLAT: return "hufnagel-1";
       case 0: return "vaticana0";
-      case 1: return "mensural1";
-      case 2: return "2";
+      case SHARP: return "mensural1";
       }
   if (style == "medicaea")
     switch (alteration)
       {
-      case -2: return "-2";
-      case -1: return "medicaea-1";
+      case FLAT: return "medicaea-1";
       case 0: return "vaticana0";
-      case 1: return "mensural1";
-      case 2: return "2";
+      case SHARP: return "mensural1";
       }
   if (style == "vaticana")
     switch (alteration)
       {
-      case -2: return "-2";
-      case -1: return "vaticana-1";
+      case FLAT: return "vaticana-1";
       case 0: return "vaticana0";
-      case 1: return "mensural1";
-      case 2: return "2";
+      case SHARP: return "mensural1";
       }
   if (style == "mensural")
     switch (alteration)
       {
-      case -2: return "-2";
-      case -1: return "mensural-1";
+      case FLAT: return "mensural-1";
       case 0: return "vaticana0";
-      case 1: return "mensural1";
-      case 2: return "2";
+      case SHARP: return "mensural1";
       }
+  
   if (style == "neo_mensural")
     style = ""; // currently same as default
   if (style == "default")
index 0f651ac0ccf7f70656a50eff00291e872c43cbbe..a413742f5b17f16a729d6c3144af51d78cdd0caa 100644 (file)
@@ -85,8 +85,8 @@ Ambitus_engraver::Ambitus_engraver ()
    * (pitch_min > pitch_max) means that pitches are not yet
    * initialized
    */
-  pitch_min = Pitch (0, 0, +1);
-  pitch_max = Pitch (0, 0, -1);
+  pitch_min = Pitch (0, 0, SHARP);
+  pitch_max = Pitch (0, 0, FLAT);
 }
 
 void
index 62104d3ac158ee7f33af715afbd575779eeb80ce..853b2830b828e8f85a7e7d2691f2ab7cd3b3fb97 100644 (file)
@@ -110,7 +110,7 @@ add_accidentals (Item *me, Molecule *head, int num_acc,
       Molecule accidental (Font_interface::get_default_font (me)->
                           find_by_name (String ("accidentals-") +
                                         accidentals_style +
-                                        to_string (pitch->get_alteration())));
+                                        to_string (pitch->get_alteration ())));
       accidental.translate_axis (yoffs, Y_AXIS);
       head->add_at_edge (X_AXIS,  LEFT, accidental, 0.1, 0);
     }
index 85a94725917cbec2baadb4f806305a481e270355..75948dac04d13e376988b7d4b7b23346c2f1a83d 100644 (file)
@@ -44,7 +44,7 @@ Event::transpose (Pitch delta)
 
   Pitch np = p->transposed (delta);
   
-  if (abs (np.get_alteration ()) > 2)
+  if (abs (np.get_alteration ()) > DOUBLE_SHARP)
     {
        warning (_f ("Transposition by %s makes alteration larger than two",
          delta.to_string ()));
index e8ab7a4d0d278d4c298cdc021b534da5554856b6..cf65d91887485858b7117e641b7a43c9014c0aff 100644 (file)
@@ -13,9 +13,9 @@
 #include "lily-proto.hh"
 #include "smobs.hh"
 
-/** A "tonal" pitch. This is a pitch used in diatonal western
-   music (12 semitones in an octave), as opposed to a frequency in Hz
-   or a integer number of semitones.
+/** A "tonal" pitch. This is a pitch used in diatonal western music
+   (24 quartertones in an octave), as opposed to a frequency in Hz or a
+   integer number of semitones.
 
   Pitch is lexicographically ordered by (octave, notename,
     alteration).    
@@ -25,8 +25,6 @@
 
    - add indeterminate octaves, so it can be used as a key in keySigature
 
-   - abstract out the representation of alteration_, so we can
-   put micropitches (quartertones, etc.) in the Pitch object
 */
 class Pitch
 {
@@ -35,13 +33,8 @@ private:                             // fixme
     TODO: use SCM
    */
 
-    /// 0 is c, 6 is b
   int notename_;
-  
-  /// 0 natural, 1 sharp, etc
   int alteration_;
-
-  /// 0 is central c
   int octave_;
  
   void transpose (Pitch);
@@ -62,10 +55,10 @@ public:
   Pitch to_relative_octave (Pitch) const;
 
   static int compare (Pitch const&,Pitch const&);
-  /// return large part of interval from central c
+
   int steps () const;
-  /// return pitch from central c (in halfnotes)
   int semitone_pitch () const; 
+  int quartertone_pitch () const; 
   String to_string () const;
 
   SCM smobbed_copy () const;
@@ -73,6 +66,18 @@ public:
   DECLARE_SIMPLE_SMOBS (Pitch,);
 };
 
+enum {
+  DOUBLE_FLAT = -4,
+  THREE_Q_FLAT,
+  FLAT ,
+  SEMI_FLAT,
+  NATURAL,
+  SEMI_SHARP,
+  SHARP ,
+  THREE_Q_SHARP,
+  DOUBLE_SHARP  ,
+};
+
 SCM ly_pitch_transpose (SCM p, SCM delta);
 DECLARE_UNSMOB(Pitch,pitch);
 
index 1a2cebdfe3825b4fcc9bf1207749ad0752793014..85f2e9818635c8dcaada41c423bf939fa07dfb03 100644 (file)
@@ -373,11 +373,7 @@ LY_DEFINE(ly_unit,  "ly:unit", 0, 0, 0, (),
   return scm_makfrom0str (INTERNAL_UNIT);
 }
 
-LY_DEFINE(ly_verbose,  "ly:verbose", 0, 0, 0, (),
-  "Return whether lilypond is being run in verbose mode.")
-{
-  return gh_bool2scm (verbose_global_b);
-}
+
 
 LY_DEFINE(ly_dimension_p,  "ly:dimension?", 1, 0, 0, (SCM d),
          "Return @var{d} is a number. Used to distinguish length "
index 881ea25c60accbbbbb4c0d6bcd7efbaa0c2c575e..ff640674c6c26ba657a43146965c4fae87e2bf9d 100644 (file)
@@ -1038,15 +1038,20 @@ basic music objects too, since the meaning is different.
        }
        | APPLY embedded_scm Music  {
                if (!ly_input_procedure_p ($2))
+                       {
                        THIS->parser_error (_ ("\\apply takes function argument"));
-               
-               SCM ret = gh_call1 ($2, $3->self_scm ());
-               Music *m = unsmob_music (ret);
-               if (!m) {
-                       THIS->parser_error ("\\apply must return a Music");
-                       m = MY_MAKE_MUSIC("Music");
+                       $$ = $3;
+                       }
+               else
+                       {
+                       SCM ret = gh_call1 ($2, $3->self_scm ());
+                       Music *m = unsmob_music (ret);
+                       if (!m) {
+                               THIS->parser_error ("\\apply must return a Music");
+                               m = MY_MAKE_MUSIC("Music");
+                               }
+                       $$ = m;
                        }
-               $$ = m;
        }
        | NOTES
                { THIS->lexer_->push_note_state (); }
index 895f18ef6265fe5c80308d044134e12d533fe86e..15eb4f702dbfbeb77d21f34a501a884a65e6fc41 100644 (file)
@@ -53,7 +53,7 @@ Pitch::steps () const
 /*
   should be settable from input?
  */
-static Byte pitch_byte_a[  ] = { 0, 2, 4, 5, 7, 9, 11 };
+static Byte diatonic_scale_semitones[  ] = { 0, 2, 4, 5, 7, 9, 11 };
 
 
 /* Calculate pitch height in 12th octave steps.  Don't assume
@@ -68,26 +68,47 @@ Pitch::semitone_pitch () const
       n += 7;
       o --;
     }
-  return (o + n / 7) * 12 + pitch_byte_a[n % 7] + alteration_;
+
+  if (alteration_ % 2)
+    {
+      programming_error ("Calling semitone_pitch() for quarter tone alterations.");
+      
+    }
+  
+  return (o + n / 7) * 12 + diatonic_scale_semitones[n % 7] + (alteration_/2);
+}
+
+int
+Pitch::quartertone_pitch () const
+{
+  int o = octave_;
+  int n = notename_;
+  while (n < 0)
+    {
+      n += 7;
+      o --;
+    }
+  
+  return (o + n / 7) * 24 +  2*  diatonic_scale_semitones[n % 7] + (alteration_);
 }
 
 void
 Pitch::normalise ()
 {
-  int pitch = semitone_pitch ();
+  int pitch = quartertone_pitch ();
   while (notename_ >= 7)
     {
       notename_ -= 7;
       octave_++;
-      alteration_ -= semitone_pitch () - pitch;
+      alteration_ -= quartertone_pitch () - pitch;
     }
   while (notename_ < 0)
     {
       notename_ += 7;
       octave_--;
-      alteration_ -= semitone_pitch () - pitch;
+      alteration_ -= quartertone_pitch () - pitch;
     }
-  while (alteration_ >= 3)
+  while (alteration_ > DOUBLE_SHARP)
     {
       if (notename_ == 6)
        {
@@ -98,9 +119,10 @@ Pitch::normalise ()
        notename_++;
 
       alteration_ = 0;
-      alteration_ -= semitone_pitch () - pitch;
+      alteration_ -= quartertone_pitch () - pitch;
     }
-  while (alteration_ <= -3)
+  
+  while (alteration_ < DOUBLE_FLAT)
     {
       if (notename_ == 0)
        {
@@ -111,7 +133,7 @@ Pitch::normalise ()
        notename_--;
 
       alteration_ = 0;
-      alteration_ -= semitone_pitch () - pitch;
+      alteration_ -= quartertone_pitch () - pitch;
     }
 }
 
@@ -119,10 +141,10 @@ Pitch::normalise ()
 void
 Pitch::transpose (Pitch delta)
 {
-  int new_semi = semitone_pitch ()  +delta.semitone_pitch();
+  int new_semi = quartertone_pitch ()  +delta.quartertone_pitch();
   octave_ += delta.octave_;
   notename_ += delta.notename_;
-  alteration_ += new_semi - semitone_pitch();
+  alteration_ += new_semi - quartertone_pitch();
 
   normalise ();
 }
@@ -130,19 +152,21 @@ Pitch::transpose (Pitch delta)
 Pitch
 interval (Pitch const & from , Pitch const & to )
 {
-  int sound = to.semitone_pitch()  - from.semitone_pitch ();
+  int sound = to.quartertone_pitch()  - from.quartertone_pitch ();
   Pitch pt (to.get_octave () - from.get_octave (),
            to.get_notename() - from.get_notename(),
+
            to.get_alteration() - from.get_alteration());
 
-  return pt.transposed (Pitch(0,0,sound - pt.semitone_pitch()));
+  return pt.transposed (Pitch(0,0,sound - pt.quartertone_pitch()));
 }
 
 
 /* FIXME
    Merge with *pitch->text* funcs in chord-name.scm
  */
-char const *accname[] = {"eses", "es", "", "is" , "isis"};
+char const *accname[] = {"eses", "eseh", "es", "eh" "",
+                        "ih", "is" , "isih",  "isis"};
 
 String
 Pitch::to_string () const
@@ -150,7 +174,7 @@ Pitch::to_string () const
   int n = (notename_ + 2) % 7;
   String s = ::to_string (char (n + 'a'));
   if (alteration_)
-    s += String (accname[alteration_ + 2]);
+    s += String (accname[alteration_ - DOUBLE_FLAT]);
 
   if (octave_ >= 0)
     {
@@ -342,7 +366,19 @@ LY_DEFINE(pitch_notename, "ly:pitch-notename", 1, 0, 0,
   return gh_int2scm (q);
 }
 
-LY_DEFINE(pitch_semitones,  "ly:pitch-semitones", 1, 0, 0, 
+LY_DEFINE(ly_pitch_quartertones,  "ly:pitch-quartertones", 1, 0, 0, 
+         (SCM pp),
+         "calculate the number of semitones of @var{p} from central C.")
+{
+  Pitch *p = unsmob_pitch (pp);
+  SCM_ASSERT_TYPE(p, pp, SCM_ARG1, __FUNCTION__, "Pitch");
+  int q = p->quartertone_pitch ();
+  
+  return gh_int2scm (q);
+}
+
+LY_DEFINE(ly_pitch_semitones,  "ly:pitch-semitones", 1, 0, 0, 
          (SCM pp),
          "calculate the number of semitones of @var{p} from central C.")
 {
@@ -372,7 +408,7 @@ LY_DEFINE(pitch_less, "ly:pitch<?", 2,0,0, (SCM p1, SCM p2),
 LY_DEFINE(ly_pitch_diff, "ly:pitch-diff", 2 ,0 ,0,
          (SCM pitch, SCM  root),
          "Return pitch with value DELTA =  PITCH - ROOT, ie, "
-"ROOT == (ly:pitch-transpose root delta).")
+         "ROOT == (ly:pitch-transpose root delta).")
 {
   Pitch *p = unsmob_pitch (pitch);
   Pitch *r = unsmob_pitch (root);
@@ -382,10 +418,6 @@ LY_DEFINE(ly_pitch_diff, "ly:pitch-diff", 2 ,0 ,0,
   return interval (*r,  *p).smobbed_copy();
 }
 
-         
-
-
-
 SCM
 Pitch::smobbed_copy ()const
 {
index 4a6ff01f0124d9a3aa12adbda12260d0899507a9..f0234b8af65107cb933e4a77877d1ae1f816a045 100644 (file)
@@ -31,8 +31,8 @@ Relative_octave_check::to_relative_octave (Pitch p)
        }
     }
   
-  return  Pitch   (p.get_octave () + delta_oct,
-             p.get_notename (), p.get_alteration ());
+  return  Pitch (p.get_octave () + delta_oct,
+                p.get_notename (), p.get_alteration ());
 }
 
 ADD_MUSIC(Relative_octave_check);
index ffa343dc53c289e8d5144a9fe27d49f70559aa31..39f3094356b17f8ca6f94fc65977b35a50d53d35 100644 (file)
@@ -13,6 +13,7 @@
 #include "lily-guile.hh"
 #include "scm-option.hh"
 #include "warn.hh"
+#include "main.hh"
 
 /*
   This interface to option setting is meant for setting options are
@@ -148,6 +149,8 @@ LY_DEFINE (ly_get_option, "ly:get-option", 1, 0, 0, (SCM var),
           "Report whether old-relative compatibility mode is necessary\n"
           "@item old-relative\n"
           "Report whether old-relative compatibility mode is used\n"
+          "@item verbose\n"
+          "Report whether we are running in verbose mode\n"
           "@end table\n"
           "\n")
 {
@@ -159,6 +162,10 @@ LY_DEFINE (ly_get_option, "ly:get-option", 1, 0, 0, (SCM var),
     {
       return gh_bool2scm (lily_1_8_relative);
     }
+  if (var == ly_symbol2scm ("verbose"))
+    {
+      return gh_bool2scm (verbose_global_b);
+    }  
   else
     {
       warning (_("Unknown internal option!"));
index 9e857cd4642590c19c44aac6ffe2d2561f2777db..83bad70df277a74fc04b7a20b09e0cb83ff4c9af 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % a3-init.ly
 
 hsize = 296.9 \mm
index b99eee730c84a0e268b9564c77a653074ea617d9..a57e392e0a2cc8873dc7dd2e54a19bcd9e93a661 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % a4.ly
 
 hsize = 210.0 \mm
index 1696122d032b49bd6aae8b5e1741a25edcf7169a..eeb49f6cba86f387cbf6925d6df45351cbf1553c 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % Symbols needed to print accordion music
 % 
 %  2' = T
index c0c63ba2448bcec4d408a40c076afaf153543190..fd642940575f1316c47f6e03c9598c4c66b2eba9 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.9.1"
+\version "1.9.7"
 
 
 \include "declarations-init.ly"
index dcb1ba84cfcd5656f9c745db40ee2b7a33220ef3..ae3ada5a8b092f8ffc44e069d05807fd5f928364 100644 (file)
 (sostenido) .
 %}
 
-% contributed by Jaume Obrador <jobrador@ipc4.uib.es>
+% contributed by Jaume Obrador <<jobrador@ipc4.uib.es>>
 
 
 % For using "sostingut" notation, which is also correct
 \pitchnames #`(
-       (dobb . ,(ly:make-pitch -1 0 -2 ))
-       (dob . ,(ly:make-pitch -1 0 -1 ))
-       (do . ,(ly:make-pitch -1 0 ))
-       (dod . ,(ly:make-pitch -1 0 ))
-       (dodd . ,(ly:make-pitch -1 0 ))
-       (rebb . ,(ly:make-pitch -1 1 -2 ))
-       (reb . ,(ly:make-pitch -1 1 -1 ))
-       (re . ,(ly:make-pitch -1 1 ))
-       (red . ,(ly:make-pitch -1 1 ))
-       (redd . ,(ly:make-pitch -1 1 ))
-       (mibb . ,(ly:make-pitch -1 2 -2 ))
-       (mib . ,(ly:make-pitch -1 2 -1 ))
-       (mi . ,(ly:make-pitch -1 2 ))
-       (mid . ,(ly:make-pitch -1 2 ))
-       (midd . ,(ly:make-pitch -1 2 ))
-       (fabb . ,(ly:make-pitch -1 3 -2 ))
-       (fab . ,(ly:make-pitch -1 3 -1 ))
-       (fa . ,(ly:make-pitch -1 3 ))
-       (fad . ,(ly:make-pitch -1 3 ))
-       (fadd . ,(ly:make-pitch -1 3 ))
-       (solbb . ,(ly:make-pitch -1 4 -2 ))
-       (solb . ,(ly:make-pitch -1 4 -1 ))
-       (sol . ,(ly:make-pitch -1 4 ))
-       (sold . ,(ly:make-pitch -1 4 ))
-       (soldd . ,(ly:make-pitch -1 4 ))
-       (labb . ,(ly:make-pitch -1 5 -2 ))
-       (lab . ,(ly:make-pitch -1 5 -1 ))
-       (la . ,(ly:make-pitch -1 5 ))
-       (lad . ,(ly:make-pitch -1 5 ))
-       (ladd . ,(ly:make-pitch -1 5 ))
-       (sibb . ,(ly:make-pitch -1 6 -2 ))
-       (sib . ,(ly:make-pitch -1 6 -1 ))
-       (si . ,(ly:make-pitch -1 6 ))
-       (sid . ,(ly:make-pitch -1 6 ))
-       (sidd . ,(ly:make-pitch -1 6 ))
+       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (dob . ,(ly:make-pitch -1 0 FLAT))
+       (do . ,(ly:make-pitch -1 0 NATURAL))
+       (dod . ,(ly:make-pitch -1 0 SHARP))
+       (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (reb . ,(ly:make-pitch -1 1 FLAT))
+       (re . ,(ly:make-pitch -1 1 NATURAL))
+       (red . ,(ly:make-pitch -1 1 SHARP))
+       (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (mib . ,(ly:make-pitch -1 2 FLAT))
+       (mi . ,(ly:make-pitch -1 2 NATURAL))
+       (mid . ,(ly:make-pitch -1 2 SHARP))
+       (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fab . ,(ly:make-pitch -1 3 FLAT))
+       (fa . ,(ly:make-pitch -1 3 NATURAL))
+       (fad . ,(ly:make-pitch -1 3 SHARP))
+       (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (solb . ,(ly:make-pitch -1 4 FLAT))
+       (sol . ,(ly:make-pitch -1 4 NATURAL))
+       (sold . ,(ly:make-pitch -1 4 SHARP))
+       (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (lab . ,(ly:make-pitch -1 5 FLAT))
+       (la . ,(ly:make-pitch -1 5 NATURAL))
+       (lad . ,(ly:make-pitch -1 5 SHARP))
+       (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (sib . ,(ly:make-pitch -1 6 FLAT))
+       (si . ,(ly:make-pitch -1 6 NATURAL))
+       (sid . ,(ly:make-pitch -1 6 SHARP))
+       (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 
        ;; Now that we have espanol.ly, should these be junked? --jcn
-       (dos . ,(ly:make-pitch -1 0 ))
-       (doss . ,(ly:make-pitch -1 0 ))
-       (res . ,(ly:make-pitch -1 1 ))
-       (ress . ,(ly:make-pitch -1 1 ))
-       (mis . ,(ly:make-pitch -1 2 ))
-       (miss . ,(ly:make-pitch -1 2 ))
-       (fas . ,(ly:make-pitch -1 3 ))
-       (fass . ,(ly:make-pitch -1 3 ))
-       (sols . ,(ly:make-pitch -1 4 ))
-       (solss . ,(ly:make-pitch -1 4 ))
-       (las . ,(ly:make-pitch -1 5 ))
-       (lass . ,(ly:make-pitch -1 5 ))
-       (sis . ,(ly:make-pitch -1 6 ))
-       (siss . ,(ly:make-pitch -1 6 ))
+       (dos . ,(ly:make-pitch -1 0 SHARP))
+       (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (res . ,(ly:make-pitch -1 1 SHARP))
+       (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (mis . ,(ly:make-pitch -1 2 SHARP))
+       (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fas . ,(ly:make-pitch -1 3 SHARP))
+       (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (sols . ,(ly:make-pitch -1 4 SHARP))
+       (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (las . ,(ly:make-pitch -1 5 SHARP))
+       (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (sis . ,(ly:make-pitch -1 6 SHARP))
+       (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
 
 
-\version "1.9.1"
+\version "1.9.7"
index d03e79f3ddd3ef14658ec62868b229a0e859c831..755ab08554759f9aef25225b2ad6e7685a3e80f7 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.9.1"
+\version "1.9.7"
 
 
 \include "declarations-init.ly"
index a6fa7a9d73414fb86e838cdb30109a74489bf381..0c5b993328e5a92626c8b81521b4b1b6dec79b48 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.4"
+\version "1.9.7"
 
 \chordmodifiers #default-chord-modifier-list
 
index 98bfe15cee304efe845b761995d60cc95582d4ae..edb8036f429855926639f0038aa5f615ea53d129 100644 (file)
@@ -1,6 +1,6 @@
 #(ly:set-option 'old-relative)
 
-\version "1.9.1"
+\version "1.9.7"
 breve = #(ly:make-duration -1 0)
 longa = #(ly:make-duration -2 0 )
 maxima = #(ly:make-duration -3 0)
index 805d4da9a1900af13449854a426c213e34fe7e2b..b258eb55e9225de31633bcc8f08abeab716eada1 100644 (file)
@@ -1,52 +1,52 @@
 % common german names for notes. "es" means flat, "is" means sharp
 %
-% by Roland Meier <meier@informatik.th-darmstadt.de>
+% by Roland Meier <<meier@informatik.th-darmstadt.de>>
 % based on swedish.ly by Mats Bengtsson.
 
-% 1999/06/09 Bjoern Jacke <bjoern.jacke@gmx.de>
+% 1999/06/09 Bjoern Jacke <<bjoern.jacke@gmx.de>>
 %            added asas and marked ases as `unusual'
 
 
 \pitchnames  #`(
-       (ceses . ,(ly:make-pitch -1 0 -2 ))
-       (ces . ,(ly:make-pitch -1 0 -1 ))
-       (c . ,(ly:make-pitch -1 0 ))
-       (cis . ,(ly:make-pitch -1 0 ))
-       (cisis . ,(ly:make-pitch -1 0 ))
-       (deses . ,(ly:make-pitch -1 1 -2 ))
-       (des . ,(ly:make-pitch -1 1 -1 ))
-       (d . ,(ly:make-pitch -1 1 ))
-       (dis . ,(ly:make-pitch -1 1 ))
-       (disis . ,(ly:make-pitch -1 1 ))
-       (eses . ,(ly:make-pitch -1 2 -2 ))
-       (es . ,(ly:make-pitch -1 2 -1 ))
-       (e . ,(ly:make-pitch -1 2 ))
-       (eis . ,(ly:make-pitch -1 2 ))
-       (eisis . ,(ly:make-pitch -1 2 ))
-       (feses . ,(ly:make-pitch -1 3 -2 ))
-       (fes . ,(ly:make-pitch -1 3 -1 ))
-       (f . ,(ly:make-pitch -1 3 ))
-       (fis . ,(ly:make-pitch -1 3 ))
-       (fisis . ,(ly:make-pitch -1 3 ))
-       (geses . ,(ly:make-pitch -1 4 -2 ))
-       (ges . ,(ly:make-pitch -1 4 -1 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (gis . ,(ly:make-pitch -1 4 ))
-       (gisis . ,(ly:make-pitch -1 4 ))
-       (asas . ,(ly:make-pitch -1 5 -2 ))
-       (ases . ,(ly:make-pitch -1 5 -2 ))   ;;non-standard name for asas
-       (as . ,(ly:make-pitch -1 5 -1 ))
-       (a . ,(ly:make-pitch -1 5 ))
-       (ais . ,(ly:make-pitch -1 5 ))
-       (aisis . ,(ly:make-pitch -1 5 ))
-       (heses . ,(ly:make-pitch -1 6 -2 ))
-       (b . ,(ly:make-pitch -1 6 -1 ))
-       (h . ,(ly:make-pitch -1 6 ))
-       (his . ,(ly:make-pitch -1 6 ))
-       (hisis . ,(ly:make-pitch -1 6 ))
+       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (ces . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (cis . ,(ly:make-pitch -1 0 SHARP))
+       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (des . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (dis . ,(ly:make-pitch -1 1 SHARP))
+       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (es . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+       (eis . ,(ly:make-pitch -1 2 SHARP))
+       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fes . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fis . ,(ly:make-pitch -1 3 SHARP))
+       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (ges . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gis . ,(ly:make-pitch -1 4 SHARP))
+       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (asas . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))   ;;non-standard name for asas
+       (as . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (ais . ,(ly:make-pitch -1 5 SHARP))
+       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (b . ,(ly:make-pitch -1 6 FLAT))
+       (h . ,(ly:make-pitch -1 6 NATURAL))
+       (his . ,(ly:make-pitch -1 6 SHARP))
+       (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
 
 
 
-\version "1.9.1"
+\version "1.9.7"
index 705b91a89f8a581c0d218ccf3ebdf6f7a67087b8..3c19152f8e5779cdc7155dd40d1d4724e1aee1e3 100644 (file)
@@ -5,4 +5,4 @@
  )
 
 
-\version "1.9.1"
+\version "1.9.7"
index 21657e9c9d77f503c82771283a4751e539fcc7f3..d1448a1749b3c2c44f6a6b0ebbfb6d9059b2979d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 %
 % declare the standard dynamic identifiers.
index 000f57fddd566a180fe9338421bfd9e47ad717e4..9f316824c8241c6e2ac0ef567bd5f8cf68832c8f 100644 (file)
@@ -4,86 +4,86 @@
 %}
 
 \pitchnames #`(
-       (cflatflat . ,(ly:make-pitch -1 0 -2 ))
-       (cflat . ,(ly:make-pitch -1 0 -1 ))
-       (c . ,(ly:make-pitch -1 0 ))
-       (csharp . ,(ly:make-pitch -1 0 ))
-       (csharpsharp . ,(ly:make-pitch -1 0 ))
-       (dflatflat . ,(ly:make-pitch -1 1 -2 ))
-       (dflat . ,(ly:make-pitch -1 1 -1 ))
-       (d . ,(ly:make-pitch -1 1 ))
-       (dsharp . ,(ly:make-pitch -1 1 ))
-       (dsharpsharp . ,(ly:make-pitch -1 1 ))
-       (eflatflat . ,(ly:make-pitch -1 2 -2 ))
-       (eflat . ,(ly:make-pitch -1 2 -1 ))
-       (e . ,(ly:make-pitch -1 2 ))
-       (esharp . ,(ly:make-pitch -1 2 ))
-       (esharpsharp . ,(ly:make-pitch -1 2 ))
-       (fflatflat . ,(ly:make-pitch -1 3 -2 ))
-       (fflat . ,(ly:make-pitch -1 3 -1 ))
-       (f . ,(ly:make-pitch -1 3 ))
-       (fsharp . ,(ly:make-pitch -1 3 ))
-       (fsharpsharp . ,(ly:make-pitch -1 3 ))
-       (gflatflat . ,(ly:make-pitch -1 4 -2 ))
-       (gflat . ,(ly:make-pitch -1 4 -1 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (gsharp . ,(ly:make-pitch -1 4 ))
-       (gsharpsharp . ,(ly:make-pitch -1 4 ))
-       (aflatflat . ,(ly:make-pitch -1 5 -2 ))
-       (aflat . ,(ly:make-pitch -1 5 -1 ))
-       (a . ,(ly:make-pitch -1 5 ))
-       (asharp . ,(ly:make-pitch -1 5 ))
-       (asharpsharp . ,(ly:make-pitch -1 5 ))
-       (bflatflat . ,(ly:make-pitch -1 6 -2 ))
-       (bflat . ,(ly:make-pitch -1 6 -1 ))
-       (b . ,(ly:make-pitch -1 6 ))
-       (bsharp . ,(ly:make-pitch -1 6 ))
-       (bsharpsharp . ,(ly:make-pitch -1 6 ))
+       (cflatflat . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (cflat . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (csharp . ,(ly:make-pitch -1 0 SHARP))
+       (csharpsharp . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (dflatflat . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (dflat . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (dsharp . ,(ly:make-pitch -1 1 SHARP))
+       (dsharpsharp . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eflatflat . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (eflat . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+       (esharp . ,(ly:make-pitch -1 2 SHARP))
+       (esharpsharp . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fflatflat . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fflat . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fsharp . ,(ly:make-pitch -1 3 SHARP))
+       (fsharpsharp . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (gflatflat . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (gflat . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gsharp . ,(ly:make-pitch -1 4 SHARP))
+       (gsharpsharp . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (aflatflat . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (aflat . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (asharp . ,(ly:make-pitch -1 5 SHARP))
+       (asharpsharp . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (bflatflat . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (bflat . ,(ly:make-pitch -1 6 FLAT))
+       (b . ,(ly:make-pitch -1 6 NATURAL))
+       (bsharp . ,(ly:make-pitch -1 6 SHARP))
+       (bsharpsharp . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 
-       (cff . ,(ly:make-pitch -1 0 -2 ))
-       (cf . ,(ly:make-pitch -1 0 -1 ))
-       (c . ,(ly:make-pitch -1 0 ))
-       (cs . ,(ly:make-pitch -1 0 ))
-       (css . ,(ly:make-pitch -1 0 ))
-       (cx . ,(ly:make-pitch -1 0 ))
-       (dff . ,(ly:make-pitch -1 1 -2 ))
-       (df . ,(ly:make-pitch -1 1 -1 ))
-       (d . ,(ly:make-pitch -1 1 ))
-       (ds . ,(ly:make-pitch -1 1 ))
-       (dss . ,(ly:make-pitch -1 1 ))
-       (dx . ,(ly:make-pitch -1 1 ))
-       (eff . ,(ly:make-pitch -1 2 -2 ))
-       (ef . ,(ly:make-pitch -1 2 -1 ))
-       (e . ,(ly:make-pitch -1 2 ))
+       (cff . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (cf . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (cs . ,(ly:make-pitch -1 0 SHARP))
+       (css . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (cx . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (dff . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (df . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (ds . ,(ly:make-pitch -1 1 SHARP))
+       (dss . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (dx . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eff . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (ef . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
 
-       (es . ,(ly:make-pitch -1 2 ))    
-       (ess . ,(ly:make-pitch -1 2 ))
-       (ex . ,(ly:make-pitch -1 2 ))
-       (fff . ,(ly:make-pitch -1 3 -2 ))
-       (ff . ,(ly:make-pitch -1 3 -1 ))
-       (f . ,(ly:make-pitch -1 3 ))
-       (fs . ,(ly:make-pitch -1 3 ))
-       (fss . ,(ly:make-pitch -1 3 ))
-       (fx . ,(ly:make-pitch -1 3 ))
-       (gff . ,(ly:make-pitch -1 4 -2 ))
-       (gf . ,(ly:make-pitch -1 4 -1 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (gs . ,(ly:make-pitch -1 4 ))
-       (gss . ,(ly:make-pitch -1 4 ))
-       (gx . ,(ly:make-pitch -1 4 ))
-       (aff . ,(ly:make-pitch -1 5 -2 ))
-       (af . ,(ly:make-pitch -1 5 -1 ))
-       (a . ,(ly:make-pitch -1 5 ))
-       (as . ,(ly:make-pitch -1 5 ))
-       (ass . ,(ly:make-pitch -1 5 ))
-       (ax . ,(ly:make-pitch -1 5 ))
-       (bff . ,(ly:make-pitch -1 6 -2 ))
-       (bf . ,(ly:make-pitch -1 6 -1 ))
-       (b . ,(ly:make-pitch -1 6 ))
-       (bs . ,(ly:make-pitch -1 6 ))
-       (bss . ,(ly:make-pitch -1 6 ))
-       (bx . ,(ly:make-pitch -1 6 ))
+       (es . ,(ly:make-pitch -1 2 SHARP))    
+       (ess . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (ex . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fff . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (ff . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fs . ,(ly:make-pitch -1 3 SHARP))
+       (fss . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (fx . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (gff . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (gf . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gs . ,(ly:make-pitch -1 4 SHARP))
+       (gss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (gx . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (aff . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (af . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (as . ,(ly:make-pitch -1 5 SHARP))
+       (ass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (ax . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (bff . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (bf . ,(ly:make-pitch -1 6 FLAT))
+       (b . ,(ly:make-pitch -1 6 NATURAL))
+       (bs . ,(ly:make-pitch -1 6 SHARP))
+       (bss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+       (bx . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
-\version "1.9.1"
+\version "1.9.7"
 
index 064df8a77c06e68fd909a13478297d99916d9757..ffa562529280b02073d075773306d020e2738cbb 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 
 %
index 971e8b08991878be1da680ada4dc7fb784b4370d..01b2849d817f523036596bb1869626b916091e46 100644 (file)
@@ -8,54 +8,54 @@
 
 %}
 
-% contributed by Carlos García Suárez <cgscqmp@terra.es>
+% contributed by Carlos García Suárez <<cgscqmp@terra.es>>
 
 
 % For using "sostingut" notation, which is also correct
 \pitchnames #`(
-       (dobb . ,(ly:make-pitch -1 0 -2 ))
-       (dob . ,(ly:make-pitch -1 0 -1 ))
-       (do . ,(ly:make-pitch -1 0 ))
-       (dos . ,(ly:make-pitch -1 0 ))
-       (doss . ,(ly:make-pitch -1 0 ))
-
-       (rebb . ,(ly:make-pitch -1 1 -2 ))
-       (reb . ,(ly:make-pitch -1 1 -1 ))
-       (re . ,(ly:make-pitch -1 1 ))
-       (res . ,(ly:make-pitch -1 1 ))
-       (ress . ,(ly:make-pitch -1 1 ))
-
-       (mibb . ,(ly:make-pitch -1 2 -2 ))
-       (mib . ,(ly:make-pitch -1 2 -1 ))
-       (mi . ,(ly:make-pitch -1 2 ))
-       (mis . ,(ly:make-pitch -1 2 ))
-       (miss . ,(ly:make-pitch -1 2 ))
-
-       (fabb . ,(ly:make-pitch -1 3 -2 ))
-       (fab . ,(ly:make-pitch -1 3 -1 ))
-       (fa . ,(ly:make-pitch -1 3 ))
-       (fas . ,(ly:make-pitch -1 3 ))
-       (fass . ,(ly:make-pitch -1 3 ))
-
-       (solbb . ,(ly:make-pitch -1 4 -2 ))
-       (solb . ,(ly:make-pitch -1 4 -1 ))
-       (sol . ,(ly:make-pitch -1 4 ))
-       (sols . ,(ly:make-pitch -1 4 ))
-       (solss . ,(ly:make-pitch -1 4 ))
-
-       (labb . ,(ly:make-pitch -1 5 -2 ))
-       (lab . ,(ly:make-pitch -1 5 -1 ))
-       (la . ,(ly:make-pitch -1 5 ))
-       (las . ,(ly:make-pitch -1 5 ))
-       (lass . ,(ly:make-pitch -1 5 ))
-
-       (sibb . ,(ly:make-pitch -1 6 -2 ))
-       (sib . ,(ly:make-pitch -1 6 -1 ))
-       (si . ,(ly:make-pitch -1 6 ))
-       (sis . ,(ly:make-pitch -1 6 ))
-       (siss . ,(ly:make-pitch -1 6 ))
+       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (dob . ,(ly:make-pitch -1 0 FLAT))
+       (do . ,(ly:make-pitch -1 0 NATURAL))
+       (dos . ,(ly:make-pitch -1 0 SHARP))
+       (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (reb . ,(ly:make-pitch -1 1 FLAT))
+       (re . ,(ly:make-pitch -1 1 NATURAL))
+       (res . ,(ly:make-pitch -1 1 SHARP))
+       (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (mib . ,(ly:make-pitch -1 2 FLAT))
+       (mi . ,(ly:make-pitch -1 2 NATURAL))
+       (mis . ,(ly:make-pitch -1 2 SHARP))
+       (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fab . ,(ly:make-pitch -1 3 FLAT))
+       (fa . ,(ly:make-pitch -1 3 NATURAL))
+       (fas . ,(ly:make-pitch -1 3 SHARP))
+       (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (solb . ,(ly:make-pitch -1 4 FLAT))
+       (sol . ,(ly:make-pitch -1 4 NATURAL))
+       (sols . ,(ly:make-pitch -1 4 SHARP))
+       (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (lab . ,(ly:make-pitch -1 5 FLAT))
+       (la . ,(ly:make-pitch -1 5 NATURAL))
+       (las . ,(ly:make-pitch -1 5 SHARP))
+       (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (sib . ,(ly:make-pitch -1 6 FLAT))
+       (si . ,(ly:make-pitch -1 6 NATURAL))
+       (sis . ,(ly:make-pitch -1 6 SHARP))
+       (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
 
 
-\version "1.9.1"
+\version "1.9.7"
index 8eb93dfab61c287a22f6b4bcd2305cc2acf161a6..4ac057576e6bafec927ce521810b47db8e0621e8 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 %
 % Running LilyPond on this file generates the documentation
index c9bbcdc448da4c7bcf1fd68bc1654d4645a1fc34..ea9b301da2de333f624595b374e14008453d1eb2 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 %
 % Running LilyPond on this file generates the short interface doc
index 31559f9b6b78dac47cc7365f48abbeb31c75e0b0..35df6c9ce852b2a33fe3c29f94c65d2b9a7c603d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \paper {
        texsetting = ""
index d9e433fc13034748036ee43fffc3aff45cbe031d..94e6809485e875754aab962d8f3f9d6059a4547d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 
 startGraceMusic = \notes {
index e4645de5e85388648ef61d9597c84f92447ae634..5cce431a6a34569d9d092eae3fc5c6e95608386a 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 %%%%%%%%
 %%%%%%%% shortcuts common for all styles of gregorian chant notation
index 00084e627ef625a8082d9c0c9c64e4c238ba1770..d3562cef8dfffc8be13454989be04d45c027d2d3 100644 (file)
@@ -7,7 +7,7 @@
 
 #(reset-drum-kit)
 
-\version "1.9.1"
+\version "1.9.7"
 
 \include "declarations-init.ly"
 
index 63b3457b467d430a1b2d94d38d7b492a56682030..06630e8433a2f7981b8aff4cbd7fa00b22bcadf9 100644 (file)
@@ -8,44 +8,44 @@
  For french naming just change 'do' in 'ut'.
 %}
 
-% contributed by Paolo Zuliani <zuliap@easynet.it>
+% contributed by Paolo Zuliani <<zuliap@easynet.it>>
 
 \pitchnames #`(
-       (dobb . ,(ly:make-pitch -1 0 -2 ))
-       (dob . ,(ly:make-pitch -1 0 -1 ))
-       (do . ,(ly:make-pitch -1 0 ))
-       (dod . ,(ly:make-pitch -1 0 ))
-       (dodd . ,(ly:make-pitch -1 0 ))
-       (rebb . ,(ly:make-pitch -1 1 -2 ))
-       (reb . ,(ly:make-pitch -1 1 -1 ))
-       (re . ,(ly:make-pitch -1 1 ))
-       (red . ,(ly:make-pitch -1 1 ))
-       (redd . ,(ly:make-pitch -1 1 ))
-       (mibb . ,(ly:make-pitch -1 2 -2 ))
-       (mib . ,(ly:make-pitch -1 2 -1 ))
-       (mi . ,(ly:make-pitch -1 2 ))
-       (mid . ,(ly:make-pitch -1 2 ))
-       (midd . ,(ly:make-pitch -1 2 ))
-       (fabb . ,(ly:make-pitch -1 3 -2 ))
-       (fab . ,(ly:make-pitch -1 3 -1 ))
-       (fa . ,(ly:make-pitch -1 3 ))
-       (fad . ,(ly:make-pitch -1 3 ))
-       (fadd . ,(ly:make-pitch -1 3 ))
-       (solbb . ,(ly:make-pitch -1 4 -2 ))
-       (solb . ,(ly:make-pitch -1 4 -1 ))
-       (sol . ,(ly:make-pitch -1 4 ))
-       (sold . ,(ly:make-pitch -1 4 ))
-       (soldd . ,(ly:make-pitch -1 4 ))
-       (labb . ,(ly:make-pitch -1 5 -2 ))
-       (lab . ,(ly:make-pitch -1 5 -1 ))
-       (la . ,(ly:make-pitch -1 5 ))
-       (lad . ,(ly:make-pitch -1 5 ))
-       (ladd . ,(ly:make-pitch -1 5 ))
-       (sibb . ,(ly:make-pitch -1 6 -2 ))
-       (sib . ,(ly:make-pitch -1 6 -1 ))
-       (si . ,(ly:make-pitch -1 6 ))
-       (sid . ,(ly:make-pitch -1 6 ))
-       (sidd . ,(ly:make-pitch -1 6 ))
+       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (dob . ,(ly:make-pitch -1 0 FLAT))
+       (do . ,(ly:make-pitch -1 0 NATURAL))
+       (dod . ,(ly:make-pitch -1 0 SHARP))
+       (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (reb . ,(ly:make-pitch -1 1 FLAT))
+       (re . ,(ly:make-pitch -1 1 NATURAL))
+       (red . ,(ly:make-pitch -1 1 SHARP))
+       (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (mib . ,(ly:make-pitch -1 2 FLAT))
+       (mi . ,(ly:make-pitch -1 2 NATURAL))
+       (mid . ,(ly:make-pitch -1 2 SHARP))
+       (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fab . ,(ly:make-pitch -1 3 FLAT))
+       (fa . ,(ly:make-pitch -1 3 NATURAL))
+       (fad . ,(ly:make-pitch -1 3 SHARP))
+       (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (solb . ,(ly:make-pitch -1 4 FLAT))
+       (sol . ,(ly:make-pitch -1 4 NATURAL))
+       (sold . ,(ly:make-pitch -1 4 SHARP))
+       (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (lab . ,(ly:make-pitch -1 5 FLAT))
+       (la . ,(ly:make-pitch -1 5 NATURAL))
+       (lad . ,(ly:make-pitch -1 5 SHARP))
+       (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (sib . ,(ly:make-pitch -1 6 FLAT))
+       (si . ,(ly:make-pitch -1 6 NATURAL))
+       (sid . ,(ly:make-pitch -1 6 SHARP))
+       (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
-\version "1.9.1"
+\version "1.9.7"
index b91d1727dbe018219ce2a9388bcca4c9f8894898..cfb47f54eb3e93f16c1adcdbac424fbbe79e5711 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 % ledger.ly
 
index 495aa45040767fecb5649f9fbb1661a64e1f93c8..3415b1a0627fae8888a159f2a9fe995a3d4ad860 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % legal-init.ly
 
 hsize = 8.5 \in
index 0ca3d92c82cc02e2c3e847192f7336ca172d736d..62aafb392217885128d9a2660501e8a1460c6fb8 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % letter-init.ly
 
 hsize = 8.5 \in
index 3da33fb8aba2dfd9aa9f70c03fa7bcf9fe15489b..577991e157d35ffd1bc153b7eea31d973c95bc72 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 \midi {
         \tempo 4=60
        \include "performer-init.ly"
index 18ac4206424ece3ac0cf215e68325a2b25a3b7a3..5cdcf1107b17f05c1a442b60142b7adb09733181 100644 (file)
@@ -5,44 +5,79 @@
 
 \pitchnames #`(
        (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+
+       (ceh . ,(ly:make-pitch -1 0 SEMI-FLAT))
        (ces . ,(ly:make-pitch -1 0 FLAT))
+       (ceseh . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
        (c . ,(ly:make-pitch -1 0 NATURAL))
        (cis . ,(ly:make-pitch -1 0 SHARP))
+       (cih . ,(ly:make-pitch -1 0 SEMI-SHARP))
+       (cisih . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
        (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
        (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+
+       (deh . ,(ly:make-pitch -1 1 SEMI-FLAT))
        (des . ,(ly:make-pitch -1 1 FLAT))
+       (deseh . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
        (d . ,(ly:make-pitch -1 1 NATURAL))
        (dis . ,(ly:make-pitch -1 1 SHARP))
+       (dih . ,(ly:make-pitch -1 1 SEMI-SHARP))
+       (disih . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
        (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
        (eeses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
        (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+
+       (eeh . ,(ly:make-pitch -1 2 SEMI-FLAT))
        (ees . ,(ly:make-pitch -1 2 FLAT))
+       (eeseh . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
        (es . ,(ly:make-pitch -1 2 FLAT))
        (e . ,(ly:make-pitch -1 2 NATURAL))
        (eis . ,(ly:make-pitch -1 2 SHARP))
+       (eih . ,(ly:make-pitch -1 2 SEMI-SHARP))
+       (eisih . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
        (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
        (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+
+       (feh . ,(ly:make-pitch -1 3 SEMI-FLAT))
        (fes . ,(ly:make-pitch -1 3 FLAT))
+       (feseh . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
        (f . ,(ly:make-pitch -1 3 NATURAL))
        (fis . ,(ly:make-pitch -1 3 SHARP))
+       (fih . ,(ly:make-pitch -1 3 SEMI-SHARP))
+       (fisih . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
        (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
        (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+
+       (geh . ,(ly:make-pitch -1 4 SEMI-FLAT))
        (ges . ,(ly:make-pitch -1 4 FLAT))
+       (geseh . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
        (g . ,(ly:make-pitch -1 4 NATURAL))
        (gis . ,(ly:make-pitch -1 4 SHARP))
+       (gih . ,(ly:make-pitch -1 4 SEMI-SHARP))
+       (gisih . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
        (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
        (aeses . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
        (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+
+       (aeh . ,(ly:make-pitch -1 5 SEMI-FLAT))
        (aes . ,(ly:make-pitch -1 5 FLAT))
+       (aeseh . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
        (as . ,(ly:make-pitch -1 5 FLAT))
        (a . ,(ly:make-pitch -1 5 NATURAL))
        (ais . ,(ly:make-pitch -1 5 SHARP))
+       (aih . ,(ly:make-pitch -1 5 SEMI-SHARP))
+       (aisih . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
        (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
        (beses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+
+       (beh . ,(ly:make-pitch -1 6 SEMI-FLAT))
        (bes . ,(ly:make-pitch -1 6 FLAT))
+       (beseh . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
        (b . ,(ly:make-pitch -1 6 NATURAL))
        (bis . ,(ly:make-pitch -1 6 SHARP))
+       (bih . ,(ly:make-pitch -1 6 SEMI-SHARP))
+       (bisih . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
        (bisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
+       )
 
 
index 1b4a69c1651db839d2914e9bec40a41166dea354..9bf791d6729806da5d093976cd36accb21e06461 100644 (file)
  added "ass" et al, and made some b->h-related changes.  There may be
  bugs in here please tell me (or send patches) if you find any.
 
-                                  Arvid Gr=F8tting <arvidg@ifi.uio.no>
+                                  Arvid Gr=F8tting <<arvidg@ifi.uio.no>>
 
 %}
 
 \pitchnames #`(
-       (ceses . ,(ly:make-pitch -1 0 -2 ))
-       (cessess . ,(ly:make-pitch -1 0 -2 ))
-       (ces . ,(ly:make-pitch -1 0 -1 ))
-       (cess . ,(ly:make-pitch -1 0 -1 ))
-       (c . ,(ly:make-pitch -1 0 ))
-       (cis . ,(ly:make-pitch -1 0 ))
-       (ciss . ,(ly:make-pitch -1 0 ))
-       (cisis . ,(ly:make-pitch -1 0 ))
-       (cississ . ,(ly:make-pitch -1 0 ))
-       (deses . ,(ly:make-pitch -1 1 -2 ))
-       (dessess . ,(ly:make-pitch -1 1 -2 ))
-       (des . ,(ly:make-pitch -1 1 -1 ))
-       (dess . ,(ly:make-pitch -1 1 -1 ))
-       (d . ,(ly:make-pitch -1 1 ))
-       (dis . ,(ly:make-pitch -1 1 ))
-       (diss . ,(ly:make-pitch -1 1 ))
-       (disis . ,(ly:make-pitch -1 1 ))
-       (dississ . ,(ly:make-pitch -1 1 ))
-       (eeses . ,(ly:make-pitch -1 2 -2 ))
-       (eessess . ,(ly:make-pitch -1 2 -2 ))
-       (eses . ,(ly:make-pitch -1 2 -2 ))
-       (essess . ,(ly:make-pitch -1 2 -2 ))
-       (ees . ,(ly:make-pitch -1 2 -1 ))
-       (eess . ,(ly:make-pitch -1 2 -1 ))
-       (es . ,(ly:make-pitch -1 2 -1 ))
-       (ess . ,(ly:make-pitch -1 2 -1 ))
-       (e . ,(ly:make-pitch -1 2 ))
-       (eis . ,(ly:make-pitch -1 2 ))
-       (eiss . ,(ly:make-pitch -1 2 ))
-       (eisis . ,(ly:make-pitch -1 2 ))
-       (eississ . ,(ly:make-pitch -1 2 ))
-       (feses . ,(ly:make-pitch -1 3 -2 ))
-       (fessess . ,(ly:make-pitch -1 3 -2 ))
-       (fes . ,(ly:make-pitch -1 3 -1 ))
-       (fess . ,(ly:make-pitch -1 3 -1 ))
-       (f . ,(ly:make-pitch -1 3 ))
-       (fis . ,(ly:make-pitch -1 3 ))
-       (fiss . ,(ly:make-pitch -1 3 ))
-       (fisis . ,(ly:make-pitch -1 3 ))
-       (fississ . ,(ly:make-pitch -1 3 ))
-       (geses . ,(ly:make-pitch -1 4 -2 ))
-       (gessess . ,(ly:make-pitch -1 4 -2 ))
-       (ges . ,(ly:make-pitch -1 4 -1 ))
-       (gess . ,(ly:make-pitch -1 4 -1 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (gis . ,(ly:make-pitch -1 4 ))
-       (giss . ,(ly:make-pitch -1 4 ))
-       (gisis . ,(ly:make-pitch -1 4 ))
-       (gississ . ,(ly:make-pitch -1 4 ))
-       (aeses . ,(ly:make-pitch -1 5 -2 ))
-       (aessess . ,(ly:make-pitch -1 5 -2 ))
-       (ases . ,(ly:make-pitch -1 5 -2 ))
-       (assess . ,(ly:make-pitch -1 5 -2 ))
-       (aes . ,(ly:make-pitch -1 5 -1 ))
-       (aess . ,(ly:make-pitch -1 5 -1 ))
-       (as . ,(ly:make-pitch -1 5 -1 ))
-       (ass . ,(ly:make-pitch -1 5 -1 ))
-       (a . ,(ly:make-pitch -1 5 ))
-       (ais . ,(ly:make-pitch -1 5 ))
-       (aiss . ,(ly:make-pitch -1 5 ))
-       (aisis . ,(ly:make-pitch -1 5 ))
-       (aississ . ,(ly:make-pitch -1 5 ))
-       (bes . ,(ly:make-pitch -1 6 -2 ))
-       (bess . ,(ly:make-pitch -1 6 -2 ))
-       (b . ,(ly:make-pitch -1 6 -1 ))
-       (b . ,(ly:make-pitch -1 6 -1 ))
-       (h . ,(ly:make-pitch -1 6 ))
-       (his . ,(ly:make-pitch -1 6 ))
-       (hiss . ,(ly:make-pitch -1 6 ))
-       (hisis . ,(ly:make-pitch -1 6 ))
-       (hississ . ,(ly:make-pitch -1 6 ))
+       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (ces . ,(ly:make-pitch -1 0 FLAT))
+       (cess . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (cis . ,(ly:make-pitch -1 0 SHARP))
+       (ciss . ,(ly:make-pitch -1 0 SHARP))
+       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (cississ . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (dessess . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (des . ,(ly:make-pitch -1 1 FLAT))
+       (dess . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (dis . ,(ly:make-pitch -1 1 SHARP))
+       (diss . ,(ly:make-pitch -1 1 SHARP))
+       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (dississ . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eeses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (eessess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (essess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (ees . ,(ly:make-pitch -1 2 FLAT))
+       (eess . ,(ly:make-pitch -1 2 FLAT))
+       (es . ,(ly:make-pitch -1 2 FLAT))
+       (ess . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+       (eis . ,(ly:make-pitch -1 2 SHARP))
+       (eiss . ,(ly:make-pitch -1 2 SHARP))
+       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (eississ . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fessess . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fes . ,(ly:make-pitch -1 3 FLAT))
+       (fess . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fis . ,(ly:make-pitch -1 3 SHARP))
+       (fiss . ,(ly:make-pitch -1 3 SHARP))
+       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (fississ . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (gessess . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (ges . ,(ly:make-pitch -1 4 FLAT))
+       (gess . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gis . ,(ly:make-pitch -1 4 SHARP))
+       (giss . ,(ly:make-pitch -1 4 SHARP))
+       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (gississ . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (aeses . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (aessess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (assess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (aes . ,(ly:make-pitch -1 5 FLAT))
+       (aess . ,(ly:make-pitch -1 5 FLAT))
+       (as . ,(ly:make-pitch -1 5 FLAT))
+       (ass . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (ais . ,(ly:make-pitch -1 5 SHARP))
+       (aiss . ,(ly:make-pitch -1 5 SHARP))
+       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (aississ . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (bes . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (bess . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (b . ,(ly:make-pitch -1 6 FLAT))
+       (b . ,(ly:make-pitch -1 6 FLAT))
+       (h . ,(ly:make-pitch -1 6 NATURAL))
+       (his . ,(ly:make-pitch -1 6 SHARP))
+       (hiss . ,(ly:make-pitch -1 6 SHARP))
+       (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+       (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
 
 
-\version "1.9.1"
+\version "1.9.7"
index 68d233c8eaf5053b40be5d89f9edad14665d6e35..9276582dc86708a043d2a038002f3493b81d434c 100644 (file)
@@ -1,6 +1,6 @@
 % paper-as5-init.ly
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperAsFive = \paper {
        staffheight = 5.\char
index e5dc599b0673969ec1f1b744ff7117f17056c065..2913b91a41c30c9627bddba31f1112dc4f78aadc 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper-as5-init.ly"
index 2eab7466ed5341c7c0a677567b06436eb4e7091d..e4c6620787886579255f3f67daa23051cbe55094 100644 (file)
@@ -1,6 +1,6 @@
 % paper-as9-init.ly
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperAsNine = \paper {
        staffheight = 9.\char
index ea7a8be04df2b6cb5e5186407b14786d4f39a4e9..556ae3a8d50d98f74a0757fc7694293609b7b6e7 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper-as9-init.ly"
index 78c279fba2306fd3629abc03b40d3a1baf694cd1..3b7b291c839f7a6722149d54a2abda40556048ed 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % paper-init.ly
 
 %% Why som complicated?  /MB
index 779a555280d085b074edbff1e211a3bafdbdab07..cef8987ecc8e949f79c043b8ae699bd513a499f2 100644 (file)
@@ -1,6 +1,6 @@
 % paper11-init.ly
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperEleven = \paper {
        staffheight = 11.0\pt
index 020174e09c89b30a28612f7e4ddb23448866a0e1..64e931ef6c5508870abfa391580798d91c309671 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper11-init.ly"
index 0bb6cdf9bcc7ef99028c28c60c1c60a061f5fb4a..5b367f83d3590d00b7a585504801b57c6dd0c883 100644 (file)
@@ -1,7 +1,7 @@
 % paper13-init.ly
 
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperThirteen = \paper {
        staffheight = 13.0\pt
index 9fb30ce27927b4d21db10979f24ac0412b9fc492..8c4a0ca5696bb14c8c8262baaccd372bf68d21f5 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper13-init.ly"
index bbe4268f68672b2255e5c72d2453af6e47ac2d39..0de6cbe21f2cc20bcf84b46630319ebdc929454c 100644 (file)
@@ -1,7 +1,7 @@
 % paper16-init.ly
 
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperSixteen = \paper {
        staffheight = 16.0\pt
index 797090f525a0e3077ec51f60889e2798d7b08374..722db510109965fea3041f806886fcdfaee4d078 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper16-init.ly"
index 696e75e3d23f680daa51a903d418586f89fa5bbe..05fb596875281a4e54e4414e9af7ec707f8aabf6 100644 (file)
@@ -1,7 +1,7 @@
 % paper19-init.ly
 
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperNineteen = \paper {
        staffheight = 19.0\pt
index 2ce1d7031c6fa74ad0cf3fbe15f59cb46dcaa3bb..82506998841b64b62e07024f209f2f47a6598d4e 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper19-init.ly"
index fc0e954bf499fc795b3221289ebe83f12105e05d..10711dd6b5944dadb87b5c4b85d6bda290bf8a78 100644 (file)
@@ -1,7 +1,7 @@
 % paper20-init.ly
 
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperTwenty = \paper {
        staffheight = 20.0\pt
index efef69eea4871080c1a632f04be752fb66b1a89a..93179f6c463dffd1f10f6fa9829e36bba383b694 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper20-init.ly"
index 743d70af6d8fe4fc9163bb9f36034a42fa309a65..7b913f70627a4eecc9d43d438ef027fe690d1981 100644 (file)
@@ -1,7 +1,7 @@
 % paper23-init.ly
 
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperTwentythree = \paper {
        staffheight = 23.0\pt
index b260c747b258fb992e8083d1f071bcda1d3c6cdd..b02583edab68603b666a80637fe0d5f398015fbf 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper23-init.ly"
index a356e95cc95552e0d79061cce2fc05c9feaabe50..65def5bc6036965cc5818773974163ae2d6d7fe3 100644 (file)
@@ -1,6 +1,6 @@
 % paper26-init.ly
 
-\version "1.9.1"
+\version "1.9.7"
 
 paperTwentysix = \paper {
        staffheight = 26.0\pt
index b16a518c2f5f316ebd2d1954794c4c5ab4528783..3b3ad4818bedeea906d7982c7d27b0d8a4160cae 100644 (file)
@@ -1,3 +1,3 @@
-\version "1.9.1"
+\version "1.9.7"
 
 \include "paper26-init.ly"
index 08449252e0bf18e03b6bb0d85533cebaaad3d1ae..f9c39b7a0e1908662b5e6a7c6d32b5b784abbe64 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % params-as-init.ly
 % generic paper parameters
 
index 726128c7e54c505155a0d0ac003274cf9aa94d9a..48a4d4a8b26112acc50cf66b1c59e889374c1c9e 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 % JUNKME.
 
 %% deprecated
index 4375cc3fd2b043b3222f6dd159111fe66d878dbc..0807a7fb6438cc0f8ef7f8221442711349a03a4e 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 % JUNKME
 %part-paper-init.ly
index 3a92961ae86ee3511ed1d45a19db1b0ad3dc7d5a..bd1bf63ea19803e23ad3f08f9950eb59732913aa 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 %
 % setup for Request->Element conversion. Guru-only
index 0a25bbc1220371e0f175334adaa7fa376683c2f5..98cae5efe860bc329625fdf823117d83a2b0b435 100644 (file)
@@ -1,6 +1,6 @@
 % property-init.ly
 
-\version "1.9.1"
+\version "1.9.7"
 
 stemUp = \property Voice.Stem \set #'direction = #1
 stemDown = \property Voice.Stem \set #'direction = #-1 
index 1c075be3a20c8280e0b81b40301a3e2754e37ca0..cac4c66ace9a9e48bdd1cb869b7097ca5ce04bb3 100644 (file)
@@ -1,7 +1,7 @@
-\version "1.9.1"
+\version "1.9.7"
 
 
-major = #'(
+major = #`(
     (0 . 0)
     (1 . 0)
     (2 . 0)
@@ -11,18 +11,18 @@ major = #'(
     (6 . 0)
   )
 
-minor = #'(
+minor = #`(
     (0 . 0)
     (1 . 0)
-    (2 . -1)
+    (2 . ,FLAT)
     (3 . 0)
     (4 . 0)
-    (5 . -1)
-    (6 . -1)
+    (5 . ,FLAT)
+    (6 . ,FLAT)
     )
 
 
-ionian = #'(
+ionian = #`(
     (0 . 0)
     (1 . 0)
     (2 . 0)
@@ -33,40 +33,40 @@ ionian = #'(
   )  
 
 
-locrian = #'(
+locrian = #`(
     (0 . 0)
-    (1 . -1)
-    (2 . -1)
+    (1 . ,FLAT)
+    (2 . ,FLAT)
     (3 . 0)
-    (4 . -1)
-    (5 . -1)
-    (6 . -1)
+    (4 . ,FLAT)
+    (5 . ,FLAT)
+    (6 . ,FLAT)
   )  
 
 
-aeolian = #'(
+aeolian = #`(
     (0 . 0)
     (1 . 0)
-    (2 . -1)
+    (2 . ,FLAT)
     (3 . 0)
     (4 . 0)
-    (5 . -1)
-    (6 . -1)
+    (5 . ,FLAT)
+    (6 . ,FLAT)
     )
 
 
-mixolydian = #'(
+mixolydian = #`(
     (0 . 0)
     (1 . 0)
     (2 . 0)
     (3 . 0)
     (4 . 0)
     (5 . 0)
-    (6 . -1)
+    (6 . ,FLAT)
   )  
 
 
-lydian = #'(
+lydian = #`(
     (0 . 0)
     (1 . 0)
     (2 . 0)
@@ -77,24 +77,24 @@ lydian = #'(
   )  
 
 
-phrygian = #'(
+phrygian = #`(
     (0 . 0)
-    (1 . -1)
-    (2 . -1)
+    (1 . ,FLAT)
+    (2 . ,FLAT)
     (3 . 0)
     (4 . 0)
-    (5 . -1)
-    (6 . -1)
+    (5 . ,FLAT)
+    (6 . ,FLAT)
 )  
 
 
-dorian = #'(
+dorian = #`(
     (0 . 0)
     (1 . 0)
-    (2 . -1)
+    (2 . ,FLAT)
     (3 . 0)
     (4 . 0)
     (5 . 0)
-    (6 . -1)
+    (6 . ,FLAT)
   )
 
index 21fd9560ea213b7543c2ea9d794b6e36c344e22c..3369ef682093b08d153c37ff5e2cff4b80cd17d4 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 
 dashHat= "marcato"
index ff0d621faa1fbaf7e0f87a85da9ed69b18b8dc51..af14f3e1e74339e30d7cc99fee7427946409a02f 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.9.1"
+\version "1.9.7"
 
 startGroup = #(make-span-event 'NoteGroupingEvent START)
 stopGroup = #(make-span-event 'NoteGroupingEvent STOP)
index 449c2122c0c20553b7e0ad474ed0e6e67bade618..2dcb32e1a510f974bd22987dcb8d2f5fb0277bb4 100644 (file)
@@ -1,48 +1,48 @@
 % common finnish names for notes. "es" means flat, "is" means sharp
 %
-% by Heikki Junes <heikki.junes@hut.fi>
+% by Heikki Junes <<heikki.junes@hut.fi>>
 % based on svenska.ly by Mats Bengtsson.
 
-% 2001/08/28 Heikki Junes <heikki.junes@hut.fi>
+% 2001/08/28 Heikki Junes <<heikki.junes@hut.fi>>
 %            added bb and marked heses as `unusual'
 
 \pitchnames #`(
-       (ceses . ,(ly:make-pitch -1 0 -2 ))
-       (ces . ,(ly:make-pitch -1 0 -1 ))
-       (c . ,(ly:make-pitch -1 0 ))
-       (cis . ,(ly:make-pitch -1 0 ))
-       (cisis . ,(ly:make-pitch -1 0 ))
-       (deses . ,(ly:make-pitch -1 1 -2 ))
-       (des . ,(ly:make-pitch -1 1 -1 ))
-       (d . ,(ly:make-pitch -1 1 ))
-       (dis . ,(ly:make-pitch -1 1 ))
-       (disis . ,(ly:make-pitch -1 1 ))
-       (eses . ,(ly:make-pitch -1 2 -2 ))
-       (es . ,(ly:make-pitch -1 2 -1 ))
-       (e . ,(ly:make-pitch -1 2 ))
-       (eis . ,(ly:make-pitch -1 2 ))
-       (eisis . ,(ly:make-pitch -1 2 ))
-       (feses . ,(ly:make-pitch -1 3 -2 ))
-       (fes . ,(ly:make-pitch -1 3 -1 ))
-       (f . ,(ly:make-pitch -1 3 ))
-       (fis . ,(ly:make-pitch -1 3 ))
-       (fisis . ,(ly:make-pitch -1 3 ))
-       (geses . ,(ly:make-pitch -1 4 -2 ))
-       (ges . ,(ly:make-pitch -1 4 -1 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (gis . ,(ly:make-pitch -1 4 ))
-       (gisis . ,(ly:make-pitch -1 4 ))
-       (asas . ,(ly:make-pitch -1 5 -2 ))
-       (ases . ,(ly:make-pitch -1 5 -2 ))   ;;non-standard name for asas
-       (as . ,(ly:make-pitch -1 5 -1 ))
-       (a . ,(ly:make-pitch -1 5 ))
-       (ais . ,(ly:make-pitch -1 5 ))
-       (aisis . ,(ly:make-pitch -1 5 ))
-       (bb . ,(ly:make-pitch -1 6 -2 ))
-       (heses . ,(ly:make-pitch -1 6 -2 ))  ;;non-standard name for bb
-       (b . ,(ly:make-pitch -1 6 -1 ))
-       (h . ,(ly:make-pitch -1 6 ))
-       (his . ,(ly:make-pitch -1 6 ))
-       (hisis . ,(ly:make-pitch -1 6 ))
+       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (ces . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (cis . ,(ly:make-pitch -1 0 SHARP))
+       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (des . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (dis . ,(ly:make-pitch -1 1 SHARP))
+       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (es . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+       (eis . ,(ly:make-pitch -1 2 SHARP))
+       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fes . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fis . ,(ly:make-pitch -1 3 SHARP))
+       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (ges . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gis . ,(ly:make-pitch -1 4 SHARP))
+       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (asas . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))   ;;non-standard name for asas
+       (as . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (ais . ,(ly:make-pitch -1 5 SHARP))
+       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (bb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))  ;;non-standard name for bb
+       (b . ,(ly:make-pitch -1 6 FLAT))
+       (h . ,(ly:make-pitch -1 6 NATURAL))
+       (his . ,(ly:make-pitch -1 6 SHARP))
+       (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
-\version "1.9.1"
+\version "1.9.7"
index bea79c8c069f72da6c06bf89b7861a20e71a2d86..c2f7270e36deaf218f79f9ef00053b73a0f19131 100644 (file)
@@ -4,40 +4,40 @@
 % by Mats Bengtsson.
 
 \pitchnames #`(
-       (cessess . ,(ly:make-pitch -1 0 -2 ))
-       (cess . ,(ly:make-pitch -1 0 -1 ))
-       (c . ,(ly:make-pitch -1 0 ))
-       (ciss . ,(ly:make-pitch -1 0 ))
-       (cississ . ,(ly:make-pitch -1 0 ))
-       (dessess . ,(ly:make-pitch -1 1 -2 ))
-       (dess . ,(ly:make-pitch -1 1 -1 ))
-       (d . ,(ly:make-pitch -1 1 ))
-       (diss . ,(ly:make-pitch -1 1 ))
-       (dississ . ,(ly:make-pitch -1 1 ))
-       (essess . ,(ly:make-pitch -1 2 -2 ))
-       (ess . ,(ly:make-pitch -1 2 -1 ))
-       (e . ,(ly:make-pitch -1 2 ))
-       (eiss . ,(ly:make-pitch -1 2 ))
-       (eississ . ,(ly:make-pitch -1 2 ))
-       (fessess . ,(ly:make-pitch -1 3 -2 ))
-       (fess . ,(ly:make-pitch -1 3 -1 ))
-       (f . ,(ly:make-pitch -1 3 ))
-       (fiss . ,(ly:make-pitch -1 3 ))
-       (fississ . ,(ly:make-pitch -1 3 ))
-       (gessess . ,(ly:make-pitch -1 4 -2 ))
-       (gess . ,(ly:make-pitch -1 4 -1 ))
-       (g . ,(ly:make-pitch -1 4 ))
-       (giss . ,(ly:make-pitch -1 4 ))
-       (gississ . ,(ly:make-pitch -1 4 ))
-       (assess . ,(ly:make-pitch -1 5 -2 ))
-       (ass . ,(ly:make-pitch -1 5 -1 ))
-       (a . ,(ly:make-pitch -1 5 ))
-       (aiss . ,(ly:make-pitch -1 5 ))
-       (aississ . ,(ly:make-pitch -1 5 ))
-       (hessess . ,(ly:make-pitch -1 6 -2 ))
-       (b . ,(ly:make-pitch -1 6 -1 ))
-       (h . ,(ly:make-pitch -1 6 ))
-       (hiss . ,(ly:make-pitch -1 6 ))
-       (hississ . ,(ly:make-pitch -1 6 ))
+       (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (cess . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (ciss . ,(ly:make-pitch -1 0 SHARP))
+       (cississ . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (dessess . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (dess . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (diss . ,(ly:make-pitch -1 1 SHARP))
+       (dississ . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (essess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (ess . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+       (eiss . ,(ly:make-pitch -1 2 SHARP))
+       (eississ . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fessess . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fess . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fiss . ,(ly:make-pitch -1 3 SHARP))
+       (fississ . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (gessess . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (gess . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (giss . ,(ly:make-pitch -1 4 SHARP))
+       (gississ . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (assess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (ass . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (aiss . ,(ly:make-pitch -1 5 SHARP))
+       (aississ . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (hessess . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (b . ,(ly:make-pitch -1 6 FLAT))
+       (h . ,(ly:make-pitch -1 6 NATURAL))
+       (hiss . ,(ly:make-pitch -1 6 SHARP))
+       (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
-\version "1.9.1"
+\version "1.9.7"
index 1e1047981e22ba234f48992a11f4b8ec06d8d29a..0270ad3803ca7fd5c13da58f71fd5123b01c43d8 100644 (file)
@@ -43,11 +43,11 @@ else:
 %      input feta-banier;
 %      input feta-eindelijk;
 %      input feta-klef;
-%      input feta-toevallig;
-       input feta-schrift;
+       input feta-toevallig;
+%      input feta-schrift;
 %      input feta-haak;
 %      input feta-timesig;
-       input feta-pendaal;
+%      input feta-pendaal;
 %      input feta-accordion;
 %      input feta-solfa;
 fi
index d94a8fcc09b5a589c1ca1b8c5e1e23cedefe2b3a..70c62785b27d3c0d2021097850bd628d2c843aff 100644 (file)
@@ -26,31 +26,26 @@ fet_begingroup("accidentals");
 % a square pen).  [Wanske] does not mention this, so we'll just ignore 
 % this fact
 %
-fet_beginchar("Sharp" , "1", "sharp");
-       set_char_box(0, 1.1 staff_space#, 1.5 staff_space#, 
-               1.5 staff_space#);
 
+def draw_meta_sharp (expr width) =
        save interbeam, interstem, beamheight, beamwidth, 
                stemwidth, beamslope;
+       save spanwidth, spanheight;
+       
+       save center;
+       pair center;
 
        interbeam := 1.05 staff_space;
-       interstem := 7/16 ;
        beamheight := 4 stafflinethickness;
-       beamwidth := w;
+       beamwidth := width;
        stemwidth := 1.5 stafflinethickness;
        roundness := 2 blot_diameter;
 
-       pair center;
        center := (.5 w, 0);
        
        roundness + 2 spanwidth = beamwidth;
        roundness + 2 spanheight = beamheight;
 
-       2 horizontal_protrusion  + interstem * beamwidth + stemwidth
-               = beamwidth;
-       
-% wanske: whole beamheight; or ca 18 degrees
-%      z2 - z1 = (beamwidth - roundness, beamheight/2);
        z2 - z1 = (beamwidth - roundness, beamheight);
        z1 + z2 = 2*center;
        beamslope = (y2-y1)/(x2-x1);
@@ -58,7 +53,6 @@ fet_beginchar("Sharp" , "1", "sharp");
        pair hspan, vspan;
        hspan = (spanwidth, beamslope * spanwidth);
        vspan = (0, spanheight);
-
        
        path beam;
        beam := (hspan + vspan -- -hspan 
@@ -71,25 +65,63 @@ fet_beginchar("Sharp" , "1", "sharp");
        pickup pencircle scaled stemwidth;
        x3 = x4 = xpart center;
 
-       numeric xs;
-       xs := interstem* beamwidth / 2;
 
-       (bot y3) + -xs * beamslope = -1.5 staff_space + ypart center;
-       top y4  + xs * beamslope = 1.5 staff_space + ypart center;
+       enddef;
+
+fet_beginchar("Sharp" , "2", "sharp");
+       set_char_box(0, 1.1 staff_space#, 1.5 staff_space#, 
+               1.5 staff_space#);
+       draw_meta_sharp (w);
+
+       save stemx;
+       stemx := 7 / 32 * w;
+
+       (bot y3) + - stemx * beamslope = -1.5 staff_space + ypart center;
+       top y4  + stemx * beamslope = 1.5 staff_space + ypart center;
 
-       draw_gridline (z3-(xs,xs* beamslope),z4-(xs,xs*beamslope),stemwidth);
-       addto currentpicture also currentpicture rotated 180 shifted (w,0);
        labels(1,2,3,4);
 
+       draw_gridline (z3-(stemx,stemx* beamslope),z4-(stemx, stemx*beamslope), stemwidth);
+       addto currentpicture also currentpicture rotated 180 shifted (w,0);
 
-% to check that it doesn't overshoot staffline.
-%
-%      pickup pencircle scaled stafflinethickness;
-%      draw (0, 1.5 staff_space ) ..  (1 staff_space, 1.5 staff_space);
+       fet_endchar;
+
+fet_beginchar("1/2 Sharp" , "1", "semisharp");
+       set_char_box(0, 0.6 staff_space#, 1.5 staff_space#, 
+               1.5 staff_space#);
+
+       draw_meta_sharp (w);
+       stemx := 7 / 32 * w;
+
+       (bot y3) + - stemx * beamslope = -1.5 staff_space + ypart center;
+       top y4  + stemx * beamslope = 1.5 staff_space + ypart center;
+
+       labels(1,2,3,4);
+
+       draw_gridline (z3, z4, stemwidth);
+       addto currentpicture also currentpicture rotated 180 shifted (w,0);
 
        fet_endchar;
 
 
+fet_beginchar("3/4 Sharp" , "3", "threequartersharp");
+       set_char_box(0, 1.6 staff_space#, 1.5 staff_space#, 
+               1.5 staff_space#);
+
+       draw_meta_sharp (w);
+       stemx := 9 / 32 * w;
+
+       (bot y3) + - stemx * beamslope = -1.5 staff_space + ypart center;
+       top y4  + stemx * beamslope = 1.5 staff_space + ypart center;
+
+       labels(1,2,3,4);
+
+       draw_gridline (z3-(stemx,stemx* beamslope),z4-(stemx, stemx*beamslope), stemwidth);
+       draw_gridline (z3, z4, stemwidth);
+       addto currentpicture also currentpicture rotated 180 shifted (w,0);
+
+       fet_endchar;
+
 %
 % The stems of the natural are brushed (at least, in Barenreiter SCS )
 %
@@ -268,13 +300,19 @@ enddef;
 %
 % unfortunately, 600dpi is not enough to show the brush of the stem.
 %
-fet_beginchar("Flat", "-1", "flat")
+fet_beginchar("Flat", "-2", "flat")
+       set_char_box(1.2 stafflinethickness#, .8 staff_space#, 0.6 staff_space#, 1.9 staff_space#);
+       draw_meta_flat(0, w, 0.31 staff_space);
+       fet_endchar;
+
+fet_beginchar("Semi flat", "-1", "semiflat")
        set_char_box(1.2 stafflinethickness#, .8 staff_space#, 0.6 staff_space#, 1.9 staff_space#);
        draw_meta_flat(0, w, 0.31 staff_space);
+       currentpicture := currentpicture xscaled -1 shifted (w - b, 0);  
        fet_endchar;
 
 
-fet_beginchar("Double Flat", "-2", "flatflat")
+fet_beginchar("Double Flat", "-4", "flatflat")
        save left_wid, overlap, right_wid;
        left_wid = .7;
        right_wid = .8;
@@ -285,7 +323,27 @@ fet_beginchar("Double Flat", "-2", "flatflat")
                right_wid *staff_space, 0.33 staff_space);
        fet_endchar;
 
-fet_beginchar("Double Sharp", "2", "sharpsharp")
+fet_beginchar("3/4 Flat", "-3", "threeqflat")
+       save left_wid, overlap, right_wid;
+       left_wid = .7;
+       right_wid = .8;
+       overlap = .05;
+       set_char_box(1.2 stafflinethickness#, (left_wid + right_wid -overlap) *staff_space#, .6 staff_space#, 1.9 staff_space#);
+       draw_meta_flat(0, left_wid*  staff_space, 1/3 staff_space);
+       draw_meta_flat(round ((left_wid - overlap) *staff_space),
+               right_wid *staff_space, 0.33 staff_space);
+
+       %% maybe we should clip part of the stems?
+       %% or make the 1st flat smaller?
+       %% or reverse it? 
+       pickup pencircle scaled 2 stafflinethickness;
+       z12 = ( - .25 w - b, .55 staff_space);
+       z13 = (  .75 w , 1.45 staff_space);
+       draw z12 -- z13;
+       fet_endchar;
+
+
+fet_beginchar("Double Sharp", "4", "sharpsharp")
        set_char_box(0, staff_space#, .5 staff_space#, .5 staff_space#);
        save klaverblad, klaversteel;
 
index 6b047797ffb851abe08bb6ad4e61f4632b0aaa90..d70e8f0a44ddff6306f61b9c50d6256419af4f15 100644 (file)
@@ -262,12 +262,12 @@ DURATION, and INVERSION."
 ; chord modifiers change the pitch list.
 
 (define (aug-modifier  pitches)
-  (set! pitches  (replace-step (ly:make-pitch 0 4 1) pitches))
+  (set! pitches  (replace-step (ly:make-pitch 0 4 SHARP) pitches))
   (replace-step (ly:make-pitch 0 2 0) pitches) 
   )
 
 (define (minor-modifier  pitches)
-  (replace-step (ly:make-pitch 0 2 -1) pitches)
+  (replace-step (ly:make-pitch 0 2 FLAT) pitches)
   )
 
 (define (maj7-modifier  pitches)
@@ -276,9 +276,9 @@ DURATION, and INVERSION."
   )
 
 (define (dim-modifier  pitches)
-  (set! pitches (replace-step (ly:make-pitch 0 2 -1) pitches))
-  (set! pitches (replace-step (ly:make-pitch 0 4 -1) pitches))
-  (set! pitches (replace-step (ly:make-pitch 0 6 -2) pitches))
+  (set! pitches (replace-step (ly:make-pitch 0 2 FLAT) pitches))
+  (set! pitches (replace-step (ly:make-pitch 0 4 FLAT) pitches))
+  (set! pitches (replace-step (ly:make-pitch 0 6 DOUBLE-FLAT) pitches))
   pitches
   )
 
@@ -301,7 +301,7 @@ DURATION, and INVERSION."
   (map
    (lambda (n)
      (define (nca x)
-       (if (= x 7) -1 0))
+       (if (= x 7) FLAT 0))
      (if (>= n 8)
         (ly:make-pitch 1 (- n 8) (nca n))
         (ly:make-pitch 0 (- n 1) (nca n))))
index a6d924054a108eb4c92d6979597b3453c457762f..fed4cdff6823dc42c21f0f71adae97548f6fa3a8 100644 (file)
@@ -57,13 +57,13 @@ input/test/dpncnt.ly).
     (ly:pitch-transpose pitch
                        (ly:make-pitch 0 2 (if (or (= (step-nr pitch) 3)
                                                   (= (step-nr pitch) 5))
-                                              -1 0))))
+                                              FLAT 0))))
 
   (define (step-alteration pitch)
     (let* ((diff (ly:pitch-diff (ly:make-pitch 0 0 0) (car pitches)))
           (normalized-pitch (ly:pitch-transpose pitch diff))
           (alteration (ly:pitch-alteration normalized-pitch)))
-      (if (= (step-nr pitch) 7) (+ alteration 1) alteration)))
+      (if (= (step-nr pitch) 7) (+ alteration SEMI-TONE) alteration)))
     
   (define (pitch-unalter pitch)
     (let ((alteration (step-alteration pitch)))
@@ -84,11 +84,11 @@ input/test/dpncnt.ly).
       (make-simple-markup (number->string (step-nr pitch)))
       (make-simple-markup
        (case (step-alteration pitch)
-        ((-2) "--")
-        ((-1) "-")
-        ((0) "")
-        ((1) "+")
-        ((2) "++"))))))
+        ((DOUBLE-FLAT) "--")
+        ((FLAT) "-")
+        ((NATURAL) "")
+        ((SHARP) "+")
+        ((DOUBLE-SHARP) "++"))))))
   
   (define (step->markup-accidental pitch)
     (make-line-markup
index 3a23a4a05f5cb9ade3b3d19437b73432cc07417c..bcc5568e609e17d6c39f04f62ec523e61a08ccfe 100644 (file)
@@ -137,7 +137,7 @@ work than classifying the pitches."
     
     (define (prefix-modifier->markup mod)
       (if (and (= 3 (pitch-step mod))
-              (= -1 (ly:pitch-alteration mod)))
+              (= FLAT (ly:pitch-alteration mod)))
          (make-simple-markup "m")
          (make-simple-markup "huh")
          ))
@@ -273,9 +273,8 @@ work than classifying the pitches."
 
        ;; do minor-3rd modifier.
        (if (and (get-step 3 pitches)
-               (= (ly:pitch-alteration (get-step 3 pitches)) -1))
-          (set! prefixes (cons (get-step 3 pitches) prefixes))
-          )
+               (= (ly:pitch-alteration (get-step 3 pitches)) FLAT))
+          (set! prefixes (cons (get-step 3 pitches) prefixes)))
        
        ;; lazy bum. Should write loop.
        (cond
index 2dc7926fbc5c98dd1e6c41e87703b0e64b01532a..5b549e36d9ca6c797f10ede2e860396ad629a764 100644 (file)
@@ -32,7 +32,7 @@
       (make-line-markup (list empty-markup))
       (conditional-kern-before
        (alteration->text-accidental-markup alteration)
-       (= alteration -1) 0.2
+       (= alteration FLAT) 0.2
        )))
 
 
@@ -52,7 +52,7 @@
 "
   (let* ((name (ly:pitch-notename pitch))
          (alt (ly:pitch-alteration pitch))
-        (n-a (if (member (cons name alt) '((6 . -1) (6 . -2)))
+        (n-a (if (member (cons name alt) `((6 . ,FLAT) (6 . ,DOUBLE-FLAT)))
                 (cons 7 (+ (if B-instead-of-Bb 1 0) alt))
                 (cons name alt))))
     (make-line-markup
 (define-public (note-name->german-markup  pitch)
   (let* ((name (ly:pitch-notename pitch))
         (alt (ly:pitch-alteration pitch))
-        (n-a (if (member (cons name alt) '((6 . -1) (6 . -2)))
-                 (cons 7 (+ 1 alt))
+        (n-a (if (member (cons name alt) `((6 . ,FLAT) (6 . ,DOUBLE-FLAT)))
+                 (cons 7 (+ 2 alt))
                  (cons name alt))))
     (make-line-markup
      (list
       (string-append
-       (list-ref '("c" "d" "e" "f" "g" "a" "h" "b") (car n-a))
+       (list-ref '("c" "d" "e" "f" "g" "a" "h" "b") (/ (car n-a) 2))
        (if (or (equal? (car n-a) 2) (equal? (car n-a) 5))
-          (list-ref '( "ses"  "s" "" "is" "isis") (+ 2 (cdr n-a)))
-          (list-ref '("eses" "es" "" "is" "isis") (+ 2 (cdr n-a)))))))))
+          (list-ref '( "ses"  "s" "" "is" "isis") (+ 2 (/ (cdr n-a) 2) ))
+          (list-ref '("eses" "es" "" "is" "isis") (+ 2 (/ (cdr n-a) 2) ))
+          ))))))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
index b6beb241b52eeb99868131e5033031a5a2421fb1..66f3cf85936db0f6783ddad01d30474470214750 100644 (file)
@@ -8,80 +8,80 @@
 
 ;; ugh. Should make separate module?
 (define-public drum-pitch-names `(
-       (acousticbassdrum bda   ,(ly:make-pitch -3 6 ))
-       (bassdrum         bd    ,(ly:make-pitch -2 0 ))
-       (hisidestick      ssh   ,(ly:make-pitch -3 6 2))
-       (sidestick        ss    ,(ly:make-pitch -2 0 1))
-       (losidestick      ssl   ,(ly:make-pitch -2 1 -1))
-       (acousticsnare    sna   ,(ly:make-pitch -2 1 0))
-       (snare            sn    ,(ly:make-pitch -2 2 -2))
-       (handclap         hc    ,(ly:make-pitch -2 1 1))
-       (electricsnare    sne   ,(ly:make-pitch -2 2 0))
-       (lowfloortom      tomfl ,(ly:make-pitch -2 3 0))
-       (closedhihat      hhc   ,(ly:make-pitch -2 3 1))
-       (hihat            hh    ,(ly:make-pitch -2 4 -1))
-       (highfloortom     tomfh ,(ly:make-pitch -2 4 0))
-       (pedalhihat       hhp   ,(ly:make-pitch -2 4 1))
-       (lowtom           toml  ,(ly:make-pitch -2 5 0))
-       (openhihat        hho   ,(ly:make-pitch -2 5 1))
-       (halfopenhihat    hhho  ,(ly:make-pitch -2 5 1))
-       (lowmidtom        tomml ,(ly:make-pitch -2 6 0))
-       (himidtom         tommh ,(ly:make-pitch -1 0 0))
-       (crashcymbala     cymca ,(ly:make-pitch -1 0 1))
-       (crashcymbal      cymc  ,(ly:make-pitch -1 1 -1))
-       (hightom          tomh  ,(ly:make-pitch -1 1 0))
-       (ridecymbala      cymra ,(ly:make-pitch -1 1 1))
-       (ridecymbal       cymr  ,(ly:make-pitch -1 2 -1))
-       (chinesecymbal    cymch ,(ly:make-pitch -1 2 0))
-       (ridebell         rb    ,(ly:make-pitch -1 3 0))
-       (tambourine       tamb  ,(ly:make-pitch -1 3 1))
-       (splashcymbal     cyms  ,(ly:make-pitch -1 4 0))
-       (cowbell          cb    ,(ly:make-pitch -1 4 1))
-       (crashcymbalb     cymcb ,(ly:make-pitch -1 5 0))
-       (vibraslap        vibs  ,(ly:make-pitch -1 5 1))
-       (ridecymbalb      cymrb ,(ly:make-pitch -1 6 0))
-       (mutehibongo      bohm  ,(ly:make-pitch -1 6 1))
-       (hibongo          boh   ,(ly:make-pitch 0 0 0))
-       (openhibongo      boho  ,(ly:make-pitch 0 1 -2))
-       (mutelobongo      bolm  ,(ly:make-pitch -1 6 2))
-       (lobongo          bol   ,(ly:make-pitch 0 0 1))
-       (openlobongo      bolo  ,(ly:make-pitch 0 1 -1))
-       (mutehiconga      cghm  ,(ly:make-pitch 0 1 0))
-       (muteloconga      cglm  ,(ly:make-pitch 0 2 -2))
-       (openhiconga      cgho  ,(ly:make-pitch 0 1 1))
-       (hiconga          cgh   ,(ly:make-pitch 0 2 -1))
-       (openloconga      cglo  ,(ly:make-pitch 0 1 2))
-       (loconga          cgl   ,(ly:make-pitch 0 2 0))
-       (hitimbale        timh  ,(ly:make-pitch 0 3 0))
-       (lotimbale        timl  ,(ly:make-pitch 0 3 1))
-       (hiagogo          agh   ,(ly:make-pitch 0 4 0))
-       (loagogo          agl   ,(ly:make-pitch 0 4 1))
-       (cabasa           cab   ,(ly:make-pitch 0 5 0))
-       (maracas          mar   ,(ly:make-pitch 0 5 1))
-       (shortwhistle     whs   ,(ly:make-pitch 0 6 0))
-       (longwhistle      whl   ,(ly:make-pitch 1 0 0))
-       (shortguiro       guis  ,(ly:make-pitch 1 0 1))
-       (longguiro        guil  ,(ly:make-pitch 1 1 0))
-       (guiro            gui   ,(ly:make-pitch 1 0 2))
-       (claves           cl    ,(ly:make-pitch 1 1 1))
-       (hiwoodblock      wbh   ,(ly:make-pitch 1 2 0))
-       (lowoodblock      wbl   ,(ly:make-pitch 1 3 0))
-       (mutecuica        cuim  ,(ly:make-pitch 1 3 1))
-       (opencuica        cuio  ,(ly:make-pitch 1 4 0))
-       (mutetriangle     trim  ,(ly:make-pitch 1 4 1))
-       (triangle         tri   ,(ly:make-pitch 1 4 2))
-       (opentriangle     trio  ,(ly:make-pitch 1 5 0))
+       (acousticbassdrum bda   ,(ly:make-pitch -3 6 NATURAL))
+       (bassdrum         bd    ,(ly:make-pitch -2 0 NATURAL))
+       (hisidestick      ssh   ,(ly:make-pitch -3 6 DOUBLE-SHARP))
+       (sidestick        ss    ,(ly:make-pitch -2 0 SHARP))
+       (losidestick      ssl   ,(ly:make-pitch -2 1 FLAT))
+       (acousticsnare    sna   ,(ly:make-pitch -2 1 NATURAL))
+       (snare            sn    ,(ly:make-pitch -2 2 DOUBLE-FLAT))
+       (handclap         hc    ,(ly:make-pitch -2 1 SHARP))
+       (electricsnare    sne   ,(ly:make-pitch -2 2 NATURAL))
+       (lowfloortom      tomfl ,(ly:make-pitch -2 3 NATURAL))
+       (closedhihat      hhc   ,(ly:make-pitch -2 3 SHARP))
+       (hihat            hh    ,(ly:make-pitch -2 4 FLAT))
+       (highfloortom     tomfh ,(ly:make-pitch -2 4 NATURAL))
+       (pedalhihat       hhp   ,(ly:make-pitch -2 4 SHARP))
+       (lowtom           toml  ,(ly:make-pitch -2 5 NATURAL))
+       (openhihat        hho   ,(ly:make-pitch -2 5 SHARP))
+       (halfopenhihat    hhho  ,(ly:make-pitch -2 5 SHARP))
+       (lowmidtom        tomml ,(ly:make-pitch -2 6 NATURAL))
+       (himidtom         tommh ,(ly:make-pitch -1 0 NATURAL))
+       (crashcymbala     cymca ,(ly:make-pitch -1 0 SHARP))
+       (crashcymbal      cymc  ,(ly:make-pitch -1 1 FLAT))
+       (hightom          tomh  ,(ly:make-pitch -1 1 NATURAL))
+       (ridecymbala      cymra ,(ly:make-pitch -1 1 SHARP))
+       (ridecymbal       cymr  ,(ly:make-pitch -1 2 FLAT))
+       (chinesecymbal    cymch ,(ly:make-pitch -1 2 NATURAL))
+       (ridebell         rb    ,(ly:make-pitch -1 3 NATURAL))
+       (tambourine       tamb  ,(ly:make-pitch -1 3 SHARP))
+       (splashcymbal     cyms  ,(ly:make-pitch -1 4 NATURAL))
+       (cowbell          cb    ,(ly:make-pitch -1 4 SHARP))
+       (crashcymbalb     cymcb ,(ly:make-pitch -1 5 NATURAL))
+       (vibraslap        vibs  ,(ly:make-pitch -1 5 SHARP))
+       (ridecymbalb      cymrb ,(ly:make-pitch -1 6 NATURAL))
+       (mutehibongo      bohm  ,(ly:make-pitch -1 6 SHARP))
+       (hibongo          boh   ,(ly:make-pitch 0 0 NATURAL))
+       (openhibongo      boho  ,(ly:make-pitch 0 1 DOUBLE-FLAT))
+       (mutelobongo      bolm  ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+       (lobongo          bol   ,(ly:make-pitch 0 0 SHARP))
+       (openlobongo      bolo  ,(ly:make-pitch 0 1 FLAT))
+       (mutehiconga      cghm  ,(ly:make-pitch 0 1 NATURAL))
+       (muteloconga      cglm  ,(ly:make-pitch 0 2 DOUBLE-FLAT))
+       (openhiconga      cgho  ,(ly:make-pitch 0 1 SHARP))
+       (hiconga          cgh   ,(ly:make-pitch 0 2 FLAT))
+       (openloconga      cglo  ,(ly:make-pitch 0 1 DOUBLE-SHARP))
+       (loconga          cgl   ,(ly:make-pitch 0 2 NATURAL))
+       (hitimbale        timh  ,(ly:make-pitch 0 3 NATURAL))
+       (lotimbale        timl  ,(ly:make-pitch 0 3 SHARP))
+       (hiagogo          agh   ,(ly:make-pitch 0 4 NATURAL))
+       (loagogo          agl   ,(ly:make-pitch 0 4 SHARP))
+       (cabasa           cab   ,(ly:make-pitch 0 5 NATURAL))
+       (maracas          mar   ,(ly:make-pitch 0 5 SHARP))
+       (shortwhistle     whs   ,(ly:make-pitch 0 6 NATURAL))
+       (longwhistle      whl   ,(ly:make-pitch 1 0 NATURAL))
+       (shortguiro       guis  ,(ly:make-pitch 1 0 SHARP))
+       (longguiro        guil  ,(ly:make-pitch 1 1 NATURAL))
+       (guiro            gui   ,(ly:make-pitch 1 0 DOUBLE-SHARP))
+       (claves           cl    ,(ly:make-pitch 1 1 SHARP))
+       (hiwoodblock      wbh   ,(ly:make-pitch 1 2 NATURAL))
+       (lowoodblock      wbl   ,(ly:make-pitch 1 3 NATURAL))
+       (mutecuica        cuim  ,(ly:make-pitch 1 3 SHARP))
+       (opencuica        cuio  ,(ly:make-pitch 1 4 NATURAL))
+       (mutetriangle     trim  ,(ly:make-pitch 1 4 SHARP))
+       (triangle         tri   ,(ly:make-pitch 1 4 DOUBLE-SHARP))
+       (opentriangle     trio  ,(ly:make-pitch 1 5 NATURAL))
        ;; "transposing" pitches:
-       (oneup            ua    ,(ly:make-pitch 0 1 0))
-       (twoup            ub    ,(ly:make-pitch 0 2 0))
-       (threeup          uc    ,(ly:make-pitch 0 3 0))
-       (fourup           ud    ,(ly:make-pitch 0 4 0))
-       (fiveup           ue    ,(ly:make-pitch 0 5 0))
-       (onedown          da    ,(ly:make-pitch -1 6 0))
-       (twodown          db    ,(ly:make-pitch -1 5 0))
-       (threedown        dc    ,(ly:make-pitch -1 4 0))
-       (fourdown         dd    ,(ly:make-pitch -1 3 0))
-       (fivedown         de    ,(ly:make-pitch -1 2 0))
+       (oneup            ua    ,(ly:make-pitch 0 1 NATURAL))
+       (twoup            ub    ,(ly:make-pitch 0 2 NATURAL))
+       (threeup          uc    ,(ly:make-pitch 0 3 NATURAL))
+       (fourup           ud    ,(ly:make-pitch 0 4 NATURAL))
+       (fiveup           ue    ,(ly:make-pitch 0 5 NATURAL))
+       (onedown          da    ,(ly:make-pitch -1 6 NATURAL))
+       (twodown          db    ,(ly:make-pitch -1 5 NATURAL))
+       (threedown        dc    ,(ly:make-pitch -1 4 NATURAL))
+       (fourdown         dd    ,(ly:make-pitch -1 3 NATURAL))
+       (fivedown         de    ,(ly:make-pitch -1 2 NATURAL))
 ))
 
 ;;
   percussive-instrument-init-settings
   `((drums
     . (
-       (acousticbassdrum default       #f        ,(ly:make-pitch -1 4 0))
-       (bassdrum         default       #f        ,(ly:make-pitch -1 4 0))
-       (sidestick        cross         #f        ,(ly:make-pitch 0 1 0))
-       (acousticsnare    default       #f        ,(ly:make-pitch 0 1 0))
-       (snare            default       #f        ,(ly:make-pitch 0 1 0))
-       (handclap         triangle      #f        ,(ly:make-pitch 0 1 0))
-       (electricsnare    default       #f        ,(ly:make-pitch 0 1 0))
-       (lowfloortom      default       #f        ,(ly:make-pitch -1 3 0))
-       (closedhihat      cross         "stopped" ,(ly:make-pitch 0 3 0))
-       (hihat            cross         #f        ,(ly:make-pitch 0 3 0))
-       (highfloortom     default       #f        ,(ly:make-pitch -1 5 0))
-       (pedalhihat       cross         #f        ,(ly:make-pitch -1 2 0))
-       (lowtom           default       #f        ,(ly:make-pitch -1 6 0))
-       (openhihat        cross         "open"    ,(ly:make-pitch 0 3 0))
-       (halfopenhihat    xcircle       #f        ,(ly:make-pitch 0 3 0))
-       (lowmidtom        default       #f        ,(ly:make-pitch 0 0 0))
-       (himidtom         default       #f        ,(ly:make-pitch 0 2 0))
-       (crashcymbala     xcircle       #f        ,(ly:make-pitch 0 5 0))
-       (crashcymbal      xcircle       #f        ,(ly:make-pitch 0 5 0))
-       (hightom          default       #f        ,(ly:make-pitch 0 4 0))
-       (ridecymbala      cross         #f        ,(ly:make-pitch 0 5 0))
-       (ridecymbal       cross         #f        ,(ly:make-pitch 0 5 0))
-       (chinesecymbal    mensural      #f        ,(ly:make-pitch 0 5 0))
-       (ridebell         default       #f        ,(ly:make-pitch 0 5 0))
-       (splashcymbal     diamond       #f        ,(ly:make-pitch 0 5 0))
-       (cowbell          triangle      #f        ,(ly:make-pitch 0 5 0))
-       (crashcymbalb     cross         #f        ,(ly:make-pitch 0 5 0))
-       (vibraslap        diamond       #f        ,(ly:make-pitch 0 4 0))
-       (ridecymbalb      cross         #f        ,(ly:make-pitch 0 5 0))
+       (acousticbassdrum default       #f        ,(ly:make-pitch -1 4 NATURAL))
+       (bassdrum         default       #f        ,(ly:make-pitch -1 4 NATURAL))
+       (sidestick        cross         #f        ,(ly:make-pitch 0 1 NATURAL))
+       (acousticsnare    default       #f        ,(ly:make-pitch 0 1 NATURAL))
+       (snare            default       #f        ,(ly:make-pitch 0 1 NATURAL))
+       (handclap         triangle      #f        ,(ly:make-pitch 0 1 NATURAL))
+       (electricsnare    default       #f        ,(ly:make-pitch 0 1 NATURAL))
+       (lowfloortom      default       #f        ,(ly:make-pitch -1 3 NATURAL))
+       (closedhihat      cross         "stopped" ,(ly:make-pitch 0 3 NATURAL))
+       (hihat            cross         #f        ,(ly:make-pitch 0 3 NATURAL))
+       (highfloortom     default       #f        ,(ly:make-pitch -1 5 NATURAL))
+       (pedalhihat       cross         #f        ,(ly:make-pitch -1 2 NATURAL))
+       (lowtom           default       #f        ,(ly:make-pitch -1 6 NATURAL))
+       (openhihat        cross         "open"    ,(ly:make-pitch 0 3 NATURAL))
+       (halfopenhihat    xcircle       #f        ,(ly:make-pitch 0 3 NATURAL))
+       (lowmidtom        default       #f        ,(ly:make-pitch 0 0 NATURAL))
+       (himidtom         default       #f        ,(ly:make-pitch 0 2 NATURAL))
+       (crashcymbala     xcircle       #f        ,(ly:make-pitch 0 5 NATURAL))
+       (crashcymbal      xcircle       #f        ,(ly:make-pitch 0 5 NATURAL))
+       (hightom          default       #f        ,(ly:make-pitch 0 4 NATURAL))
+       (ridecymbala      cross         #f        ,(ly:make-pitch 0 5 NATURAL))
+       (ridecymbal       cross         #f        ,(ly:make-pitch 0 5 NATURAL))
+       (chinesecymbal    mensural      #f        ,(ly:make-pitch 0 5 NATURAL))
+       (ridebell         default       #f        ,(ly:make-pitch 0 5 NATURAL))
+       (splashcymbal     diamond       #f        ,(ly:make-pitch 0 5 NATURAL))
+       (cowbell          triangle      #f        ,(ly:make-pitch 0 5 NATURAL))
+       (crashcymbalb     cross         #f        ,(ly:make-pitch 0 5 NATURAL))
+       (vibraslap        diamond       #f        ,(ly:make-pitch 0 4 NATURAL))
+       (ridecymbalb      cross         #f        ,(ly:make-pitch 0 5 NATURAL))
       ))
 
   (timbales
    . (
-       (losidestick      cross         #f        ,(ly:make-pitch -1 6 0))
-       (lotimbale        default       #f        ,(ly:make-pitch -1 6 0))
-       (cowbell          triangle      #f        ,(ly:make-pitch 0 2 0))
-       (hisidestick      cross         #f        ,(ly:make-pitch 0 1 0))
-       (hitimbale        default       #f        ,(ly:make-pitch 0 1 0))
+       (losidestick      cross         #f        ,(ly:make-pitch -1 6 NATURAL))
+       (lotimbale        default       #f        ,(ly:make-pitch -1 6 NATURAL))
+       (cowbell          triangle      #f        ,(ly:make-pitch 0 2 NATURAL))
+       (hisidestick      cross         #f        ,(ly:make-pitch 0 1 NATURAL))
+       (hitimbale        default       #f        ,(ly:make-pitch 0 1 NATURAL))
       ))
 
   (congas
    . (
-       (losidestick      cross         #f        ,(ly:make-pitch -1 6 0))
-       (loconga          default       #f        ,(ly:make-pitch -1 6 0))
-       (openloconga      default       "open"    ,(ly:make-pitch -1 6 0))
-       (muteloconga      default       "stopped" ,(ly:make-pitch -1 6 0))
-       (hisidestick      cross         #f        ,(ly:make-pitch 0 1 0))
-       (hiconga          default       #f        ,(ly:make-pitch 0 1 0))
-       (openhiconga      default       "open"    ,(ly:make-pitch 0 1 0))
-       (mutehiconga      default       "stopped" ,(ly:make-pitch 0 1 0))
+       (losidestick      cross         #f        ,(ly:make-pitch -1 6 NATURAL))
+       (loconga          default       #f        ,(ly:make-pitch -1 6 NATURAL))
+       (openloconga      default       "open"    ,(ly:make-pitch -1 6 NATURAL))
+       (muteloconga      default       "stopped" ,(ly:make-pitch -1 6 NATURAL))
+       (hisidestick      cross         #f        ,(ly:make-pitch 0 1 NATURAL))
+       (hiconga          default       #f        ,(ly:make-pitch 0 1 NATURAL))
+       (openhiconga      default       "open"    ,(ly:make-pitch 0 1 NATURAL))
+       (mutehiconga      default       "stopped" ,(ly:make-pitch 0 1 NATURAL))
       ))
 
   (bongos
     . (
-       (losidestick      cross         #f        ,(ly:make-pitch -1 6 0))
-       (lobongo          default       #f        ,(ly:make-pitch -1 6 0))
-       (openlobongo      default       "open"    ,(ly:make-pitch -1 6 0))
-       (mutelobongo      default       "stopped" ,(ly:make-pitch -1 6 0))
-       (hisidestick      cross         #f        ,(ly:make-pitch 0 1 0))
-       (hibongo          default       #f        ,(ly:make-pitch 0 1 0))
-       (openhibongo      default       "open"    ,(ly:make-pitch 0 1 0))
-       (mutehibongo      default       "stopped" ,(ly:make-pitch 0 1 0))
+       (losidestick      cross         #f        ,(ly:make-pitch -1 6 NATURAL))
+       (lobongo          default       #f        ,(ly:make-pitch -1 6 NATURAL))
+       (openlobongo      default       "open"    ,(ly:make-pitch -1 6 NATURAL))
+       (mutelobongo      default       "stopped" ,(ly:make-pitch -1 6 NATURAL))
+       (hisidestick      cross         #f        ,(ly:make-pitch 0 1 NATURAL))
+       (hibongo          default       #f        ,(ly:make-pitch 0 1 NATURAL))
+       (openhibongo      default       "open"    ,(ly:make-pitch 0 1 NATURAL))
+       (mutehibongo      default       "stopped" ,(ly:make-pitch 0 1 NATURAL))
       ))
 
 
   (percussion
    . (
-       (opentriangle     cross         "open"    ,(ly:make-pitch 0 0 0))
-       (mutetriangle     cross         "stopped" ,(ly:make-pitch 0 0 0))
-       (triangle         cross         #f        ,(ly:make-pitch 0 0 0))
-       (shortguiro       default       "staccato",(ly:make-pitch 0 0 0))
-       (longguiro        default       "tenuto"  ,(ly:make-pitch 0 0 0))
-       (guiro            default       #f        ,(ly:make-pitch 0 0 0))
-       (cowbell          triangle      #f        ,(ly:make-pitch 0 0 0))
-       (claves           default       #f        ,(ly:make-pitch 0 0 0))
-       (tambourine       default       #f        ,(ly:make-pitch 0 0 0))
-       (cabasa           cross         #f        ,(ly:make-pitch 0 0 0))
-       (maracas          default       #f        ,(ly:make-pitch 0 0 0))
-       (handclap         default       #f        ,(ly:make-pitch 0 0 0))
+       (opentriangle     cross         "open"    ,(ly:make-pitch 0 0 NATURAL))
+       (mutetriangle     cross         "stopped" ,(ly:make-pitch 0 0 NATURAL))
+       (triangle         cross         #f        ,(ly:make-pitch 0 0 NATURAL))
+       (shortguiro       default       "staccato",(ly:make-pitch 0 0 NATURAL))
+       (longguiro        default       "tenuto"  ,(ly:make-pitch 0 0 NATURAL))
+       (guiro            default       #f        ,(ly:make-pitch 0 0 NATURAL))
+       (cowbell          triangle      #f        ,(ly:make-pitch 0 0 NATURAL))
+       (claves           default       #f        ,(ly:make-pitch 0 0 NATURAL))
+       (tambourine       default       #f        ,(ly:make-pitch 0 0 NATURAL))
+       (cabasa           cross         #f        ,(ly:make-pitch 0 0 NATURAL))
+       (maracas          default       #f        ,(ly:make-pitch 0 0 NATURAL))
+       (handclap         default       #f        ,(ly:make-pitch 0 0 NATURAL))
       ))
   ))
 
index d603c683fbbf48b903737549e565a23e50e321eb..cec78e35ee377b77959e27ed5a6b19856783d3fd 100644 (file)
 ;;; have a more sensible default.
 
 
-
-(debug-enable 'debug)
-;(debug-enable 'backtrace)
-(read-enable 'positions)
+(if (ly:get-option 'verbose)
+    (begin
+      (debug-enable 'debug)
+      (debug-enable 'backtrace)
+      (read-enable 'positions)))
 
 
 (define-public (line-column-location line col file)
 (define-public DOWN -1)
 (define-public CENTER 0)
 
-(define-public DOUBLE-FLAT -2)
-(define-public FLAT -1)
-(define-public SHARP 1)
-(define-public DOUBLE-SHARP 2)
+(define-public DOUBLE-FLAT -4)
+(define-public THREE-Q-FLAT -3)
+(define-public FLAT -2)
+(define-public SEMI-FLAT -1)
 (define-public NATURAL 0)
-
+(define-public SEMI-SHARP 1)
+(define-public SHARP 2)
+(define-public THREE-Q-SHARP 3)
+(define-public DOUBLE-SHARP 4)
+(define-public SEMI-TONE 2)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; lily specific variables.
@@ -288,7 +293,7 @@ L1 is copied, L2 not.
         (fn (%search-load-path x))
 
         )
-    (if (ly:verbose)
+    (if (ly:get-option 'verbose)
        (format (current-error-port) "[~A]" fn))
     (primitive-load fn)))
 
index f6460e8aba976c596f68ed7dd0c5eb4d6877fdda..4ee3dfe0b5b36b7a2ad62c0bcdcbda5a5553162c 100644 (file)
@@ -495,8 +495,7 @@ Rest can contain a list of beat groupings
 (define (voicify-chord ch)
   "Split the parts of a chord into different Voices using separator"
    (let* ((es (ly:get-mus-property ch 'elements)))
-
-
+     
      (ly:set-mus-property!  ch 'elements
        (voicify-list (split-list es music-separator?) 0))
      ch
index 9d015948c11353e8c9be15b6bb823374c536b058..54ea6318e8aaf1dcb6407b2edf37b0297b852db9 100644 (file)
@@ -8,7 +8,7 @@
 
 
 (define-module (scm output-tex) )
-(debug-enable 'backtrace)
+(debug-enable 'backtrace)
 (use-modules (scm output-ps)
             (ice-9 regex)
             (ice-9 string-fun)
index f6b7e0e152b854d33088031068fa97bdc2fefb87..2211b25055bb557a2885a6f9fa79b7b51a77fdea 100644 (file)
@@ -1544,6 +1544,9 @@ def conv (str):
        
        str =re.sub ("\\(ly:make-pitch *([0-9-]+) *([0-9-]+) *([0-9-]+) *\\)", sub_alteration, str) 
 
+
+       str = re.sub ("ly:verbose", "ly:get-option 'verbose", str)
+
        m= re.search ("\\\\outputproperty #([^#]+)[\t\n ]*#'([^ ]+)", str)
        if m:
                sys.stderr.write (\
@@ -1553,10 +1556,19 @@ Please hand-edit, using
   \applyoutput #(outputproperty-compatibility %s '%s <GROB PROPERTY VALUE>)
 
 as a substitution text.""" % (m.group (1), m.group (2)) )
-               raise FatalConversionError
+               raise FatalConversionError ()
+
+       if re.search ("ly:(make-pitch|ly:pitch-alteration)", str):
+               sys.stderr.write (
+"""The alteration field of Scheme pitches was multiplied by 2
+to support quarter tone accidentals. Please edit ly:make-pitch and
+ly:pitch-alteration calls by hand""")
+               raise FatalConversionError ()
        
        return str
-conversions.append (((1,9,7), conv, 'use symbolic constants for alterations, remove \\outputproperty'))
+conversions.append (((1,9,7), conv,
+                    '''use symbolic constants for alterations,
+remove \\outputproperty, move ly:verbose into ly:get-option'''))