dyad_roughness_seth | R Documentation |
Gets the roughness of a dyad according to the model of Sethares (1993).
dyad_roughness_seth(
f1,
f2,
a1,
a2,
ensure_f1_is_less_than_f2 = TRUE,
min_amplitude = TRUE,
a = 3.5,
b = 5.75,
s1 = 0.021,
s2 = 19,
d_star = 0.24
)
f1 |
Frequency of tone 1 (Hz) (numeric vector). |
f2 |
Frequency of tone 2 (Hz) (numeric vector). Must be greater than |
a1 |
amplitude of tone 1 (numeric vector). |
a2 |
amplitude of tone 2 (numeric vector). |
ensure_f1_is_less_than_f2 |
If |
min_amplitude |
If |
a |
Numeric scalar parameter, optimised to 3.5 (default) in Sethares (1993). |
b |
Numeric scalar parameter, optimised to 5.75 (default) in Sethares (1993). |
s1 |
Numeric scalar parameter from Sethares (1993). |
s2 |
Numeric scalar parameter from Sethares (1993). |
d_star |
Numeric scalar parameter from Sethares (1993). |
Numeric vector of roughnesses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.