[Top][All Lists]

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

Re: lilypond - drumpitch adaptation

From: Rune Zedeler
Subject: Re: lilypond - drumpitch adaptation
Date: Wed, 27 Feb 2002 12:38:19 +0100 (MET)
User-agent: IMP/PHP IMAP webmail program 2.2.6

(cc'ing list as this might be relevant for other users)

Citat Latawiec Régis <address@hidden>:

> I am trying to use lilypond for african percussion transcription
> (djembe, dundun). To create new symbols, I added some new notes to the
> file you have written and I have 2 questions:

Okay, sounds nice.
You haven't mentioned which lilypond you use, so I assume 1.4.11 (latest stable

> 1/ I don't understand why there is 2 pitch definitions for one single
> note:

I understand that you don't understand.
I'll try and explain.

> * for the note definition and short name:
>       (acousticbassdrum bda   ,(make-pitch -3 6 0 ))

This pitch definition is the pitch that lilypond remembers internally. Every
time you enter a bda or a acousticbassdrum in your score, it translates to the
note (-3 6 0) which is a low 'b'.
It is also the pitch used in the midi output. - in GM the acoustic bassdrum IS
the low b.
> * for the note head:
>       (acousticbassdrum default       ,#f       ,(make-pitch -1 4 0))

This is the pitch that is typeset on the paper. I agree that it is a bit strange
that you have to specify the accidental (3rd number), - just leave it as 0 as
you are not interested in having any accidentals typeset in the paper output.
This pitch states that the acoustic bassdrum translates into the g below central
c. (-1 is the octave, and 4 is the note number. - you see that g is the 4th note
if you count from 0. 0 is the accidental. 1 would have meand g#, and -1 would
have meant gb)
Notice that the percussion clef behaves like a c clef - that is: Central c is
the middle line.

Even though you don't need midi output you still need two pitches because that
lilypond remembers a note ONLY by pitch, and you have to distinguish drums that
are typeset on the same line on the staff. I.e. you have to distinguish open 
closed highat even though they are both typeset in the upper space.

You shouldn't change the midi-pitch-definitions - just leave drum-pitch-names as
they are and then add the existing drums (the drums defined in drum-pitch-names)
to the definitions below.

> 2/ Do you know if it is possible to create new notehead drawings? 

Yes it is, but you have to "program" the note heads in the language called
metafont. In other words you cannot use a graphical editor - just like with
lilypond you have to type in the definition on your keyboard and then compile
the note heads using the program metafont.
You don't mention wheter you use Windows or Unix.
If you are running unix and have built lilypond yourself you can see the
definitions of the lilypond-noteheads in mf/

Which note-heads do you need?


P.S. don't hesitate to write again if you don't understand.

reply via email to

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