packages feed

synthesizer-core-0.2: synthesizer-core.cabal

Name:           synthesizer-core
Version:        0.2
License:        GPL
License-File:   LICENSE
Author:         Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:     Henning Thielemann <haskell@henning-thielemann.de>
Homepage:       http://www.haskell.org/haskellwiki/Synthesizer
Category:       Sound
Synopsis:       Audio signal processing coded in Haskell: Low level part
Description:
   Low level audio signal processing
   used by the other synthesizer packages.
   The routines can be really fast
   due to StorableVector, Stream-like list type and aggressive inlining.
   For an interface to Haskore see <http://darcs.haskell.org/haskore-synthesizer/>.
   For introductory examples see "Synthesizer.Plain.Tutorial"
   and "Synthesizer.Generic.Tutorial".
-- the Overview module does not really fit into one of the part packages
--   For an overview of the organization of the package
--   and the discussion of various design issues see "Synthesizer.Overview".
Stability:      Experimental
Tested-With:    GHC==6.4.1, GHC==6.8.2
Cabal-Version:  >=1.6
Build-Type:     Simple

Extra-Source-Files:
  Makefile
  src-3/Synthesizer/Causal/Process.hs
  src-4/Synthesizer/Causal/Process.hs
  src-4/Synthesizer/Inference/DesignStudy/Applicative.hs
  src-4/Synthesizer/Inference/DesignStudy/Monad.hs
  src-4/Synthesizer/Inference/DesignStudy/Arrow.hs

Flag splitBase
  description: Choose the new smaller, split-up base package.

Flag category
  description: Check whether Arrow class is split into Arrow and Category.

Flag optimizeAdvanced
  description: Enable advanced optimizations. They slow down compilation considerably.
  default:     True

Flag buildProfilers
  description: Build executables for investigating efficiency of code
  default:     False

Flag buildTests
  description: Build test suite
  default:     False


Source-Repository this
  Tag:         0.2
  Type:        darcs
  Location:    http://code.haskell.org/synthesizer/core/

Source-Repository head
  Type:        darcs
  Location:    http://code.haskell.org/synthesizer/core/

Library
  Build-Depends:
    transformers >=0.0.1 && <0.2,
    event-list >=0.0.8 && <0.1,
    non-negative >=0.0.5 && <0.1,
    numeric-prelude >=0.1.1 && <0.2,
    numeric-quest >= 0.1 && <0.2,
    utility-ht >=0.0.5 && <0.1,
    sox >=0.0 && <0.1,
    filepath >=1.1 && <1.2,
    bytestring >= 0.9 && <0.10,
    binary >=0.1 && <1,
    storablevector >=0.2.3 && <0.3,
    storable-record >=0.0.1 && <0.1,
    QuickCheck >=1 && <2

  If flag(splitBase)
    If flag(category)
      Hs-Source-Dirs: src-4
      Build-Depends: base >= 4 && <5
    Else
      Hs-Source-Dirs: src-3
      Build-Depends: base >= 3 && <4
    Build-Depends:
      array >=0.1 && <0.3,
      containers >=0.1 && <0.3,
      random >=1.0 && <2.0,
      process >=1.0 && <1.1
  Else
    Hs-Source-Dirs: src-3
    Build-Depends:
      base >= 1.0 && < 2,
      special-functors >= 1.0 && <1.1

  GHC-Options:    -Wall
  Hs-source-dirs: src
  Exposed-modules:
    Synthesizer.Storage

    Synthesizer.ApplicativeUtility
    Synthesizer.Format
    Synthesizer.RandomKnuth
    Synthesizer.Piecewise
    Synthesizer.Basic.Binary
    Synthesizer.Basic.Distortion
    Synthesizer.Basic.DistortionControlled
    Synthesizer.Basic.Phase
    Synthesizer.Basic.ToneModulation
    Synthesizer.Basic.Wave
    Synthesizer.Basic.WaveSmoothed
    Synthesizer.Interpolation
    Synthesizer.Interpolation.Class
    Synthesizer.Interpolation.Module
    Synthesizer.Interpolation.Custom
    Synthesizer.Frame.Stereo
    Synthesizer.Plain.Signal
    Synthesizer.Plain.Analysis
    Synthesizer.Plain.Cut
    Synthesizer.Plain.Control
    Synthesizer.Plain.Displacement
    Synthesizer.Plain.Filter.NonRecursive
    Synthesizer.Plain.Filter.Recursive
    Synthesizer.Plain.Filter.Recursive.Allpass
    Synthesizer.Plain.Filter.Recursive.AllpassPoly
    Synthesizer.Plain.Filter.Recursive.Butterworth
    Synthesizer.Plain.Filter.Recursive.Chebyshev
    Synthesizer.Plain.Filter.Recursive.Comb
    Synthesizer.Plain.Filter.Recursive.FirstOrder
    Synthesizer.Plain.Filter.Recursive.FirstOrderComplex
    Synthesizer.Plain.Filter.Recursive.Integration
    Synthesizer.Plain.Filter.Recursive.Moog
    Synthesizer.Plain.Filter.Recursive.MovingAverage
    Synthesizer.Plain.Filter.Recursive.SecondOrder
    Synthesizer.Plain.Filter.Recursive.SecondOrderCascade
    Synthesizer.Plain.Filter.Recursive.Universal
    Synthesizer.Plain.Filter.Recursive.Test
    Synthesizer.Plain.Filter.Delay
    Synthesizer.Plain.Filter.Delay.ST
    Synthesizer.Plain.Filter.Delay.List
    Synthesizer.Plain.Filter.Delay.Block
    Synthesizer.Plain.Filter.LinearPredictive
    Synthesizer.Plain.Interpolation
    Synthesizer.Plain.LorenzAttractor
    Synthesizer.Plain.Modifier
    Synthesizer.Plain.Noise
    Synthesizer.Plain.Oscillator
    Synthesizer.Plain.ToneModulation
    Synthesizer.Plain.Wave
    Synthesizer.Plain.Miscellaneous
    Synthesizer.Plain.Instrument
    Synthesizer.Plain.Effect
    Synthesizer.Plain.Effect.Fly
    Synthesizer.Plain.Effect.Glass
    Synthesizer.Plain.Builder
    Synthesizer.Plain.IO
    Synthesizer.Plain.File
    Synthesizer.Plain.Play
    Synthesizer.FusionList.Control
    Synthesizer.FusionList.Filter.NonRecursive
    Synthesizer.FusionList.Oscillator
    Synthesizer.FusionList.Signal
    Synthesizer.Storable.Cut
    Synthesizer.Storable.Oscillator
    Synthesizer.Storable.Signal
    Synthesizer.State.Analysis
    Synthesizer.State.Control
    Synthesizer.State.Cut
    Synthesizer.State.Displacement
    Synthesizer.State.Filter.NonRecursive
    Synthesizer.State.Filter.Delay
    Synthesizer.State.Filter.Recursive.Comb
    Synthesizer.State.Filter.Recursive.Integration
    Synthesizer.State.Filter.Recursive.MovingAverage
    Synthesizer.State.Interpolation
    Synthesizer.State.Miscellaneous
    Synthesizer.State.Noise
    Synthesizer.State.NoiseCustom
    Synthesizer.State.Oscillator
    Synthesizer.State.Signal
    Synthesizer.State.ToneModulation
    Synthesizer.Causal.Process
    Synthesizer.Causal.Displacement
    Synthesizer.Causal.Interpolation
    Synthesizer.Causal.Oscillator
    Synthesizer.Causal.ToneModulation
    Synthesizer.Generic.Analysis
    Synthesizer.Generic.Cut
    Synthesizer.Generic.Control
    Synthesizer.Generic.Displacement
    Synthesizer.Generic.Filter.NonRecursive
    Synthesizer.Generic.Filter.Delay
    Synthesizer.Generic.Filter.Recursive.Integration
    Synthesizer.Generic.Filter.Recursive.MovingAverage
    Synthesizer.Generic.Filter.Recursive.Comb
    Synthesizer.Generic.Interpolation
    Synthesizer.Generic.Noise
    Synthesizer.Generic.Oscillator
    Synthesizer.Generic.Signal
    Synthesizer.Generic.Signal2
    Synthesizer.Generic.Wave

    -- that's only exposed for Haddock
    Synthesizer.Plain.Tutorial
    Synthesizer.Generic.Tutorial

    -- synthesizer.dimensional:Synthesizer.Dimensional.Causal.Filter import affineComb
    Synthesizer.Utility

  Other-Modules:
    Synthesizer.Filter.Basic
    Synthesizer.Filter.Composition
    Synthesizer.Filter.Example
    Synthesizer.Filter.Fix
    Synthesizer.Filter.Graph
    Synthesizer.Filter.Graphic
    Synthesizer.Filter.MonadFix
    Synthesizer.Filter.OneWay
    Synthesizer.Filter.TwoWay


