plugins: impossible to set the played duration of a chord
I tried to set the duration of chords from a plug-in. I achieved to modify the displayed duration (correct head type), but not the played duration.
I seems that the displayed duration (head) is set from the property "durationType", while the played duration is set from "duration". The latter is defined by a fraction with properties "numerator" and "denominator". But these properties cannot be written to - I get a read-only error when trying so.
I append the plug-in that I used - the critical lines are commented-out (lines 176ff)