lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Note spacin with proportionalNotationDuration


From: Valentin Villenave
Subject: Re: Note spacin with proportionalNotationDuration
Date: Tue, 10 Jul 2007 14:30:22 +0200

2007/7/10, Bainos <address@hidden>:
I have a problem in notes spacing..
I would like to have every first note in 1/4 to be under each other

I can't understand why you would need to use
proportionalNotationDuration; if you want your satves to be
synchronized, why don't you put them in a same \score block using <<
and >> ?

Here's what I would do:

\layout {
  \context {
    \Score
    \remove "System_start_delimiter_engraver"
%    proportionalNotationDuration = #(ly:make-moment 1 32) %not needed anymore
  }
}
sng = \drummode { <\parenthesize sn >16}

MyVoiceOne = {\voiceOne
     \override Beam #'positions = #'(5 . 5)         %  Is it really
     \override Rest #'extra-offset =  #'(0 . -2.0)  %  necessary?
}

Aup = \drummode {
      \set DrumStaff.instrumentName =  "A "
              \override Script #'extra-offset = #'( 0.6 . 0.0 )
              tomfh16^^ crashcymbal crashcymbal sn^^
              crashcymbal^^ sn sn crashcymbal^^
              \once \override TextScript #'extra-offset = #'( +12 . -2 )
              \once \override LaissezVibrerTie  #'extra-offset = #'(2 . 6)
              \once \override LaissezVibrerTie  #'control-points =
#'((0 . -4) (8 . 0) (16 . 0) (24 . -4))
              sn2:32^\markup{\small \italic Press}
              \laissezVibrer
}

Bup = \drummode {
      \set DrumStaff.instrumentName =  "B "
              \override Script #'extra-offset = #'( 0.6 . 0.0 )
              tomfh16^^ crashcymbal crashcymbal sn^^
              crashcymbal^^ sn sn crashcymbal^^
              tommh^^ \sng tomml^^ \sng
              tomfh^^ \sng \sng sn^^
}

Cup = \drummode {
      \set DrumStaff.instrumentName =  "C"
              \override Script #'extra-offset = #'( 0.6 . 0.0 )
              tomfh16^^ crashcymbal crashcymbal sn^^
              crashcymbal^^ sn sn crashcymbal^^
              \once \override Stem #'length = #10
              tomfh4^^
              \once \override Stem #'length = #13
              bd4^^_\markup{*}

}

%%% Here comes the main \score block

\score{ <<
\new DrumStaff {<<
        \new DrumVoice {  \MyVoiceOne  \Aup }
}

\new DrumStaff {<<
        \new DrumVoice {  \MyVoiceOne  \Bup }
}

\new DrumStaff {<<
        \new DrumVoice {  \MyVoiceOne  \Cup }
}

}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]