![]() ![]() close () # only create opus if multiple ref numbers # are defined if a number is given an opus will no be created if abcHandler. open ( fp ) # returns a handler instance of parse tokensĪbcHandler = af. If `number` is provided, and this ABC file defines multiple works with a X: tag, just the specified work will be returned. If more than one work is defined in the ABC data, a :class:`~` object will be returned otherwise, a :class:`~` is returned. ![]() _stream ) def parseFile ( self, fp, number = None ): '''Get MIDI data from a file path. definesReferenceNumbers (): # this creates an Opus object, not a Score object readstr ( strData, number = number ) # set to stream if abcHandler. ABCFile () # do not need to call open or closeĪbcHandler = af. Otherwise, a :class:`~` is returned.Īf = abc. If more than one work is defined in the ABC data, a ![]() Get ABC data, as token list, from a string representation. Score () def parseData ( self, strData, number = None ): ''' ''' def _init_ ( self ): # always create a score instance I've found this class but i don't know how to manage with it: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |