]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/no-notation/midi-volume-equaliser.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / no-notation / midi-volume-equaliser.ly
index a9e35c61c3f8404a68646942907defc6ffa3b619..a8dbfa745104e1639a6d4eb511e6424ad4faca6e 100644 (file)
@@ -1,5 +1,5 @@
 #(ly:set-option 'old-relative)
-\version "2.1.28"
+\version "2.7.39"
 \header {
 texidoc = "@cindex Midi Volume Equaliser
 The full orchestra plays a notes, where groups stop one after
@@ -21,7 +21,7 @@ Override, see scm/midi.scm:
 
 %}
 
-flauti = \notes \relative c' {
+flauti =  \relative c' {
   \set Staff.midiInstrument = #"flute"
   \set Staff.instrument = #"2 Flauti"
   \set Staff.instr = #"Fl."
@@ -29,7 +29,7 @@ flauti = \notes \relative c' {
   c1\f R1*10
 }
 
-oboi = \notes \relative c' {
+oboi =  \relative c' {
   \set Staff.midiInstrument = #"oboe"
   \set Staff.instrument = #"2 Oboi"
   \set Staff.instr = #"Ob."
@@ -37,7 +37,7 @@ oboi = \notes \relative c' {
   R1*1 c1\f R1*9
 }
 
-clarinetti = \notes \relative c' {
+clarinetti =  \relative c' {
   \set Staff.midiInstrument = #"clarinet"
   \set Staff.instrument = #"Clarinetti"
   \set Staff.instr = #"Cl"
@@ -45,7 +45,7 @@ clarinetti = \notes \relative c' {
   R1*2 c1\f R1*8
 }
 
-fagotti = \notes \relative c' {
+fagotti =  \relative c' {
   \set Staff.midiInstrument = #"bassoon"
   \set Staff.instrument = #"2 Fagotti"
   \set Staff.instr = #"Fg."
@@ -54,7 +54,7 @@ fagotti = \notes \relative c' {
   R1*3 c1\f R1*7
 }
 
-corni = \notes \relative c' {
+corni =  \relative c' {
   \set Staff.midiInstrument = #"french horn"
   \set Staff.instrument = #"Corni"
   \set Staff.instr = #"Cor"
@@ -62,7 +62,7 @@ corni = \notes \relative c' {
   R1*4 c1\f R1*6
 }
 
-trombe = \notes \relative c' {
+trombe =  \relative c' {
   \set Staff.midiInstrument = #"trumpet"
   \set Staff.instrument = #"Trombe"
   \set Staff.instr = #"Tp."
@@ -71,7 +71,7 @@ trombe = \notes \relative c' {
   R1*5 c1\f R1*5
 }
 
-timpani = \notes \relative c' {
+timpani =  \relative c' {
   \set Staff.midiInstrument = #"timpani"
   \set Staff.instrument = #"Timpani"
   \set Staff.instr = #"Timp."
@@ -79,7 +79,7 @@ timpani = \notes \relative c' {
   R1*6 c1\f R1*4
 }
 
-violinoI = \notes \relative c' {
+violinoI =  \relative c' {
   \set Staff.midiInstrument = #"violin"
   \set Staff.instrument = #"Violino I "
   \set Staff.instr = #"Vl. I "
@@ -87,7 +87,7 @@ violinoI = \notes \relative c' {
   R1*7 c1\f R1*3
 }
 
-violinoII = \notes \relative c' {
+violinoII =  \relative c' {
   \set Staff.midiInstrument = #"violin"
   \set Staff.instrument = #"Violino II "
   \set Staff.instr = #"Vl. II "
@@ -95,7 +95,7 @@ violinoII = \notes \relative c' {
   R1*8 c1\f R1*2
 }
 
-viola = \notes \relative c' {
+viola =  \relative c' {
   \set Staff.midiInstrument = #"viola"
   \set Staff.instrument = #"Viola"
   \set Staff.instr = #"Vla."
@@ -104,7 +104,7 @@ viola = \notes \relative c' {
   R1*9 c1\f R1*1
 }
 
-violoncello = \notes \relative c' {
+violoncello =  \relative c' {
   \set Staff.midiInstrument = #"cello"
   %\set Staff.midiInstrument = #"contrabass"
   \set Staff.instrument = #"Violoncello"
@@ -117,39 +117,39 @@ violoncello = \notes \relative c' {
 
 \score {
   << 
-    \context StaffGroup ="legni" << 
-      \context Staff ="flauti" \flauti
-      \context Staff ="oboi" \oboi
-      \context Staff ="clarinetti" \clarinetti 
-      \context Staff ="fagotti" \fagotti 
+    \new StaffGroup = "legni" << 
+      \new Staff = "flauti" \flauti
+      \new Staff = "oboi" \oboi
+      \new Staff = "clarinetti" \clarinetti 
+      \new Staff = "fagotti" \fagotti 
     >>
-    \context StaffGroup ="ottoni" <<
-      \context Staff ="corni" \corni
-      \context Staff ="trombe" \trombe
+    \new StaffGroup = "ottoni" <<
+      \new Staff = "corni" \corni
+      \new Staff = "trombe" \trombe
     >>
-    \context StaffGroup ="timpani" <<
-      \context Staff ="timpani" \timpani
+    \new StaffGroup = "timpani" <<
+      \new Staff = "timpani" \timpani
      { 
        \skip 1 
        % Hmm: this forces a staff-bracket, that's good!
        % However, I can't find where is decided on staff-bracket yes/no
      }
     >>
-    \context StaffGroup ="archi" <<
-      \context GrandStaff ="violini" <<
-        \context Staff ="violino1" \violinoI
-        \context Staff ="violino2" \violinoII
+    \new StaffGroup = "archi" <<
+      \new GrandStaff = "violini" <<
+        \new Staff = "violino1" \violinoI
+        \new Staff = "violino2" \violinoII
       >>
-      \context Staff ="viola" \viola
-      \context Staff ="violoncello" \violoncello
+      \new Staff = "viola" \viola
+      \new Staff = "violoncello" \violoncello
     >>
   >>
 
-  \paper {
-       \paperSixteen
+  \layout {
+       \layoutSixteen
        indent=100.0\mm
-       linewidth=150.0\mm
-    \translator {
+       line-width=150.0\mm
+    \context {
       \RemoveEmptyStaffContext
     }
   }