Previous topic

music21.timespans

Next topic

music21.timespans.node

Table Of Contents

Table Of Contents

This Page

music21.timespans.analysis

Tools for performing voice-leading analysis with timespans.

Horizontality

class music21.timespans.analysis.Horizontality(timespans=None)

A horizontality of consecutive elementTimespan objects.

It must be initiated with a list or tuple of Timespan objects.

Horizontality read-only properties

Horizontality.hasNeighborTone

Is true if the Horizontality contains a neighbor tone.

Horizontality.hasNoMotion

Is true if the Horizontality contains no motion (including enharmonic restatings)

Horizontality.hasPassingTone

Is true if the Horizontality contains a passing tone; currently defined as three tones in one direction.

(TODO: better check)