hsc3-lang-0.15: Haskell SuperCollider Language
Sound.SC3.Lang.Collection.Vector
Description
Vector variants of Sound.SC3.Lang.Collection.
Vector
Synopsis
clipAt :: Int -> Vector a -> a Source
clipAt.
clipAt
blendAt :: RealFrac a => a -> Vector a -> a Source
blendAtBy of clipAt.
blendAtBy
blendAt 0 (V.fromList [2,5,6]) == 2 blendAt 0.4 (V.fromList [2,5,6]) == 3.2 blendAt 2.1 (V.fromList [2,5,6]) == 6
resamp1 :: (Enum n, RealFrac n) => Int -> Vector n -> Vector n Source
resamp1.
resamp1
resamp1 12 (V.fromList [1,2,3,4]) resamp1 3 (V.fromList [1,2,3,4]) == V.fromList [1,2.5,4]