Hi list,

Can someone please help me with this piece of code? I'm trying to create measures with polymeters but the line breaking isn't working, and generally the result is a complete mess. The full code is in the attachment.

Many thanks,
Peter


--
//=============================
-> Peter O'Doherty
-> http://www.peterodoherty.net
-> [email protected]
-> https://joindiaspora.com/people/70716
//=============================

\version "2.14.2"
\language "english"

\header {
   tagline = ##f
}
  
indent = #0
#(set-global-staff-size 24)
#(set-default-paper-size "a4" 'landscape)

trumpetC =  {
  \clef "treble"
  #(set-accidental-style 'dodecaphonic)
\tempo 8=60
\time 2/8
\times 4/6 { \times 8/11 { f'16[\ppp f'32.\p fqs'16\pp } eqf'32\mf \times 2/3 { r64 fqs'32\pp } dqs'16\mf eqs'8\fff] } |

\time 4/8
\times 4/7 { fs'8[\mp eqf'16\mf e'16\mp e'8.\f } \times 4/5 { e'16\mf fqs'16\mp e'8.\fff] } | \break
 	
\time 3/8
\times 3/4 { \times 6/7 { fqs'32.[\mf ftqs'16\mp ftqs'16 fs'32.\mf } fqs'16 fqs'16\mp ds'8.\fff] }|

\time 2/8
\times 2/3 { eqf'16[\mf e'32\p } f'8\fff fs'64\ppp e'64\pp fqs'32\mf]  |

\time 2/8
\times 4/7 { f'8.[\ff f'8\mf eqf'8] } |
 	
\time 1/8
\times 16/19 { \times 2/3 { r128[ f'64.\p eqs'32\ppp eqs'32\p } r64 r64 ftqs'128\pp \times 4/5 { r64 ftqs'64.\pp } r64] }|

\time 7/16
c''32[\mp eqs'32. c'32. eqs'16.\fff \times 3/5 { eqs'32\p e'8\mf } ctqs'8\ff]  |
  
%}
}

trombone =  {
\clef "bass"
#(set-accidental-style 'dodecaphonic)

\time 2/8
\times 8/13 { eqf'16[\mf eqf'32\mp \times 2/3 { r32 r64 ftqs'32.\pp } \times 4/5 { r16 ftqs'32\p ctqs'16\ppp } ctqs'8\fff] }|

\time 4/8
dqs'4\fff dqs'4\ff  |

\time 3/8
\times 3/4 { dqs'8.[\fff f'16\mf cs'16 ds'16 cqs'16 r32. ds'64\p] }|

\time 2/8
\times 8/9 { cqs'16[\mp r8 \times 4/5 { d'32\ppp c'64\pp dtqs'32\ppp } r32] }  |

r4 |

\time 1/8
\times 8/9 { r32[ \times 4/7 { aqs'64\ppp r64. r64 } r128 \times 8/13 { r64. f'64.\ppp c''32 ctqs'64.\pp } dtqs'128]\ppp }|
  
\time 7/16
cs'32[\mp dqs'16.\f \times 3/4 { dtqs'8\fff } dtqs'16. r8] |

}

drum = {
  
\time 3/16
c'16[ c'16 \times 2/3 { r64. r32  r128 r32] } |

\time 2/8
c'16[  	\times 8/9 { r64.  r128  r128  c'32 } \times 3/4 {	c'32  c'32 }	c'64  	\times 8/9 {r64  r64  r128 r32]} |

\time 3/16
\times 6/11 { c'16.[  c'16  c'8  c'16] } |

\time 5/16
c'32[  	c'16  c'16  	\times 8/11 { 	c'32  c'32  c'16  c'32. } \times 1/2 { 	c'16]} |

\time 3/8
c'16[ 	\times 2/3 { 	c'16. } 	c'16.  c'16  	\times 6/11 { 	c'16  c'16  r32 r64] 	} |

\time 4/8
\times 8/13 { \times 8/11 { c'16[  c'16  c'8  c'16.} c'8 \times 2/3 { c'8  c'16  c'8. } 	c'8.]	} |

\time 3/8
\times 6/11 {\times 4/7 { c'8.  c'4} \times 2/3 { r32[  r32  c'16.  c'8 } \times 2/3 { c'16  c'8  c'16.  c'16.] } } |
}

trumpetCPart = \new Staff \with {
  midiInstrument = "trumpet"
} \trumpetC

trombonePart = \new Staff \with {
  midiInstrument = "trombone"
} \trombone

drumsPart = \new Staff \with {
} \drum

\score {
  <<
    \trumpetCPart
    \trombonePart
    \drumsPart
  >>
}
\layout {
  \context {
    \Score
    \remove "Timing_translator"
    \remove "Default_bar_line_engraver"
    \remove "Bar_number_engraver"
    \override SpacingSpanner #'uniform-stretching = ##t
    \override SpacingSpanner #'strict-note-spacing = ##t
    proportionalNotationDuration = #(ly:make-moment 1 64)
  }
  \context {
    \Staff
    \consists "Timing_translator"
    \consists "Default_bar_line_engraver"
  }
  \context {
    \Voice
    \remove "Forbid_line_break_engraver"
    tupletFullLength = ##t
  }
}

\midi {
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to