module Music.Theory.Tuning.Polansky_1985c where
import Music.Theory.Tuning.Type
ps5_jpr_r :: [[Rational]]
ps5_jpr_r :: [[Rational]]
ps5_jpr_r =
[[Rational
1, Rational
21forall a. Fractional a => a -> a -> a
/Rational
20, Rational
9forall a. Fractional a => a -> a -> a
/Rational
8, Rational
6forall a. Fractional a => a -> a -> a
/Rational
5, Rational
5forall a. Fractional a => a -> a -> a
/Rational
4, Rational
4forall a. Fractional a => a -> a -> a
/Rational
3, Rational
7forall a. Fractional a => a -> a -> a
/Rational
5, Rational
3forall a. Fractional a => a -> a -> a
/Rational
2, Rational
8forall a. Fractional a => a -> a -> a
/Rational
5, Rational
5forall a. Fractional a => a -> a -> a
/Rational
3, Rational
7forall a. Fractional a => a -> a -> a
/Rational
4, Rational
15forall a. Fractional a => a -> a -> a
/Rational
8]
,[Rational
1, Rational
21forall a. Fractional a => a -> a -> a
/Rational
20, Rational
9forall a. Fractional a => a -> a -> a
/Rational
8, Rational
6forall a. Fractional a => a -> a -> a
/Rational
5, Rational
5forall a. Fractional a => a -> a -> a
/Rational
4, Rational
4forall a. Fractional a => a -> a -> a
/Rational
3, Rational
7forall a. Fractional a => a -> a -> a
/Rational
5, Rational
3forall a. Fractional a => a -> a -> a
/Rational
2, Rational
8forall a. Fractional a => a -> a -> a
/Rational
5, Rational
5forall a. Fractional a => a -> a -> a
/Rational
3, Rational
7forall a. Fractional a => a -> a -> a
/Rational
4, Rational
15forall a. Fractional a => a -> a -> a
/Rational
8]
,[Rational
1, Rational
33forall a. Fractional a => a -> a -> a
/Rational
32, Rational
9forall a. Fractional a => a -> a -> a
/Rational
8, Rational
6forall a. Fractional a => a -> a -> a
/Rational
5, Rational
5forall a. Fractional a => a -> a -> a
/Rational
4, Rational
21forall a. Fractional a => a -> a -> a
/Rational
16, Rational
11forall a. Fractional a => a -> a -> a
/Rational
8, Rational
3forall a. Fractional a => a -> a -> a
/Rational
2, Rational
8forall a. Fractional a => a -> a -> a
/Rational
5, Rational
13forall a. Fractional a => a -> a -> a
/Rational
8, Rational
7forall a. Fractional a => a -> a -> a
/Rational
4, Rational
15forall a. Fractional a => a -> a -> a
/Rational
8]
,[Rational
1, Rational
21forall a. Fractional a => a -> a -> a
/Rational
20, Rational
9forall a. Fractional a => a -> a -> a
/Rational
8, Rational
7forall a. Fractional a => a -> a -> a
/Rational
6, Rational
5forall a. Fractional a => a -> a -> a
/Rational
4, Rational
4forall a. Fractional a => a -> a -> a
/Rational
3, Rational
11forall a. Fractional a => a -> a -> a
/Rational
8, Rational
3forall a. Fractional a => a -> a -> a
/Rational
2, Rational
8forall a. Fractional a => a -> a -> a
/Rational
5, Rational
27forall a. Fractional a => a -> a -> a
/Rational
16, Rational
7forall a. Fractional a => a -> a -> a
/Rational
4, Rational
15forall a. Fractional a => a -> a -> a
/Rational
8]]
ps5_jpr :: Tuning
ps5_jpr :: Tuning
ps5_jpr =
let f :: b -> [b] -> [b]
f b
m [b]
n = forall a b. (a -> b) -> [a] -> [b]
map (forall a. Num a => a -> a -> a
* b
m) [b]
n
r :: [Rational]
r = forall (t :: * -> *) a. Foldable t => t [a] -> [a]
concat (forall a b c. (a -> b -> c) -> [a] -> [b] -> [c]
zipWith forall {b}. Num b => b -> [b] -> [b]
f [Rational
1,Rational
2,Rational
4,Rational
8] [[Rational]]
ps5_jpr_r)
in Either [Rational] [Cents]
-> Maybe (Either Rational Cents) -> Tuning
Tuning (forall a b. a -> Either a b
Left [Rational]
r) (forall a. a -> Maybe a
Just (forall a b. a -> Either a b
Left Rational
4))