[Top][All Lists]

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

Looking inside markup

From: Peter Chubb
Subject: Looking inside markup
Date: Thu, 24 Apr 2008 14:17:40 +1000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 MULE XEmacs/21.4 (patch 21) (Educational Television) (i486-linux-gnu)

On my quest for better MIDI, I'm trying to deal with alterations on a
turn.  How do I look `inside' a markup sequence?

What I've tried is:
      (let* ((t (ly:music-property e 'text)))
        ((equal? t (markup #:line (#:flat)))
          (set! alteration -1/2))
        ((equal? t (markup #:line (#:sharp)))
          (set! alteration 1/2))))

but this never matches.

The music looks something like:

Dr Peter Chubb  peterc AT           ERTOS within National ICT Australia

reply via email to

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