lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: positionnement d'une mesure


From: Philippe Hezaine
Subject: Re: positionnement d'une mesure
Date: Sun, 17 Jan 2010 16:50:33 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20091021)

Philippe Hezaine a écrit :


J'ai commencé à me pencher sur une édition du Puzzle pour un batteur
réel, ce qui est, d'après ce que je vois de ton fichier, le but que tu
recherches, sinon tu n'employerai pas de parenthèses ou d' indications
d'accents.
A cette adresse tu trouveras un premier essai pour traiter ce problème.

http://philippe.hezaine.free.fr/spip.php?article56

Le modèle proposé divise en deux voix distinctes les pieds et les mains.
Peut-être que cela correspond beaucoup mieux à ta demande.
Toute critique ou proposition sur ce sujet est bien sûr la bienvenue.


M'sieur, j'ai une critique à faire:
il n'y a pas de fichier .ly qui accompagne le pdf!
Eh oui... mais c'est bien sûr...
Ci-joint le modèle pour cet essai.

Ayez du bonheur.


%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"
%    This file is part of Le Puzzle du Batteur/The Drummer's Gigsaw.           %
%                                                                              %
%    Le Puzzle du Batteur/The Drummer's Gigsaw is free software: you can       %
%    redistribute it and/or modify it under the terms of the GNU General Public%
%    License as published by the Free Software Foundation, either version 3 of %
%    the License, or (at your option) any later version.                       %
%                                                                              %
%    Le Puzzle du Batteur/The Drummer's Gigsaw is distributed in the hope that %
%    it will be useful, but WITHOUT ANY WARRANTY; without even the implied     %
%    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the %
%    GNU General Public License for more details.                              %
%                                                                              %
%    You should have received a copy of the GNU General Public License along   %
%    with Le Puzzle du Batteur/The Drummer's Gigsaw.                           %
%    If not, see <http://www.gnu.org/licenses/>.                               %
%                                                                              %
%   Copyright © 2008, 2009   Philippe HARDY                                    
%
%                                                                              %
%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"

\version "2.12.0"

% \include "0-mydrums-style2.ly"

 #(ly:set-option 'delete-intermediate-files #t)

  \paper {
%   between-system-padding = 8\mm
%   between-system-space = 25\mm
%    ragged-bottom = ##f
%    ragged-last-bottom = ##f
        }

    \header {
      title = "Pour un Batteur réel - MODÈLE"

    copyright =  \markup { \fontsize #3  \bold  \override #'(box-padding . 1.0) 
\override #'(baseline-skip . 2.7) \box  \column { \center-align { \fontsize #-2 
\line {  • \hspace #0.5 Copyleft: cette oeuvre est libre, vous pouvez la 
copier, la diffuser et la modifier. }  \line { \fontsize #-2 \line { Créé 
avec LilyPond 2.12.1   \with-url #"http://www.LilyPond.org"; \line { \with-color 
#blue \fontsize #-1 www. \hspace #-1.0 \with-color #blue LilyPond \hspace #-1.0 
\with-color #blue \fontsize #-1 .org } par Ph. Hardy } } \line { \fontsize #-4 
\line {Copyleft 12/2008: selon les termes de GNU GPLv3 or later, voir: \hspace 
#-0.5 \with-url #"http://www.gnu.org/licenses/";  \with-color #blue  
http://www.gnu.org/licenses/  } } } } } 

    tagline =  \markup { \fontsize #3  \bold   \override #'(box-padding . 1.0) 
\override #'(baseline-skip . 2.7) \box  \column { \center-align { \fontsize #-2 
\line {  • \hspace #0.5 Copyleft: cette oeuvre est libre, vous pouvez la 
copier, la diffuser et la modifier. }  \line { \fontsize #-2 \line { Créé 
avec LilyPond 2.12.1  \with-url #"http://www.LilyPond.org"; \line { \with-color 
#blue \fontsize #-1 www. \hspace #-1.0 \with-color #blue LilyPond \hspace #-1.0 
\with-color #blue \fontsize #-1 .org } par Ph. Hardy } } \line { \fontsize #-4 
\line {Copyleft 12/2008: selon les termes de GNU GPLv3 or later, voir: \hspace 
#-0.5 \with-url #"http://www.gnu.org/licenses/";  \with-color #blue  
http://www.gnu.org/licenses/  } } } } }

                }


mains = \drummode { 

  \time 4/4
  \tempo 4 = 120

        r8 cymra8 r8 cymra8 r8 cymra8 r8 cymra8 |

        }

pieds = \drummode { 

        bd8 s8 s8 bd8 bd8 s8 s8 s8 |

        }


 \score {
    <<

% Increase the size of the bar number by 2
        \override Score.BarNumber #'font-size = #4
% Draw a circle round the following bar number(s)
        \override Score.BarNumber #'stencil = #(make-stencil-circler 0.1 0.30 
ly:text-interface::print)

      \new DrumStaff \with {
%       drumStyleTable = #(alist->hash-table mydrums-style2)
        \override DrumStaff #'TimeSignature #'style = #'()
        fontSize = #1
        \override StaffSymbol #'staff-space = #(magstep 1)

                        }
      <<
        \set Staff.instrumentName = "Drums"
        \set Staff.shortInstrumentName = ""
        \set Staff.midiInstrument = ""
        \override Score.MetronomeMark #'extra-offset = #'(-10 . 2.5)
        \new DrumVoice { \voiceOne \mains }
        \new DrumVoice { \voiceTwo \pieds }
        \override Staff.NoteCollision #'merge-differently-headed = ##t
        \override Staff.NoteCollision #'merge-differently-dotted = ##t
        \revert Rest #'direction
        \revert MultiMeasureRest #'staff-position
      >>
    >>


  \layout {  }

  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 120 4)
              }
         }
   }



reply via email to

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