[...]Ideally the object would detect a time signature,[...]
[...]make sure it's been made "invisible"[...]
[...]and overlay it with[...]
One observation - What I meant by "make sure it's been made invisible" was that the object would modify the existing time signature to make it invisible, not detect one that is already invisible... I don't know if the API's will allow for this.
Eric, I notice with your version that the time sig. gets placed on every new system...
Not exactly. It has to accompany any actual time signature that is placed. The plugin code could be enhanced to support standard sizes on new printed systems after its first appearance.
t.Class = 'StaffSig'
This object can be used to draw a scaled version of a prior, usually hidden, time signature. This object should always be placed after the real time signature.
local function do_span(t) if nwc.ntnidx:find('next','user',userObjTypeName) then return nwc.ntnidx:indexOffset()-1,'items' end return 16384,'bars'end
local function do_audit(t) t.Class = nwc.ntnidx:find('prior','user',userObjTypeName) and 'Standard' or 'Span'end
Page created in 0.096 seconds with 24 queries.