(some of the) missing objects/properties in the plugin framework

• Jan 31, 2019 - 12:12
Reported version
3.0
Type
Plugins
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

Quite some things that used to be available to plugins in v2 no longer are in v3.
The following are those I already noticed I'm going to need to port the plugins I have written.

  • Score.parts
  • Part (at least needs Part.startTrack and Part.endTrack)
  • Note.accidental
  • Note.accidentalType
  • Accidental (at least needs Accidental.hasBracket and Accidental.color)

I just began porting, so I'll most probably find more things, which I'm going to add here.


Comments

Status active PR created
Reported version 3.x-dev 3.0

I'm working on this and have the non-GUI versions of the courtesy accidental plugins working again. It is most probably not yet finished, but I've created a pull request PR to see, if I'm doing things right.

In reply to by Bacchushlg

The chordToNotes plugin uses Segment.annotations which would be provided by my PR.

However, I don't think a plugin can add chords currently. You might want to open a new issue for that, since some discussion will be needed, how to provide this functionality to plugins. (Adding back the old way of constructing Chord elements in the plugin or extending the Cursor).

In reply to by heuchi

Maybe it's better, if you create this issue, because you can better define what will be needed?!

Just to tell about one difficulty that I had (and was unable to solve):
The note heads that I created have the correct duration, but the chord duration (played) was not correct. I found no way how to solve this.