def parseFile(self, fp, number=None): from music21.noteworthy import binaryTranslate as noteworthyBinary self.stream = noteworthyBinary.NWCConverter().parseFile(fp)
def parseData(self, nwcData): from music21.noteworthy import binaryTranslate as noteworthyBinary self.stream = noteworthyBinary.NWCConverter().parseString(nwcData)