lilypond-user
[Top][All Lists]
Advanced

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

Re: Drum writing...is there a way to save and recall custom commands?


From: RandomLilyPondUser
Subject: Re: Drum writing...is there a way to save and recall custom commands?
Date: Tue, 17 Feb 2009 10:13:55 -0800 (PST)

Thanks, that worked!  I am new at lilypond, so sorry for the basic questions
(I did browse the documentation, btw), but could somebody give me a quick
crash course in variables, for example, instead of the final sn hit being a
quarter note (sn4), say I wanted to make it a variable to change, so writing
\snflam16 would change the final note to a 16th note, \snflam8 would change
the final note to an 8th note, etc.  Could somebody write out that code
snippet so I could deduce the usage?


Toine Schreurs wrote:
> 
> You have to add drummode.
> 
> snflam = \drummode {
>   \override Stem #'length = #4
>   \acciaccatura {sn8}
>   \revert Stem #'length
>   sn4
> } 
>> Thanks, I've tried using these variables, but the file won't build, I get
>> a
>> C:/Users/Master/Desktop/Drum Scores/test.ly:14:15: error: syntax error,
>> unexpected STRING
>> \acciaccatura {
>>                sn8}
>> 
>> C:/Users/Master/Desktop/Drum Scores/test.ly:16:0: error: syntax error,
>> unexpected STRING
> 
> Toine Schreurs
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Drum-writing...is-there-a-way-to-save-and-recall-custom-commands--tp22043421p22063074.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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