예제 #1
0
def parseData(data):
    '''
    shortcut to :class:`~music21.humdrum.spineParser.HumdrumDataCollection`.
    Most users will call `converter.parse()` instead.
    '''
    hdf = spineParser.HumdrumDataCollection(data)
    hdf.parse()
    return hdf
예제 #2
0
def parseData(data):  # pragma: no cover
    '''
    shortcut to :class:`~music21.humdrum.spineParser.HumdrumDataCollection`.
    Most users will call `converter.parse()` instead.

    Deprecated v6. -- call converter.parse() instead.  To be removed v.7
    '''
    hdf = spineParser.HumdrumDataCollection(data)
    hdf.parse()
    return hdf