packages feed

synthesizer-alsa-0.0.2.1: synthesizer-alsa.cabal

Name:           synthesizer-alsa
Version:        0.0.2.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://darcs.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.
  However, latency increases over time such that the synthesizer becomes unusable.
  I currently do not know how to solve this problem.
Stability:      Experimental
Tested-With:    GHC==6.4.1, GHC==6.8.2
Cabal-Version:  >=1.2
Build-Type:     Simple

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

Flag splitSynthesizer
  description: Use synthesizer-core instead of monolithic synthesizer

Flag buildExamples
  description: Build example executables
  default:     False

Library
  If flag(splitSynthesizer)
    Build-Depends:
      synthesizer-core >= 0.2 && < 0.3
  Else
    Build-Depends:
      synthesizer >= 0.2 && < 0.3

  Build-Depends:
    sox >=0.0.1 && <0.1,
    alsa >= 0.2 && <0.3,
    -- midi >=0.1.1 && <0.1,
    storablevector >=0.2.2 && <0.3,
    numeric-prelude >=0.0.3 && <0.2,
    non-negative >=0.0.3 && <0.1,
    event-list >=0.0.8 && <0.1,
    -- data-accessor >=0.1 && <0.2,
    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.Storable.ALSA.MIDI

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