johentsch / ms3

A parser for annotated MuseScore 3 files.
https://ms3.readthedocs.io
GNU General Public License v3.0
41 stars 3 forks source link

MSCX class API for creating score excerpts #91

Closed leobruneau closed 1 year ago

leobruneau commented 1 year ago

1) make_excerpt() : takes starting and ending (optional) measures and then creates an excerpt after retrieving corresponding globalkey and localkey information 2) extract_phrases() : calls make_excerpt() method for each pair of starting and ending measure corresponding to a phrase 3) extract_random_snippets() : takes as parameters number of snippets and snippet length to randomly create excerpts (calls the make_excerpt() method for each randomly generated pair)

leobruneau commented 1 year ago

Requested changes were met