Jim Newton wrote
> I will make some small changes in the FiguredBass related classes in order
> to figure out what it is I need.
> I don't need write access.  Mainly I need to iterate over the annotated
> figures associated with a chord/note.  At each iteration I need to access
> enough information to generate playback events.
> 
> I believe all that is missing is a way to iterate.  I.e., I either need an
> eachItem function to allow me to pass a visitor function (eachItem would
> call the visitor once for each FiguredBaseItem), or I need the array or a
> copy of it so I can iterate myself.

You already can do what you want to do, either in plug-ins or in core code,
through the text property of the FiguredBass element: split it at each
newline and you'll have the contents of each FiguredBassItem (I agree that a
direct access to the FiguredBassItem's would make things simpler, but
without compromising the control that the parent FiguredBass has over them,
though).

If I may, however, it unclear to me how you could generate reasonably
meaningful playback events from the B.c. figures; the basic difference
between the 'early' and the 'late' stages of B.c. in the meaning of sharp
and flat and the gradual emergence of the natural (to put it simply) can be
probably coped with. But the under-notated (for our 'modern' feelings) B.c.
in most of the XVIII c. music is hard to realize automatically, without a
repertoire of the common patterns of the different times and areas, and
without analysing in some depth the *following* chords or measures; both
tasks are far from trivial to implement in an algorithm within a general
notation programme.

If you have reached some breakthrough overcoming these difficulties, would
you mind sharing it?

Thanks,

Maurizio



--
View this message in context: 
http://dev-list.musescore.org/programmatic-access-of-figured-bass-tp7579343p7579369.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to