Skip to main content

Module iterator

Module iterator 

Source
Expand description

What music21’s stream.iterator decides that is not about Python objects: how OffsetIterator groups what it walks.

Functions§

offset_runs
The runs of neighbours standing at one offset, as music21’s OffsetIterator hands them out: each run the positions of elements next to one another in walking order whose offsets are equal. Two elements at one offset with another between them are two runs.