|
From: | Mats Bengtsson |
Subject: | Re: tamtam mode? |
Date: | Fri, 18 Mar 2005 13:17:15 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
You didn't say what version of LilyPond you use, so this answer assumes that you have version 2.4. I have no idea on exactly what symbols and layout you want for your notes, but here is an example that might be useful as a starting point for your own experiments. ----------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%% % This first section of the file % contains general definitions that % you may want to put in a separate % file and include in your scores using % \include "mydefinitions" drumPitchNames = #'( (t . lefttenor) (T . righttenor) (b . bass) (B . rightbass) ) #(define mydrums '( (lefttenor default "marcato" 2) (righttenor default #f 1) (bass cross "open" 0) (rightbass xcircle "stopped" -1) )) \layout{ \context{ \Score drumStyleTable = #(alist->hash-table mydrums) } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The remainder of the file contains example scores \score{ \new DrumStaff \drummode { t4 T2 b4 | B2 t } } % All notes on a single line: \score{ \new RhythmicStaff \drummode { t4 T2 b4 | B2 t } } ----------------------------------------------------- It seems that this part of LilyPond isn't that well documented, but the method to define your own drumStyleTable is described at http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Percussion-staves.html#Percussion-staves and http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond-internals/DrumVoice.html#DrumVoice In addition, I redefined the list of available "notes" in the variable drumPitchNames. The possible values for the notehead style and script, respectively can be found at http://lilypond.org/doc/v2.4/input/regression/out-www/collated-files.html#note-head-style.ly and http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Articulations.html#Articulations /Mats Quintijn Hoogenboom wrote:
Hi list,I am new to lilypond, and am a bit dizzled by the possibilities.Maybe someone can help me to start a new mode: "tamtam", having as basic notes t (left tenor) T (left tenor) (or lt and rt if capitals are not allowed), b (bass) B (right bass), s (slap), S (right slap), d (demi slap), D (right demi slap).Can I define these somewhere and use them afterwards?I want to print tamtam rythms first on a one staff score. But I want also have the possibility (like klavarscribo) to print vertical, reading from bottom to top. Would something like this be possible with lilypond, or do I not have to think about that? Thanks, Quintijn (I am working on the "heritage" of my African djembe teacher, to publish his rythms) _______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: address@hidden WWW: http://www.s3.kth.se/~mabe =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |