-- | Functions related to the Sc2 help files.
module Sound.Sc3.Common.Help.Sc2 where

{- | Approximate Ugen categorisation from Sc2.
The help files were organised in sub-directories.

> map fst sc2_ugen_categories
-}
sc2_ugen_categories :: [(String, [String])]
sc2_ugen_categories :: [(String, [String])]
sc2_ugen_categories =
  [
    ( String
"Analysis"
    ,
      [ String
"Pitch"
      , String
"RunningSum"
      , String
"Slope"
      , String
"ZeroCrossing"
      ]
    )
  ,
    ( String
"BinaryOps"
    , []
    )
  ,
    ( String
"Buffers"
    , [String
"TGrains"]
    )
  ,
    ( String
"Controls"
    ,
      [ String
"DegreeToKey"
      , String
"GetTempo"
      , String
"Impulse"
      , String
"Index"
      , String
"Integrator"
      , String
"K2A"
      , String
"Lag"
      , String
"Latch"
      , String
"LFPulse"
      , String
"LFSaw"
      , String
"LFTri"
      , String
"LinExp"
      , String
"MouseX"
      , String
"MouseY"
      , String
"Osc1"
      , String
"Slew"
      , String
"WrapIndex"
      ]
    )
  ,
    ( String
"Delays"
    ,
      [ String
"AllpassC"
      , String
"CombC"
      , String
"Delay1"
      , String
"Delay2"
      , String
"DelayC"
      , String
"DelayWrite"
      , String
"MultiTapDelay"
      , String
"PingPongDelay"
      , String
"PitchShift"
      ]
    )
  ,
    ( String
"Envelopes"
    ,
      [ String
"Cutoff"
      , String
"Decay2"
      , String
"Decay"
      , String
"Ln"
      , String
"XLn"
      ]
    )
  ,
    ( String
"Events"
    , [String
"OverlapTexture"]
    )
  ,
    ( String
"Filters"
    ,
      [ String
"BPF"
      , String
"BPZ2"
      , String
"BRF"
      , String
"BRZ2"
      , String
"Formlet"
      , String
"FOS"
      , String
"HPF"
      , String
"HPZ1"
      , String
"HPZ2"
      , String
"LeakDC"
      , String
"Limiter"
      , String
"LPF"
      , String
"LPZ1"
      , String
"LPZ2"
      , String
"Median"
      , String
"Normalizer"
      , String
"OnePole"
      , String
"OneZero"
      , String
"Resonz"
      , String
"RHPF"
      , String
"RingzBank"
      , String
"Ringz"
      , String
"RLPF"
      , String
"SOS"
      , String
"TwoPole"
      , String
"TwoZero"
      ]
    )
  ,
    ( String
"Misc"
    , [String
"Mix"]
    )
  ,
    ( String
"Noise"
    ,
      [ String
"BrownNoise"
      , String
"ClipNoise"
      , String
"Crackle"
      , String
"Dust2"
      , String
"Dust"
      , String
"GrayNoise"
      , String
"LatoocarfianC"
      , String
"LFClipNoise"
      , String
"LFNoise0"
      , String
"LFNoise1"
      , String
"LFNoise2"
      , String
"LinCongC"
      , String
"PinkNoise"
      , String
"WhiteNoise"
      ]
    )
  ,
    ( String
"Oscillators"
    ,
      [ String
"Blip"
      , String
"Formant"
      , String
"FSinOsc"
      , String
"Impulse"
      , String
"LFPulse"
      , String
"LFSaw"
      , String
"LFTri"
      , String
"PMOsc"
      , String
"Pulse"
      , String
"Saw"
      , String
"SinOsc"
      , String
"SyncSaw"
      , String
"VarSaw"
      ]
    )
  ,
    ( String
"Panners"
    ,
      [ String
"LinPan2"
      , String
"LinXFade2"
      , String
"Pan2"
      , String
"PanAz"
      , String
"PanB"
      ]
    )
  ,
    ( String
"Random"
    ,
      [ String
"CoinGate"
      , String
"ExpRand"
      , String
"IRand"
      , String
"LinRand"
      , String
"NRand"
      , String
"Rand"
      , String
"TExpRand"
      , String
"TIRand"
      , String
"TRand"
      ]
    )
  ,
    ( String
"Samples"
    ,
      [ String
"AudioIn"
      , String
"BufRd"
      , String
"PlayBuf"
      ]
    )
  ,
    ( String
"Triggers"
    ,
      [ String
"Gate"
      , String
"InRange"
      , String
"PeakFollower"
      , String
"Phasor"
      , String
"PulseCount"
      , String
"PulseDivider"
      , String
"Schmidt"
      , String
"Stepper"
      , String
"Sweep"
      , String
"TDelay"
      , String
"Timer"
      , String
"ToggleFF"
      ]
    )
  ,
    ( String
"UnaryOperators"
    ,
      [ String
"abs"
      , String
"acos"
      , String
"ampdb"
      , String
"asin"
      , String
"atan"
      , String
"ceil"
      , String
"cos"
      , String
"cosh"
      , String
"cpsmidi"
      , String
"cpsoct"
      , String
"cubed"
      , String
"dbamp"
      , String
"distort"
      , String
"exp"
      , String
"floor"
      , String
"frac"
      , String
"isNegative"
      , String
"isPositive"
      , String
"isStrictlyPositive"
      , String
"log10"
      , String
"log2"
      , String
"log"
      , String
"midicps"
      , String
"neg"
      , String
"octcps"
      , String
"reciprocal"
      , String
"sign"
      , String
"sin"
      , String
"sinh"
      , String
"softclip"
      , String
"sqrt"
      , String
"squared"
      , String
"tan"
      , String
"tanh"
      ]
    )
  ]