lilypond-user
[Top][All Lists]
Advanced

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

Re: Helper macros for music analysis


From: Jérôme Plût
Subject: Re: Helper macros for music analysis
Date: Thu, 1 Nov 2018 19:37:53 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Kalendis Novembribus MMXVIII scripsit Thomas Morley :
> Part of the problem is you use 'structure as a music-property without
> declaring it. As a consequence using the option -dcheck-internal-types
> makes the compilation fail.

This is why, in a previous iteration of this code, I used an invisible
articulation to hold the metadata (cf. my previous message on this
list; by the way, let me apologize for the triple posting, I was under
the impression that the sending had failed).

I just had a look at define-music-properties.scm -- I had not realized
that it was even possible to *declare* a music property. Adding these
lines makes my code compile even with -dcheck-internal-types:

(music-property-description 'structure markup? "structural markup")
(music-property-description 'harmony markup? "harmony markup")
(music-property-description 'motif-define markup? "motif name")

There are still a few warnings because of an invalid 'origin property,
but these would take quite a bit longer to fix (the correct location
object would need to be passed along a *long* chain of procedure
calls).

By the way, I have one more question: Given (on the Scheme side) a
list L of markup objects, I can build a column with
(make-column-markup L), but this column is left-aligned. How could I
make it right-aligned?



reply via email to

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