Hi.

I'm struggling some with writing a music function for rests.  Basically I
want to be able to write something like

 \rel-rest( b', 1)

which would place a dotted quarter rest on the indicated pitch (the
equivalent of

  b'1\rest

I'm starting with

rel-rest =
#(define-music-function (pit dur) (ly:pitch? ly:duration?)
  #{
    #pit#dur\rest
  #})

but that gives me an error.

Any suggestions?

-- 

-- 
-mark.

Reply via email to