mutwo.parameters.commas

Abstractions of tuning commas

The tuning commas are helpful for mutwo.parameters.pitches.JustIntonationPitch which owns a commas attribute. By default mutwo makes use of commas defined by the Helmholtz-Ellis JI Pitch Notation.

Classes:

Comma(ratio)

A tuning comma.

CommaCompound(prime_to_exponent, prime_to_comma)

Collection of tuning commas.

class Comma(ratio)[source]

Bases: object

A tuning comma.

Attributes:

ratio

Parameters

ratio (quicktions.Fraction) –

property ratio: quicktions.Fraction
class CommaCompound(prime_to_exponent, prime_to_comma)[source]

Bases: Iterable[mutwo.parameters.commas.Comma]

Collection of tuning commas.

Attributes:

prime_to_exponent

property prime_to_exponent: Dict[int, int]