new Music21Object()
Base class for any object that can be placed in a music21.stream.Stream
.
- Source:
Properties:
Name | Type | Argument | Description |
---|---|---|---|
activeSite |
music21.stream.Stream |
<optional> |
hardlink to a |
classSortOrder |
number | Default sort order for this class (default 20; override in other classes). Lower numbered objects will sort before other objects in the staff if priority and offset are the same. |
|
duration |
music21.duration.Duration | the duration (object) for the element. (can be set with a quarterLength also) |
|
groups |
Array.<string> | An Array of strings representing group (equivalent to css classes) to assign to the object. (default []) |
|
isMusic21Object |
boolean | true |
|
isStream |
boolean | false |
|
offset |
number | offset from the beginning of the stream (in quarterLength) |
|
priority |
number | The priority (lower = earlier or more left) for elements at the same offset. (default 0) |