scamp_extensions.composers.barlicity.harmonicity

scamp_extensions.composers.barlicity.harmonicity(p: int, q: int) float[source]

Returns a number representing the simplicity (and thereby a kind of consonance) of an interval with frequency ratio of p/q.