step_signvector {musicMCT} | R Documentation |
Specify a scale's step pattern with a sign vector
Description
Rather than calculate the full sign vector from the "modal color" hyperplane arrangement, sometimes it's advantageous to use a sign vector that reflects only the pairwise comparisons on a scale's steps. This function does that.
Usage
step_signvector(set, ineqmat = NULL, edo = 12, rounder = 10)
Arguments
set |
Numeric vector of pitch-classes in the set |
ineqmat |
Specifies which hyperplane arrangement to consider. By default (or by
explicitly entering "mct") it supplies the standard "Modal Color Theory" arrangements
of |
edo |
Number of unit steps in an octave. Defaults to |
rounder |
Numeric (expected integer), defaults to |
Value
A vectors of signs, -1
, 0
, and 1
, corresponding to the step-related
hyperplanes in the defined ineqmat
.
Examples
step_signvector(sc(7, 35)) # Half the length of a full sign vector for heptachords:
signvector(sc(7, 35))