hsc3-0.20: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Common.Buffer.Array

Description

Array variants of Sound.Sc3.Common.Buffer. These functions have the same names as the plain forms and are not re-exported by Sound.Sc3.Common.

Synopsis

Documentation

blendAt :: RealFrac a => a -> Array Int a -> a Source #

blendAtBy of clipAt.

Sound.Sc3.Common.Buffer.Array.blendAt 0 (A.listArray (0,2) [2,5,6]) == 2
Sound.Sc3.Common.Buffer.Array.blendAt 0.4 (A.listArray (0,2) [2,5,6]) == 3.2

resamp1 :: RealFrac n => Int -> Array Int n -> Array Int n Source #

resamp1.

Sound.Sc3.Common.Buffer.Array.resamp1 12 (A.listArray (0,3) [1,2,3,4])
Sound.Sc3.Common.Buffer.Array.resamp1 3 (A.listArray (0,3) [1,2,3,4]) == A.listArray (0,2) [1,2.5,4]