lilypond-user
[Top][All Lists]
Advanced

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

The "Gigsaw": about polymetric


From: Philippe Hezaine
Subject: The "Gigsaw": about polymetric
Date: Fri, 05 Feb 2010 12:01:45 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20100124)

Hi all,

For the upcoming upgrade release the Drummer's "Gigsaw" will be becoming
an polymetric editor for drums and percussions (with midi velocities).
I'm currently writing a few demos and in the following one i'm wondering
if I can get rid of this issues:

1. The output is OK but I have many Avertissement : échec du contrôle de
mesure (barcheck) in the console because of the whole rests. Of course
the Gigsaw's process follows the same way. I read the answer of Mats
Bengtsson a few days ago about the same problem with polymetric bars.
But may be I'm missing something in the layout or the \score. If you
have time can you look at this file?
Sorry that isn't a minimal exemple. Deliberately the bar check are
commented. In this case it doesn't matter. In case I'm not wrong
wouldn't be an example for a feature request?

2. As said in Lilypond's title of MY-SONG I need to display more
correctly the music. Simply play with set-global-staff-size.
Is there an another way to improve this display?
In this case \bar"||" and \break do nothing (it's an extreme solution
for the Gigsaw which aims to be the most user-friendly) and you could
easily write an harder example with 4 Staff where the bars aren't
simultaneous.
Thanks to Lilypond!
Note: Lilypond version of the Gigsaw: 2.12.2
I have a lot of fun with it.
If someone is interested I can join the resulting midi file processes
with velocities in a next post.
--
        Phil.
Superbonus-Project (Site principal) <http://superbonus.project.free.fr>

Superbonus-Project (Plate-forme d'échange):
<http://philippe.hezaine.free.fr>







%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"%"
%    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.2"

 \include 
"/home/phil/Desktop/Drummer-s-Gigsaw-Experimental/Drummer-s-Gigsaw/Le-grenier/0-mydrums-style2.ly"

 #(ly:set-option 'delete-intermediate-files #t)
 #(set-global-staff-size 16) % Pour changer la taille des portées.

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

    \header { 
      title = "MY SONG-demo-03 (affichage - display: staff-size 16)"

    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/  } } } } }

           }
        pipeSymbol = \bar"|"
pulse = \drummode {  
        
%%%%%%%%%%%%%%%%%%%%%%%%%%% DRUMS AND PERCUSSIONS 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DON'T CHANGE ANYTHING ABOVE THIS LINE 
UNLESS YOU KNOW WHAT YOU DO! %%%%%

  \time 2/2
  \tempo 4 = 232

% Intro 2 mesures
        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        \bar"||"

% 1ère partie

  \time 2/2

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %| 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 %|

        <bd_\sf hhc_\sf cymca_\f>8 r8 r4 r2 %|


% 2ème partie

 \time 4/4 
 \tempo 4 = 116

% ROCK-BASE mes188
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\f hhc_\sf>8 r8 hhc8_\sf 
bd8_\fff %|

% ROCK-BASE mes190
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\mf hhc_\sf>8 bd8_\fff 
<bd_\f hhc_\sf>8 bd8_\fff %|

% ROCK-BASE mes189
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\f hhc_\sf>8 bd8_\ffff 
hhc8_\sf bd8_\ff %|

% ROCK-BASE mes190
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\mf hhc_\sf>8 bd8_\fff 
<bd_\f hhc_\sf>8 bd8_\fff %|

% ROCK-BASE mes188
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\f hhc_\sf>8 r8 hhc8_\sf 
bd8_\fff %|

% ROCK-BASE mes191
        <bd_\ffff hhc_\sf>8 bd8_\ff hhc8_\sf bd8_\fff <sna_\mf hhc_\sf>8 
<bd_\fff tomh_\sf>8 <bd_\ff tommh_\sf>8 <bd_\fff cymcb_\fff>8 %|

% ROCK-BASE mes189
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\f hhc_\sf>8 bd8_\ffff 
hhc8_\sf bd8_\ff %|

% ROCK-BASE mes190
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\mf hhc_\sf>8 bd8_\fff 
<bd_\f hhc_\sf>8 bd8_\fff %|

% ROCK-BASE mes189
        <bd_\ffff hhc_\sf>8 r8 hhc8_\sf bd8_\fff <sna_\f hhc_\sf>8 bd8_\ffff 
hhc8_\sf bd8_\ff %|






% 3ème partie

  \time 2/2
  \tempo 4 = 232

        <bd_\sf hhc_\sf tomfl_\fff cymcb_\mf>8 r8 hhc8_\ff r8 hhc8_\fff r8 
hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 r4 r2 

        R1*4

  \time 4/8

        R2

  \time 2/2

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 r4 r2 

        R1*4 %|

  \time 4/8

        R2


% 4ème partie

  \time 4/4 
 \tempo 4 = 68 

        <bd_\sf hhc_\sf tomfl_\fff cymca_\f>8 r8 r8 bd8_\mf bd8_\f r8 r8 bd8_\mf

  \time 3/4 

        tomfl8_\fff r8 r8 r8 bd8_\f r8

        tomfl8_\fff r8 r8 r8 bd8_\f r8

  \time 5/4 

        tomfl8_\fff r8 r8 r8 r8 bd8_\mf bd8_\f r8 r8 bd8_\mf 

        tomfl8_\fff r8 r8 r8 r8 bd8_\mf bd8_\f r8 r8 bd8_\mf

  \time 4/4 

        tomfl8_\fff r8 r8 bd8_\mf bd8_\f r8 r8 bd8_\mf

  \time 2/2
  \tempo 4 = 232

        <bd_\sf hhc_\sf tomfl_\fff cymcb_\mf>8 r8 hhc8_\ff r8 hhc8_\fff r8 
hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8 

        <bd_\sf hhc_\sf>8 r8 hhc8_\ff r8 hhc8_\fff r8 hhc8_\ff r8

        <bd_\sf hhc_\sf>8 


%%%%%% DON'T CHANGE ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU DO! 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FIN DES DRUMS 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

        }

