get_f_min¶
- sonipy.get_f_min(f_max, cents_per_value, v_min, v_max)¶
This function takes in a y value max and min, a maximum frequency and a y scale parameter in units of cents/y value, and returns the minimum frequency that fits to such a scale. Cents are a logarithmic unit of tone intervals (https://en.wikipedia.org/wiki/Cent_(music)).
- Parameters
- f_maxfloat
Maximum frequency.
- cents_per_valuefloat
A y scale parameter in units of cents/y value.
- v_minfloat
Minimum y value.
- v_maxfloat
Maximum y value.
- Returns
- float
Minimum frequency.