View source: R/make_white_ineqmat.R
| make_black_ineqmat | R Documentation |
The "black" hyperplane arrangement compares a set's scale degrees
individually to the pitches of edoo(card) (where card is the
number of notes in set). This primarily has the purpose of attending
to the overall transposition level of a set. Most applications of Modal
Color Theory assume transpositional equivalence, but occasionally it
is useful to relax that assumption. Sum class (Straus 2018,
\Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.1215/00222909-7127694")}) is a natural way to track
this information, but the "black" arrangements do so qualitatively
in the spirit of modal color theory. make_black_ineqmat() returns only
the inequality matrix for the "black" arrangement, while make_gray_ineqmat()
for convenience combines the results of make_white_ineqmat() and make_black_ineqmat().
make_black_ineqmat(card)
make_gray_ineqmat(card)
card |
The cardinality of the scale(s) to be studied |
A card by card+1 inequality matrix (for make_black_ineqmat()) or
the result of combining white and black inequality matrices (in that order) for
make_gray_ineqmat().
make_white_ineqmat()
# The set (1, 4, 7)'s elements are respectively below, equal to, and
# above the pitches of edoo(3).
test_set <- c(1, 4, 7)
signvector(test_set, ineqmat=make_black_ineqmat(3))
# The result changes if you transpose test_set down a semitone:
signvector(test_set - 1, ineqmat=make_black_ineqmat(3))
# The results from signvector(..., ineqmat=make_black_ineqmat) can
# also be calculated with coord_to_edo():
sign(coord_to_edo(test_set))
sign(coord_to_edo(test_set - 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.