3.2.26 chord-square-interface

A chord square in a chord grid.

User settable properties:

measure-division (number list)

A list representing what fraction of the measure length each chord name takes in a chord square. The list is made of exact numbers between 0 and 1, which should add up to 1. Example: a measure c2 g4 g4 results in '(1/2 1/4 1/4).

measure-division-chord-placement-alist (association list (list of pairs))

An alist mapping measure divisions (see the measure-division property) to lists of coordinates (number pairs) applied to the chord names of a chord square. Coordinates are normalized between -1 and 1 within the square.

measure-division-lines-alist (association list (list of pairs))

An alist mapping measure divisions (see the measure-division property) to lists of lines to draw in the square, given as 4-element lists: (x-start y-start x-end y-end).

Internal properties:

chord-names (array of grobs)

Array of chord names.

This grob interface is used in the following graphical object(s): ChordSquare.


LilyPond – Internals Reference v2.23.11 (development-branch).