Given the varieties of a subset type returned by subset_varieties()
, subset_multiplicities()
counts how many times each one occurs in the scale. These are the multiplicities of the subsets
in the sense of Clough and Myerson (1985)'s
result "structure yields multiplicity" for well-formed scales.
Arguments
- subsetdegrees
Vector of integers indicating the generic shape to use, e.g.
c(0, 2, 4)
for tertian triads in a heptachord. Expected to begin with0
and must have length > 1.- set
The scale to find subsets of, as a numeric vector
- edo
Number of unit steps in an octave. Defaults to
12
.- rounder
Numeric (expected integer), defaults to
10
: number of decimal places to round to when testing for equality.- display_digits
Integer: how many digits to display when naming any non-integral interval sizes. Defaults to 2.
Value
Numeric vector whose names indicate the k
varieties of the subset type and whose
entries count how often each variety occurs.