maelzel.scoring.quant: Quantization

Quantize durations to musical notation

The most important function here is quantize(), which treturns a QuantizedScore

Functions

quantize(parts[, struct, ...])

Quantize and render unquantized notations organized into parts

quantizeMeasure(events, timesig, ...)

Quantize notes in a given measure

quantizePart(part, struct, quantprofile[, ...])

Quantizes a sequence of non-overlapping events (a "part")

splitNotationAtMeasures(n, struct)

Split a Notation at measure boundaries

Classes

QuantizedScore(parts[, title, composer])

A QuantizedScore represents a list of quantized parts

QuantizedPart(struct, measures, quantprofile)

A UnquantizedPart which has already been quantized following a ScoreStruct

QuantizedMeasure(timesig, quarterTempo, ...)

A QuantizedMeasure holds a quantized tree

QuantizedBeat(divisions, assignedSlots, ...)

A QuantizedBeat holds notations inside a beat filling the beat

QuantizationProfile([nestedTuplets, ...])

A QuantizationProfile is used to configure quantization


Other Classes

Node

A Node is a container, grouping Notation and other Nodes under one time modifier