]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Sun, 24 Mar 2002 20:12:36 +0000 (20:12 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:12:36 +0000 (20:12 +0000)
flower/include/interval.hh
input/test/abbrev.ly

index f33bcb5aa06de2366420bc17a585306aa78771a7..9468fae4871024d00e32720a364ebfdfa3aa696b 100644 (file)
@@ -30,9 +30,12 @@ struct Interval_t {
 //  T center() { return (left + right) / T(2);}
   // and can't handle this either
   // anyone want to make a bug report?
+  // better make one soon, egcs in rh5.1 barfs on this!
   T center() {
     T two (2);
-    return (left + right) / two;
+//    return (left + right) / two;
+    T result ((left + right) / two);
+    return result;
   }
   void translate (T t) {
     left += t;
@@ -75,6 +78,11 @@ struct Interval_t {
     left =m;
     right = M;
   }
+  Interval_t<T> &operator -= (T r) {
+    *this += -r;
+    return *this;
+  }
+
   Interval_t<T> &operator += (T r) {
     left += r;
     right +=r;
index c57aeabdae631c3ca62431a6b6c30e9d38a7898f..2cb2d7b1410dba76dbe4b9efad43f006ec554d5c 100644 (file)
@@ -1,17 +1,20 @@
 
-\score{\melodic {
+\score{
+       \melodic \transpose c'''{
+               \stemup
+%              \stemdown
                % default abbreviations
                c4 c4: c4:32 c4: c4 c2.
-               'a1
-               'a1:32
-               'c4:8 c': 'c4:16 c':
-               [ 'c8:16 'c 'c 'c ] [ a a a a ]
-               [ 'c 'f 'b e ] 
-               [ 'c16:32 'c 'c 'c ] [ a16:32 a a a ]
+               a,1
+               a,1:32
+               c,4:8 c': c,4:16 c':
+               [ c,8:16 c, c, c, ] [ a a a a ]
+               [ c, f, b, e ] 
+               [ c,16:32 c, c, c, ] [ a16:32 a a a ]
 %              % there's still some hairy beam bugfixing todo
-               [ c'8:16 g d 'a ]
-               [ c'16:32 g d 'a ]
-               [ 'c8:32 'f 'b e ]
+               [ c'8:16 g d a, ]
+               [ c,8:32 f, b, e ]
+%              [ c'16:32 g d a, ]
                [:32 c16 e]
                [:32 c16 e]
                [:16 c8 e]
@@ -19,4 +22,8 @@
                [:16 e2 g]
                [:16 e1 g]
 
-}}
+       }
+       \paper{
+               castingalgorithm = \Wordwrap;
+       }
+}