jl_tonal_dissonance | R Documentation |
Computes tonal dissonance using the algorithm of \insertCiteJohnson-Laird2012;textualincon.
jl_tonal_dissonance(x)
## Default S3 method:
jl_tonal_dissonance(x)
## S3 method for class 'pc_set'
jl_tonal_dissonance(x)
x |
Sonority to analyse.
This will be coerced to an object of class |
Integer scalar identifying the chord's consonance rank, with higher values corresponding to increasing degrees of dissonance.
jl_tonal_dissonance(c(0, 4, 7))
jl_tonal_dissonance(c(0, 3, 7))
jl_tonal_dissonance(c(0, 3, 6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.