Executable test
  If !flag(buildTests)
    Buildable: False
  GHC-Options: -Wall
  Hs-Source-Dirs: src
  If flag(category)
    Hs-Source-Dirs: src-4
  Else
    Hs-Source-Dirs: src-3
  Other-Modules:
    Test.Utility
    Test.Sound.Synthesizer.Plain.Analysis
    Test.Sound.Synthesizer.Plain.Control
    Test.Sound.Synthesizer.Plain.Filter
    Test.Sound.Synthesizer.Plain.Interpolation
    Test.Sound.Synthesizer.Plain.Oscillator
    Test.Sound.Synthesizer.Plain.ToneModulation
    Test.Sound.Synthesizer.Plain.Wave
    Test.Sound.Synthesizer.Basic.ToneModulation
    Test.Sound.Synthesizer.Generic.ToneModulation
  Main-Is: Test/Main.hs

Executable fusiontest
  If !flag(buildProfilers)
    Buildable: False
  GHC-Options: -Wall -fexcess-precision
  If flag(optimizeAdvanced)
    GHC-Options: -ddump-simpl-stats
  Hs-Source-Dirs: speedtest, src
  If flag(category)
    Hs-Source-Dirs: src-4
  Else
    Hs-Source-Dirs: src-3
  Main-Is: FusionTest.hs

Executable speedtest
  If !flag(buildProfilers)
    Buildable: False
  GHC-Options: -Wall -fexcess-precision
  If flag(optimizeAdvanced)
    GHC-Options: -optc-ffast-math -optc-O3
  --  -funfolding-use-threshold=20 -funfolding-creation-threshold=100
  --  -optc-march=pentium4 -optc-mfpmath=sse
  Hs-Source-Dirs: speedtest, src
  If flag(category)
    Hs-Source-Dirs: src-4
  Else
    Hs-Source-Dirs: src-3
  Main-Is: SpeedTest.hs

Executable speedtest-exp
  If !flag(buildProfilers)
    Buildable: False
  GHC-Options: -Wall -fexcess-precision
  Hs-Source-Dirs: speedtest, src
  If flag(category)
    Hs-Source-Dirs: src-4
  Else
    Hs-Source-Dirs: src-3
  Main-Is: SpeedTestExp.hs
  If flag(splitBase)
    Build-Depends:
      old-time >= 1.0 && < 1.1, directory >= 1.0 && < 1.1

Executable speedtest-simple
  If !flag(buildProfilers)
    Buildable: False
  GHC-Options: -Wall
  Hs-Source-Dirs: speedtest, src
  If flag(category)
    Hs-Source-Dirs: src-4
  Else
    Hs-Source-Dirs: src-3
  Main-Is: SpeedTestSimple.hs