hsc3-0.16: Haskell SuperCollider

Safe HaskellNone
LanguageHaskell98

Sound.SC3.Common.Buffer.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 :: 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]