]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4294: Functions to display rhythmic information of a grob
authorDavid Nalesnik <david.nalesnik@gmail.com>
Wed, 18 Feb 2015 17:33:51 +0000 (11:33 -0600)
committerDavid Nalesnik <david.nalesnik@gmail.com>
Sat, 28 Feb 2015 14:43:15 +0000 (08:43 -0600)
commitd740612bb41672446873e307ba3b7c605be9b2f6
treed96b2ba0cc58c189e3eaaa3dcec38fc8f5adf712
parent6bdd77b7fa3279e73d0a24b6ac25633b27b0a495
Issue 4294: Functions to display rhythmic information of a grob

Convenient ways to return the musical position of a grob within
a score will be very helpful in debugging, among other uses.

This patch creates two Scheme functions which return the location
of a grob based on the associated paper column.  In the case of
spanners, this is the column of the left bound.

(1) grob::rhythmic-location returns a pair consisting of measure-number
and measure-position;

(2) grob::when returns a moment representing the global timestep.
scm/output-lib.scm