View source: R/model-corpdiss.R
corpus_dissonance | R Documentation |
Calculates a corpus-based estimate of the dissonance of a sonority.
corpus_dissonance(x, table = incon::popular_1_pc_chord_type)
x |
Sonority to analyse.
This should be an object created by the |
table |
Corpus dissonance table, as created by
|
By default, dissonance is estimated from chord prevalences in the McGill Billboard dataset \insertCiteBurgoyne2011incon. The dataset's contents were sampled from the Billboard magazine's United States "Hot 100" chart between 1958 and 1991, and transcribed by expert musicians. See '?hcorp::popular_1' for more details.
By default,
the dissonance estimation treats chords as transposition invariant,
and chord pitches as octave-invariant,
but differentiates between different inversions of the same chord.
Different behaviour can be achieved by passing a custom corpus analysis
to the table
argument.
Dissonance estimate, as a numeric scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.