lilypond-user
[Top][All Lists]
Advanced

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

Re: Defining event classes


From: Nathan Ho
Subject: Re: Defining event classes
Date: Tue, 31 Mar 2015 22:46:13 -0700

On Tue, Mar 31, 2015 at 4:41 PM, David Nalesnik <address@hidden> wrote:
You need to add 'event' to types for your event to register.  (I'd have to investigate why.)  Also, 'music-event' should be replaced with 'general-music'.

#(define bang-types
   '(
     (BangEvent
      . ((description . "BANG!")
         (types . (general-music event bang-event))
         ))
     ))

Hope this helps!
David


Thanks David, that works perfectly. I hope that there'll be an easy, forward-compatible way to do all this in the future.

Regards,
Nathan

reply via email to

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