%%%%%%%%%%%%%%%%% Pour utilisateur averti. For advanced user. %%%%%%%%%%%%%%%%%
% pour améliorer l'affichage polyrythmique. (tools for improve the display 
with polymetrics) : 
% \bar "||"  
%\break

Polyun = \drummode {

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Polyrythmie -1- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DON'T CHANGE ANYTHING ABOVE THIS LINE 
UNLESS YOU KNOW WHAT YOU DO! %%%%%%

  \time 4/4
 % \tempo 4 = 232

% Intro 2 mesures
        R1*2 %|

        \bar"||"

% 1ère partie

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 wbl8_\pp r8 

  \time 4/4

        sna8_\f r8 r4 r2


% 2ème partie

 \time 6/8
 % \tempo 4 = 116

        bol16_\f cgho16_\mf cgl16_\mp cgl8_\f cgho16_\p boh16_\mf cgho16_\mp 
bol8_\mf r8 %|

        bol8_\mf cgho16_\mf cgl16_\f cgl8_\ff cgho8_\mp boh16_\f cgho16_\mp 
bol8_\mf %|

        bol16_\ff cgho16_\ff cgl16_\f cgl8_\ff cgho16_\mp boh16_\f cgho16_\mf 
bol8_\f r8 %|

        bol8_\ff cgho16_\ff cgl16_\f cgl8_\ff cgho8_\mp boh16_\f cgho16_\mf 
bol8_\f %|

        bol8_\mf cgho16_\mf cgl16_\f cgl8_\ff cgho8_\mp boh16_\f cgho16_\mp 
bol8_\mf %|

        bol16_\ff cgho16_\ff cgl16_\f cgl8_\ff cgho16_\mp boh16_\f cgho16_\mf 
cgho16_\mf bol8_\f cgho16_\mf %|

        bol8_\ff cgho16_\ff cgl16_\f cgl8_\ff cgho8_\mp boh16_\f cgho16_\mf 
bol8_\f %|

        bol16_\f cgho16_\mf cgl16_\mp cgl8_\f cgho16_\p boh16_\mf cgho16_\mp 
bol8_\mf r8 %|

        bol16_\f cgho16_\mf cgl16_\mp cgl8_\f cgho16_\p boh16_\mf cgho16_\mp 
bol8_\mf r8 %|

        bol8_\mf cgho16_\mf cgl16_\f cgl8_\ff cgho8_\mp boh16_\f cgho16_\mp 
bol8_\mf %|

        bol8_\mf cgho16_\mf cgl16_\f cgl8_\ff cgho8_\mp boh16_\f cgho16_\mp 
bol8_\mf %|

        bol16_\ff cgho16_\ff cgl16_\f cgl8_\ff cgho16_\mp boh16_\f cgho16_\mf 
cgho16_\mf bol8_\f cgho16_\mf %|




% 3ème partie
  \time 7/8
 % \tempo 4 = 232

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

  \time 7/8

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 


% 4ème partie

  \time 4/4 
 % \tempo 4 = 68 

        sna8_\f hhc8_\fff hhc8_\ff hhc8_\f hhc8_\ffff hhc8_\fff hhc8_\ff hhc8_\f

  \time 3/4 

        hho8_\ffff hhc8_\fff hhc8_\ff hhc8_\f hhc8_\ffff hhc8_\fff

        hho8_\ffff hhc8_\fff hhc8_\f hhc8_\ffff hhc8_\ff hhc8_\f

  \time 5/4 

        hho8_\ffff hhc8_\fff hhc8_\ff hhc8_\f hhc8_\ffff hhc8_\fff hhc8_\ff 
hhc8_\f hhc8_\fff  hhc8_\f 

        hho8_\ffff hhc8_\fff hhc8_\ff hhc8_\f hhc8_\ffff hhc8_\fff hhc8_\ff 
hhc8_\f hhc8_\ffff hhc8_\f

  \time 4/4 

        hho8_\ffff hhc8_\fff hhc8_\ff hhc8_\f hhc8_\ffff hhc8_\fff hhc8_\ff 
hhc8_\f


  \time 7/8
 % \tempo 4 = 232 

        sna8_\f r8 r4 wbl8_\pp r4

  \time 6/8

        tomh8_\f r4 wbl8_\pp r4

  \time 5/8

        toml8_\f r4 wbl8_\pp r8 

  \time 4/8

        tomfl8_\f r8 guil8_\mp r8 

        sna8_\pp r8 sna8_\f r8



%%%%% DON'T CHANGE ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU DO! 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FIN DU POLYMETRIC 01 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

             }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Polydeux = \drummode {

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Polyrythmie -2-  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DON'T CHANGE ANYTHING ABOVE THIS LINE 
UNLESS YOU KNOW WHAT YOU DO! %%%%%%

  \time 4/4
 % \tempo 4 = 232

% Intro 2 mesures
        R1

        R1

        \bar "||"

% 1ère partie

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 7/8

        R1*7/8

  \time 6/8

        R2.

  \time 5/8

        R1*5/8

  \time 4/8

        R2

  \time 4/4

        R1


% 2ème partie

 \time 4/4 
 % \tempo 4 = 116

        R1*9


% 3ème partie

  \time 7/8
 % \tempo 4 = 232

        cgho8_\sf r4 r2

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

  \time 7/8

        R8*7

  \time 6/8

        R2.

  \time 5/8

        R8*5

  \time 4/8

        R2

% 4ème partie

 \time 4/4 
 % \tempo 4 = 68 

        cgl8_\sf cghm8_\sf r8 cgho16_\ffff cgho16_\sf cgl8_\sf cghm8_\sf r8 
cgho16_\sf cgho16_\sf 

        cgl8_\fff cghm8_\fff r4 cgl8_\fff cghm8_\fff r4 

        cgl16_\f r8 cgho16_\fff cgho8_\mf cgl16_\mf cgl16_\ff cgl16_\f r8 
cgho16_\ff cgho8_\f cgl16_\mp cgl16_\ff 

        cghm8_\fff cghm8_\f cghm16_\ff cghm16_\ff r16 cghm16_\fff r16 
cghm16_\fff r16 cghm16_\fff r16 cghm16_\fff r8 

        cgho8_\sf r16 cgho16_\fff cghm8_\ff cgl8_\ff r8 cgl8_\fff cgl8_\f r8

        cgho8_\fff r16 cgho16_\mp cgho16_\ff cgho16_\ff cgl8_\mp r2 
 

  \time 7/8
 % \tempo 4 = 232

        cgho8_\sf r4 r2

  \time 6/8

        R2.

  \time 5/8

        R8*5 %|

  \time 4/8

        R2


%%%%% DON'T CHANGE ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU DO! 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FIN DU POLYMETRIC 02 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

             }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Polytrois = \drummode {

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Polyrythmie -3-  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DON'T CHANGE ANYTHING ABOVE THIS LINE 
UNLESS YOU KNOW WHAT YOU DO! %%%%%%

  \time 4/4
 % \tempo 4 = 232

% Intro 2 mesures
        R1 %|

        R1 %|

        \bar "||"

% 1ère partie

  \time 7/8

        R1*7/8 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 4/4

        R1 %|


% 2ème partie

 \time 4/4 
 % \tempo 4 = 116

        R1*9 %|


% 3ème partie

  \time 7/8
 % \tempo 4 = 232

        bol8_\f r4 r2 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|


% 4ème partie

 \time 4/4 
 % \tempo 4 = 68 

        boh8_\f boh16_\mf boh16_\mp bol16_\mp bol16_\mf r16 boh16_\mf r16 
boh16_\mf r16 bol16_\p bol16_\ppp boh16_\pp boh8_\ff %|

        bol8_\f r16 boh16_\mf \times 2/3 { r16 r16 bol16_\mf } r16 bol16_\f 
\times 2/3 { r16 r16 bol16_\f } r16 boh16_\mp boh8_\f bol16_\mf bol16_\mp %|

        bol16_\f r8 boh16_\mp r16 bol16_\mf r16 bol16_\f r8 bol16_\mf boh16_\mp 
boh8_\mp bol16_\f bol16_\f %|

        bol8_\f r16 boh16_\mf \times 2/3 { r16 r16 bol16_\mf } r16 bol16_\f 
\times 2/3 { r16 r16 bol16_\f } r16 boh16_\mp boh8_\f bol16_\mf bol16_\mp %|

        boh8_\f boh16_\mf boh16_\mp bol16_\mp bol16_\mf r16 boh16_\mf r16 
boh16_\mf r16 bol16_\p bol16_\ppp boh16_\pp boh8_\ff %|

        bol16_\f r8 boh16_\mp r16 bol16_\mf r16 bol16_\f r8 bol16_\mf boh16_\mp 
boh8_\mp bol16_\f bol16_\f %|


  \time 7/8
 % \tempo 4 = 232 

        bol8_\f r4 r2 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|




%%%%% DON'T CHANGE ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU DO! 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FIN DU POLYMETRIC 03 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

             }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Pour utiliser notes réelles et Program Change %%%%%%%%%%%%%%%%

