View source: R/model-stolz15.R
smooth_log_periodicity | R Documentation |
This function computes a chord's smoothed logarithmic periodicity, after \insertCiteStolzenburg2015;textualincon.
smooth_log_periodicity(x, d = 0.011)
## Default S3 method:
smooth_log_periodicity(x, d = 0.011)
## S3 method for class 'pi_chord'
smooth_log_periodicity(x, d = 0.011)
x |
Sonority to analyse.
This will be coerced to an object of class |
d |
(numeric scalar): Maximal allowed error in the algorithm's interval approximation step, expressed as a fraction of the original interval. The default value, 0.011, corresponds to 'Rational Tuning II' in Stolzenburg's paper. |
A numeric scalar identifying the chord's periodicity. High values mean a higher period length, lower periodicity, and lower consonance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.