hsc3-rec-0.12: Sound/SC3/UGen/Record/EnvFollow.hs
-- | (not documented)
module Sound.SC3.UGen.Record.EnvFollow where
import qualified Sound.SC3.UGen as S
import Sound.SC3.UGen.Record
data EnvFollow = EnvFollow {
rate :: S.Rate,
input :: S.UGen,
decaycoeff :: S.UGen
} deriving (Show)
envFollow :: EnvFollow
envFollow = EnvFollow {
rate = S.AR,
input = 0.0,
decaycoeff = 0.99
}
mkEnvFollow :: EnvFollow -> S.UGen
mkEnvFollow (EnvFollow r a' b') = S.mkOsc r "EnvFollow" [a',b'] 1
instance Make EnvFollow where
ugen = mkEnvFollow