Sound.SC3.Common.Buffer.Vector
Description
Vector variants of Sound.SC3.Common.Buffer.
Vector
clipAt :: Storable t => Int -> Vector t -> t Source #
clipAt.
clipAt
blendAt :: (Storable t, RealFrac t) => t -> Vector t -> t 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
from_wavetable :: (Storable t, Num t) => Vector t -> Vector t Source #
from_wavetable
from_wavetable (V.fromList [-0.5,0.5,0,0.5,1.5,-0.5,1,-0.5])
resamp1 :: (Storable t, RealFrac t) => Int -> Vector t -> Vector t 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]