Using the chosen method to measure distance, determines how far
apart two scales are in voice-leading space.
Usage
vl_dist(
set_1,
set_2,
method = c("taxicab", "euclidean", "chebyshev", "hamming"),
rounder = 10
)Arguments
- set_1, set_2
Numeric vectors of pitch-classes in the sets. Must be of same length.
- method
What distance metric should be used? Defaults to
"taxicab"but can be"euclidean","chebyshev", or"hamming".- rounder
Numeric (expected integer), defaults to
10: number of decimal places to round to when testing for equality.
