Luca Fascione <l.fasci...@gmail.com> writes: > Ok, so. I tested this eventChords idea, and it seems to behave as if this > a-4 > was entered as this > <a>-4 > but unfortunately I actually need this > <a-4> > how can I achieve that?
Uh, yes. How about #(define (my-chordify music) (map-some-music (lambda (m) (if (music-is-of-type? m 'event-chord ) m (and (music-is-of-type? m 'note-event) (make-music 'EventChord 'elements (list m))))) music)) toplevel-music-functions = (cons my-chordify toplevel-music-functions) then? I guess that next you will be telling me that you want to map a-4-p into <a-4>-p instead of <a-4-p> right? -- David Kastrup