Skip to main content

Module elements

Module elements 

Source
Expand description

Counting what a stream’s elements say: music21’s analysis.elements.

Functions§

attribute_count
How often each value of some property of a stream’s elements comes, in the order each value is first met: music21’s attributeCount, with the property a function of the element rather than the name of one, and None where the element has no such property – which is music21’s hasattr test.