yes
This commit is contained in:
parent
07fe192d5f
commit
7f57648dbd
@ -12,7 +12,7 @@ import System.Random ( randomRIO )
|
||||
|
||||
-- Adjust value according to coefficients
|
||||
adjustValue :: Double -> Double-> Double -> Double -> Double
|
||||
adjustValue v a b x = v*(a*x+b)
|
||||
adjustValue v a b x = minimum [maximum [0.0, v*(a*x+b)], 100.0]
|
||||
|
||||
-- | Extract the primary scale from a pallete.
|
||||
primary :: V.Vector a -> V.Vector a
|
||||
|
Loading…
Reference in New Issue
Block a user