View source: R/model-har-2019.R
har_19_composite | R Documentation |
This function computes the consonance of a chord according to Harrison & Pearce's (in preparation) composite consonance model.
har_19_composite(x, chord_size = FALSE, num_harmonics = 11L, roll_off = 1)
x |
Chord to analyse; passed to |
chord_size |
(Boolean) Whether to include the chord size effect (see Details). |
num_harmonics |
(Integerish scalar)
Number of harmonics in each tone; passed to |
roll_off |
(Numeric scalar)
Harmonic roll-off rate; passed to |
The model combines several sub-models:
hutch_78_roughness
,
the roughness model of \insertCiteHutchinson1978;textualincon
(see incon::roughness_hutch
);
har_18_harmonicity
,
the harmonicity model of \insertCiteHarrison2018;textualincon
(see incon::pc_harmonicity
);
har_19_corpus
:
a corpus-based model of cultural familiarity
(Harrison & Pearce, in preparation)
(see incon::corpus_dissonance
).
This model uses the regression coefficients
provided in har_19_composite_coef
, with one caveat:
by default, the chord size effect is disabled,
because it's thought that this effect came from a confound
in the perceptual data of \insertCiteBowling2018;textualincon.
Estimated consonance, as a numeric scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.