melodiques = \relative c {
        \set Staff.midiInstrument = "standard kit" % or "melodic tom"  
"celesta"  "vibraphone"... etc... for instance.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%  MELODIQUES  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CHANGE ONLY PROGRAM CHANGE ABOVE THIS 
LINE UNLESS YOU KNOW WHAT YOU DO! %%%

  \time 2/2
%  \tempo 4 = 232

% Intro 2 mesures
        R1 %|

        R1 %|

        \bar"||"

% 1ère partie

  \time 2/2

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|

        R1 %|


% 2ème partie

 \time 4/4 
% \tempo 4 = 116

        R1*9 %|



% 3ème partie

%  \time 2/2
%  \tempo 4 = 232

%       r4 g''8_\sf r8 r2 %|

%       r4 g8_\sf r8 r2 %|

%       r4 g8_\sf r8 r2 %|

%       r4 g8_\sf r8 r2 %|

%       r4 g8_\sf r8 r2 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1*4 %|

%  \time 4/8

%       R2 %|

%  \time 2/2

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1 %|

%       R1*4 %|

%  \time 4/8

%       R2 %|




% 3ème partie

  \time 7/8
 % \tempo 4 = 232

        r4 cis'''8_\sf r2 %|

  \time 6/8

        r4 cis8_\sf r4 r8 %|

  \time 5/8

        r4 cis8_\sf r4 %|

  \time 4/8

        R2 %|

  \time 7/8

        r4 cis8_\sf r2 %|

  \time 6/8

        r4 cis8_\sf r4 r8 %|

  \time 5/8

        r4 cis8_\sf r4 %|

  \time 4/8

        R2 %|

  \time 7/8

        r4 a8_\sf r2 %|

  \time 6/8

        r4 b8_\sf r4 r8 %|

  \time 5/8

        r4 c8_\sf r4 %|

  \time 4/8

        R2 %|

  \time 7/8

        r4 a8_\sf r2 %|

  \time 6/8

        r4 b8_\sf r4 r8 %|

  \time 5/8

        r4 c8_\sf r4 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|

  \time 7/8

        R8*7 %|

  \time 6/8

        R2. %|

  \time 5/8

        R8*5 %|

  \time 4/8

        R2 %|


% 4ème partie

  \time 4/4 
% \tempo 4 = 68 

        R1 %|

  \time 3/4 

        R2. %|

        R2. %|

  \time 5/4 

        R4*5 %|

        R4*5 %|

  \time 4/4 

        R1 %|

  \time 2/2
 % \tempo 4 = 232

        R1 %|

        R1 %|

        R1 %|




 %%%% DON'T CHANGE ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU DO! 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FIN DES MELODIQUES 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

             }


 \score {
    <<
% Pour ne pas afficher les nuances sur la partition:
        \override Score.DynamicText #'transparent = ##t
%       \override Score.DynamicText #'stencil = ##f
% Increase the size of the bar number by 2
        \override Score.BarNumber #'font-size = #4
        \override Score.BarNumber #'X-offset = #0.0
% Draw a circle round the following bar number(s)
        \override Score.BarNumber #'stencil = #(make-stencil-circler 0.2 0.35 
ly:text-interface::print)
        \override Score.BarLine #'bar-size = #8

                        %%%%%%%%%%%%%%%%%%

        \new Staff
      <<

        \set Staff.instrumentName = "Melod"
        \set Staff.shortInstrumentName = "mlod"
        \new Voice { \melodiques }

        \set Staff.midiInstrument = "standard kit" % "timpani" "synth drum"...

        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 2.5)
      >>
                        %%%%%%%%%%%%%%%%%%

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

       }

     <<
        \set Staff.instrumentName = "Poly3"
        \set Staff.shortInstrumentName = "P3"
        \new DrumVoice { \Polytrois }

        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 2.5)
   >>
                        %%%%%%%%%%%%%%%%%%

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

       }

     <<
        \set Staff.instrumentName = "Poly2"
        \set Staff.shortInstrumentName = "P2"
        \new DrumVoice { \Polydeux }

        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 2.5)
   >>
                        %%%%%%%%%%%%%%%%%%

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

       }

      <<
        \set Staff.instrumentName = "Poly1"
        \set Staff.shortInstrumentName = "P1"
        \new DrumVoice { \Polyun }

        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 2.5)
   >>
                        %%%%%%%%%%%%%%%%%%
                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% le midi ne compile correctement que si je spécifie le midiInstrument

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

       }

      <<
        \set DrumStaff.instrumentName = "Drums"
        \set DrumStaff.midiInstrument = "standard kit"
        \override Score.MetronomeMark #'outside-staff-padding = 1
        \new DrumVoice { \pulse }
      >>
                        %%%%%%%%%%%%%%%%%%

    >>

  \layout {
        \context {
           \RemoveEmptyStaffContext
           \override VerticalAxisGroup #'remove-first = ##t
                }

        \context { 
          \DrumStaff
          \remove "Axis_group_engraver" 
          \override VerticalAxisGroup #'remove-empty = ##t
          \override VerticalAxisGroup #'remove-first = ##t
          \consists "Hara_kiri_engraver" 
        }

    \context { \Score
        \remove "Timing_translator"
        \remove "Time_signature_engraver"
        \remove "Default_bar_line_engraver"
%        \override SpacingSpanner #'uniform-stretching = ##t
%        \override SpacingSpanner #'strict-note-spacing = ##t
%        proportionalNotationDuration = #(ly:make-moment 1 64)
             }

    \context { \DrumStaff
        \consists "Timing_translator"
        \consists "Default_bar_line_engraver"
%        \consists "Bar_number_engraver"
%        \consists "Time_signature_engraver"
%        \remove "Time_signature_engraver"
%        \override SpacingSpanner #'uniform-stretching = ##t
%        \override SpacingSpanner #'strict-note-spacing = ##t
%        proportionalNotationDuration = #(ly:make-moment 1 64)
%        \remove Forbid_line_break_engraver
%        tupletFullLength = ##t
             }

%    \context { \DrumVoice
%        \consists "Timing_translator"
%        \consists "Default_bar_line_engraver"
%        \consists "Bar_number_engraver"
%        \consists "Time_signature_engraver"
%        \remove Forbid_line_break_engraver
%        tupletFullLength = ##t
%             }

    \context { \Staff
        \consists "Timing_translator"
        \consists "Default_bar_line_engraver"
        \consists "Time_signature_engraver"
             }
        }

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







reply via email to

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