.. _moduleMusedata.translate:

music21.musedata.translate
==========================

.. WARNING: DO NOT EDIT THIS FILE: AUTOMATICALLY GENERATED.  Edit the .py file directly

.. module:: music21.musedata.translate

Functions for translating music21 objects and :class:`~music21.musedata.base.MuseDataHandler` instances. Mostly, these functions are for advanced, low level usage. For basic importing of MuseData files from a file or URL to a :class:`~music21.stream.Stream`, use the music21 converter module's :func:`~music21.converter.parse` function. 


.. function:: museDataWorkToStreamScore(museDataWork, inputM21=None)

    Given an museDataWork object, build into a multi-part :class:`~music21.stream.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 :class:`~music21.stream.Part` objects. 

.. function:: musedataPartToStreamPart(museDataPart, inputM21=None)

    Translate a musedata part to a :class:`~music21.stream.Part`. 

