packages feed

synthesizer-alsa-0.1: synthesizer-alsa.cabal

Name:           synthesizer-alsa
Version:        0.1
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
Package-URL:    http://code.haskell.org/synthesizer/alsa/
Category:       Sound, Music
Synopsis:       Control synthesizer effects via ALSA/MIDI
Description:
  This package allows to read MIDI events
  and to convert them to control signals
  that can be used for audio effects.
  As demonstration there is a keyboard controlled music synthesizer.
Stability:      Experimental
Tested-With:    GHC==6.4.1, GHC==6.8.2, GHC==6.10.4
Cabal-Version:  >=1.2
Build-Type:     Simple

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

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

Flag buildExamples
  description: Build example executables
  default:     False

Library
  Build-Depends:
    synthesizer-dimensional >=0.4 && < 0.5,
    synthesizer-core >=0.3 && < 0.4,
    sox >=0.1 && <0.2,
    alsa >=0.3 && <0.4,
    midi >=0.1.1 && <0.2,
    storablevector >=0.2.5 && <0.3,
    numeric-prelude >=0.0.3 && <0.2,
    non-negative >=0.0.5 && <0.1,
    event-list >=0.0.8 && <0.1,
    -- data-accessor >=0.1 && <0.2,
    array >=0.1 && <0.3,
    transformers >=0.1.1 && <0.2,
    utility-ht >=0.0.1 && <0.1

  If flag(splitBase)
    Build-Depends:
      base >= 3 && <5,
      random >= 1.0 && < 1.1,
      old-time >= 1.0 && < 1.1
  Else
    Build-Depends:
      base >= 1.0 && < 2

  GHC-Options:    -Wall
  Hs-source-dirs: src
  Exposed-modules:
    Synthesizer.EventList.ALSA.MIDI
    Synthesizer.Storable.ALSA.MIDI
    Synthesizer.Storable.ALSA.Play
    Synthesizer.Dimensional.ALSA.MIDI
    Synthesizer.Dimensional.ALSA.Play

Executable realtimesynth
  If !flag(buildExamples)
    Buildable: False
  If flag(optimizeAdvanced)
    GHC-Options: -O2 -fvia-C -optc-O2 -optc-msse3 -optc-ffast-math
  GHC-Options: -Wall -fexcess-precision -threaded
-- -ddump-simpl-stats -ddump-asm
  Hs-Source-Dirs: src
  Main-Is: RealTimeSynthesizer.hs

Executable synthicate
  If !flag(buildExamples)
    Buildable: False
  If flag(optimizeAdvanced)
    GHC-Options: -O2 -fvia-C -optc-O2 -optc-ffast-math
  GHC-Options: -Wall -fexcess-precision -threaded
-- -ddump-simpl-stats
  Hs-Source-Dirs: src
  Main-Is: RealTimeSynthesizerDim.hs