> [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.

Let's see, this saving takes 17 key strokes instead of 
the original 15. :-)

    /Mats


Reply via email to