Functions for translating music21 objects and MuseDataHandler instances. Mostly, these functions are for advanced, low level usage. For basic importing of MuseData files from a file or URL to a Stream, use the music21 converter module’s parse() function.
Given an museDataWork object, build into a multi-part Score with metadata.
This assumes that this MuseDataHandler defines a single work (with 1 or fewer reference numbers).
if the optional parameter inputM21 is given a music21 Stream subclass, it will use that object as the outermost object. However, inner parts will always be made Part objects.