MObj

A MObj is an abstract class (it cannot be created as is) at the base of the class structure within maelzel.core. All classes defined in maelzel.core inherit from MObj.

A MObj can either be an event, like a Note or a Chord (both inherit from MEvent) or a container (a Chain, a Voice or a Score)

Any MObj can be played (play()), shown as notation (show()), saved as image, pdf, musicxml, lilypond or midi (write()).


maelzel.core.mobj Module

Functions

resetImageCache()

Reset the image cache.

Classes

MObj(dur[, offset, label, parent, ...])

This is the base class for all core objects.