All the versions of this article: [English] [français]
In your terminal let’s go to MA-BASE.
cd "YOUR... /PATH... "/Drummer-s-Gigsaw/MA-BASE
The file wasn’t empty. Indeed it’s a basic demo, the Demo-01 from
Le-Grenier. Have you checked if the compile was right in your terminal? Essential.
You are in your "workroom". Open the pdf
and listen to the midi file. Tsss! All seems too flat! And with odd
Get the velocity values to the midi file.
In your console launch:
NOTE: After Lilypond’s compiles a GUI appears. For now double-clik on Exit
and answer by typing: n in your console.
Then look at MA-BASE. You’ve got two new midi file, including:
This time it’s a midi file with a clearer sound and velocities on each note!
Transform the demo.
Now you want to transform the demo. OK.
In MA-BASE open MY-SONG.ly
For instance to copy a bar, put your cursor on the empty line just above
% DUMMY-BASE mes37.
Click and drag to the end of the bar (end of line with %| )
Put your cursor on the empty line just above
\tempo 4 = 110.
and paste 3 or 4 times your bar. Save your file.
If it’s not already done in your terminal let’s go to MA-BASE.
Have you checked if the compile was right in your terminal? Essential.
If it’s not the case, don’t process further, it will be useless. Correct your
file. Help yourself with the messages at compile time, the pdf and the odd midi.
If you don’t succeed you’d better to read the Lilypond Documentation and
subscribe to its users mailing list.
This time you know the ritornello.
In your console launch:
Create your own song. Setup a new file.
Now you want to create your own song. OK.
Copy the blank file from Le-Grenier to MA-BASE. (First of all rename your old
MY-SONG, then rename MY-SONG-blank to MY-SONG. The file that you’re working on
always has to be named MY-SONG)
Import and arrange patterns
Go to the Bibliotheque , open Le-Puzzle-du-Batteur-DUMMY-BASE.ly
and pick-up new patterns of your choice from DUMMY-BASE to ... I stress pulse
"track" of MY-SONG.ly, not one another so far. (copy and paste) You can also
copy the comment
% DUMMY-BASE mes(num)
above your bar. So you would find it again inside a BASE. Sometimes usefull
when you want to add some ready-made variations of the same pattern later.
This time once again you know the ritornello.
In your console launch:
Evidently you could transform the existing patterns in your file or delete
them. But BE CAREFULL with the Lilypond syntax. In all cases while you’re
playing in your "workroom" the console is your friend.
Don’t change ANYTHING outside your work area unless you know what you do!
Warnings at the top, middle and bottom of MY-SONG.ly reminds it to you.
You can rename the resulting MY-SONG-TOTAL-RECALL+veloc.midi file whatever you
want ONLY after the whole process.
P.S.: Besides this one, if you want to go further there is three files MY-SONG-Demo.ly in Le-Grenier.
Whereas Demo-01 only uses pulse "track", the only one where you could write
chords in which case all velocities are taking in account, (up to 47
simultaneous instruments!), Demo-02 uses Polyun, Polydeux et Polytrois "tracks".
You have to notice there aren’t chords in these 3 new tracks. Indeed in the
’G’igsaw Poly tracks are not processed in the same way than pulse track.
Thus chords generate wrong velocities, these famous "siameses" notes we are
talking about below. Associate a Poly track with a monophonic instrument
or a singer: only one note at a time. (No "siamese" song!)
Demo-03 uses one extra melodiques track which requires to write it with real
notes. See: How to use the melodic track. (advanced users)
Same remarks applies with regard to Poly tracks.
If you write different time signatures in each track the pdf output might
become faulty. Indeed Lilypond doesn’t break end of lines except if there are
synchronous each other. To avoid this issue you’ll find in Demos some tricks.
First of all try to uncomment (set-global-staff-size) at the beginning of
MY-SONG.ly. In Demo-02, when agogos in Polyun track enlarge their bars
(4/4 => 5/4 => 6/4 => 7/4...) I deliberately divided up the bars. So end of
lines are in sync and I get a more readable pdf.
Demo-04-GNU-socket is an example of patterns built with superpositions of
"nolets". It’s an independence challenge for a real drummer, isn’t?
Copyright © 2008, 2009, 2010 Philippe HARDY.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version
1.3 or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file entitled "COPYING-GNU Free
Sur ce site, tous les fichiers audio de SUPERBONUS sont sous licence:
(On this site, all the audiofiles for SUPERBONUS are licensed under a:)
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
Le Puzzle du Batteur est sous licence GPLv3 or later. (http://www.gnu.org/licenses/)
The Drummer's "Gigsaw" is licensed under a GPLv3 or later License. (http://www.gnu.org/licenses/)