Last chance! 50% off unlimited learning
Sale ends in
Uses Rahn's algorithm to calculate the best normal order for the transposition class represented by a given set. Reflects transpositional but not inversional equivalence, i.e. all major triads return (0, 4, 7) and all minor triads return (0, 3, 7).
tnprime(set, edo = 12, rounder = 10)
Numeric vector of same length as set
representing the set's
Tn-prime form
Numeric vector of pitch-classes in the set
Number of unit steps in an octave. Defaults to 12
.
Numeric (expected integer), defaults to 10
:
number of decimal places to round to when testing for equality.
tnprime(c(2, 6, 9))
tnprime(c(0, 3, 6, 9, 14), edo=16)
Run the code above in your browser using DataLab