In 1.3, to list the measures in the order they are played it was possible to use Cursor and pass an argument so it follows the repeats. See http://musescore.org/fr/plugin-development/cursor-object -> expandRepeat.
The constructor and the property "_expandrepeat" are listed in cursor.h in the current master. Unfortunately, the code to make it work is missing. lasconic 2014-09-02 16:03 GMT+02:00 Jörn Eichler <[email protected]>: > Hi! > > It should be simple to expose a property like Measure.no or similar to get > the measure number. > > I don't have any knowledge about repeat lists. But since RepeatList seems not > to be derived from QObject it could be tricky to expose it. > > Maybe you can be more specific about the last two points: > The current tick position is already exposed. And I don't understand > where/how/why you would want to set the tick position. > > heuchi > > Maybe you can clarify a bit more what exactly you need or want to do: > > Am 02.09.2014 um 15:19 schrieb Stéphane Groleau <[email protected]>: > >> Personally, for the plugin I'm working on (listing the measures with >> according to repeat list), what I'd need to have access to is : >> • The measure number (variable _no) >> • The repeat list >> • The current tick position >> • Possibility to set the current tick position >> This might imply to expose the current ScoreView object. >> >> vgStef > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Mscore-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mscore-developer ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Mscore-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mscore-developer
