scamp_extensions.pitch.scale

Module containing classes for flexibly representing musical scales. This includes the PitchInterval class, for representing just and/or equal-tempered intervals; the ScaleType class, which represents a succession of intervals without specifying a starting point; and the Scale class, which combines a ScaleType with a starting reference pitch, and also allows for a choice between cyclical and non-cyclical.

Classes

PitchInterval(cents, ratio)

Represents an interval between two pitches.

Scale(scale_type, start_pitch[, cycle])

Class representing a scale starting on a specific pitch.

ScaleType(*intervals)

A ScaleType represents the intervallic relationships in a scale without specifying a specific starting point.