Sound.SC3.Common.Buffer.Array
Description
Array variants of Sound.SC3.Common.Buffer.
Array
clipAt :: Int -> Array Int a -> a Source #
clipAt.
clipAt
blendAt :: RealFrac a => a -> Array Int a -> a Source #
blendAtBy of clipAt.
blendAtBy
blendAt 0 (A.listArray (0,2) [2,5,6]) == 2 blendAt 0.4 (A.listArray (0,2) [2,5,6]) == 3.2
resamp1 :: RealFrac n => Int -> Array Int n -> Array Int n Source #
resamp1.
resamp1
resamp1 12 (A.listArray (0,3) [1,2,3,4]) resamp1 3 (A.listArray (0,3) [1,2,3,4]) == A.listArray (0,2) [1,2.5,4]