Safe Haskell | None |
---|

Serial (ordered) pitch-class operations on `Z12`

.

- tn :: Z12 -> [Z12] -> [Z12]
- invert :: Z12 -> [Z12] -> [Z12]
- tni :: Z12 -> [Z12] -> [Z12]
- mn :: Z12 -> [Z12] -> [Z12]
- m5 :: [Z12] -> [Z12]
- t_related :: [Z12] -> [[Z12]]
- ti_related :: [Z12] -> [[Z12]]
- rti_related :: [Z12] -> [[Z12]]
- tmi_related :: [Z12] -> [[Z12]]
- rtmi_related :: [Z12] -> [[Z12]]
- rrtmi_related :: [Z12] -> [[Z12]]
- tn_to :: Z12 -> [Z12] -> [Z12]
- invert_ix :: Int -> [Z12] -> [Z12]
- tmatrix :: [Z12] -> [[Z12]]

# Documentation

invert :: Z12 -> [Z12] -> [Z12]Source

Invert *p* about *n*.

invert 6 [4,5,6] == [8,7,6] invert 0 [0,1,3] == [0,11,9]

ti_related :: [Z12] -> [[Z12]]Source

T/I-related sequences of *p*.

length (ti_related [0,1,3]) == 24 length (ti_related [0,3,6,9]) == 24 ti_related [0] == map return [0..11]

rti_related :: [Z12] -> [[Z12]]Source

R/T/I-related sequences of *p*.

length (rti_related [0,1,3]) == 48 length (rti_related [0,3,6,9]) == 24

tmi_related :: [Z12] -> [[Z12]]Source

T/M/I-related sequences of *p*.

rtmi_related :: [Z12] -> [[Z12]]Source

R/T/M/I-related sequences of *p*.

rrtmi_related :: [Z12] -> [[Z12]]Source

r/R/T/M/I-related sequences of *p*.

# Sequence operations

tn_to :: Z12 -> [Z12] -> [Z12]Source

Variant of `tn`

, transpose *p* so first element is *n*.

tn_to 5 [0,1,3] == [5,6,8]