-- | (not documented)
module Sound.SC3.UGen.Record.EnvDetect where
import qualified Sound.SC3.UGen as S
import Sound.SC3.UGen.Record
data EnvDetect = EnvDetect {
  input :: S.UGen,
  attack :: S.UGen,
  release :: S.UGen
  } deriving (Show)
envDetect :: EnvDetect
envDetect = EnvDetect {
  input = 0.0,
  attack = 100.0,
  release = 0.0
  }
mkEnvDetect :: EnvDetect -> S.UGen
mkEnvDetect (EnvDetect  a' b' c') = S.mkOsc S.AR "EnvDetect" [a',b',c'] 1
instance Make EnvDetect where
  ugen = mkEnvDetect