hsc3-lang-0.15: Haskell SuperCollider Language

Safe HaskellNone
LanguageHaskell98

Sound.SC3.Lang.Collection.Vector

Description

Synopsis

Documentation

blendAt :: RealFrac a => a -> Vector a -> a Source

blendAtBy of clipAt.

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 12 (V.fromList [1,2,3,4])
resamp1 3 (V.fromList [1,2,3,4]) == V.fromList [1,2.5,4]