This commit is contained in:
Louis Dalibard 2024-12-24 17:10:22 +01:00
parent c14e162348
commit fdafa68bd4

View File

@ -12,7 +12,7 @@ import System.Random ( randomRIO )
-- Adjust value according to coefficients -- Adjust value according to coefficients
adjustValue :: Float -> Float-> Float -> Float -> Int adjustValue :: Float -> Float-> Float -> Float -> Int
adjustValue v a b x = round v*(a*x+b) adjustValue v a b x = round (v*(a*x+b))
-- | Extract the primary scale from a pallete. -- | Extract the primary scale from a pallete.
primary :: V.Vector a -> V.Vector a primary :: V.Vector a -> V.Vector a