scamp_extensions.pitch.utilities.cents_to_ratio

scamp_extensions.pitch.utilities.cents_to_ratio(cents: Real) Real[source]

Given a number of cents, convert it to a corresponding frequency ratio. The first argument can optionally be a list, tuple, or iterator, in which case this is performed on each element.

Parameters:

cents – number of cents (e.g. 700 for a perfect fifth)