[EMAIL PROTECTED] writes:
> > For example
> > [ g8 r16. g32 ][ g'8 r16. g32 ][ fis8 r16. fis32][ f8 r16. f32]
> > ... and so on, for about 50 bars. It is exhausting to type so much,
> > and quite error prone. It would be very useful to implement macros, like
> > this:
> > rhythm1(x,y) = [ x8 r16. y32 ] % if the two notes are different
> > rhythm1(x) = [ x8 r16. x32 ] % ... or if they are the same
> > and you could say simply
> > \rhythm1(g) \rhythm1(g',g) \rhythm1(fis) ... etc
how about
bla = \notes { [ c8 r16. c32 ]}
then cut & paste
\transpose @ \bla
many times, and replace @ with your favorite pitch.
--
Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html