add type for patternize
parent
43d12171d0
commit
fb92e20524
|
|
@ -99,6 +99,7 @@ let edgePattern g e = (n $ pure $ toEnum $ (snd e) `mod` 31) # (s $ pure $ instr
|
|||
# resonance 0.2
|
||||
# end 0.2
|
||||
# gain 0.8
|
||||
patternize :: Graph -> [[Pattern ValueMap]]
|
||||
patternize g = map (map (\(x,y) -> fastcat [x,y])) $ map (\(x,y) -> zip (repeat $ vertexPattern g x) (map (edgePattern g) y)) $ nodeEdgePairs g
|
||||
gs = [ k 30, buildG (32,33) [(32,33)] ]
|
||||
in d1 $ id
|
||||
|
|
|
|||
Loading…
Reference in New Issue