Class: Music21Object

.base. Music21Object

new Music21Object()

Base class for any object that can be placed in a music21.stream.Stream.

Properties:
Name Type Argument Description
activeSite music21.stream.Stream <optional>

hardlink to a music21.stream.Stream containing the element.

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)

Source:

Extends

Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.