packages feed

synthesizer-midi-0.5: synthesizer-midi.cabal

Name:           synthesizer-midi
Version:        0.5
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, Music
Synopsis:       Render audio signals from MIDI files or realtime messages
Description:
  This package allows to read MIDI events
  and to convert them to audio and control signals.
  Included is a basic synthesizer that renders MIDI to WAV
  (or other audio signal formats supported by SoX).
Stability:      Experimental
Tested-With:    GHC==6.12.3
Tested-With:    GHC==7.2.1
Cabal-Version:  >=1.6
Build-Type:     Simple

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

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

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

Flag buildExamples
  description: Build example executables
  default:     False

Flag buildTests
  description: Build test executables
  default:     False

Library
  Build-Depends:
    synthesizer-dimensional >=0.6 && <0.7,
    synthesizer-core >=0.5 && <0.6,
    sox >=0.2.1 && <0.3,
    midi >=0.1.7 && <0.2,
    storable-record >=0.0.2 && <0.1,
    storablevector >=0.2.5 && <0.3,
    deepseq >=1.1 && <1.2,
    numeric-prelude >=0.3 && <0.4,
    non-negative >=0.1 && <0.2,
    event-list >=0.1 && <0.2,
    data-accessor-transformers >=0.2.1 && <0.3,
    data-accessor >=0.2.1 && <0.3,
    containers >=0.1 && <0.5,
    array >=0.1 && <0.5,
    transformers >=0.2 && <0.3,
    utility-ht >=0.0.1 && <0.1

  If flag(splitBase)
    Build-Depends:
      base >= 3 && <5
  Else
    Build-Depends:
      base >= 1.0 && < 2

  If impl(ghc>=7.0)
    GHC-Options: -fwarn-unused-do-bind
    CPP-Options: -DNoImplicitPrelude=RebindableSyntax
    Extensions: CPP

  GHC-Options:    -Wall
  Hs-source-dirs: src
  Exposed-modules:
    Synthesizer.MIDI.EventList
    Synthesizer.MIDI.Generic
    Synthesizer.MIDI.Storable
    Synthesizer.MIDI.CausalIO.ControllerSelection
    Synthesizer.MIDI.CausalIO.ControllerSet
    Synthesizer.MIDI.CausalIO.Process
    Synthesizer.MIDI.PiecewiseConstant
    Synthesizer.MIDI.PiecewiseConstant.ControllerSet
    Synthesizer.MIDI.Dimensional
    Synthesizer.MIDI.Example.Instrument
    Synthesizer.MIDI.Dimensional.Example.Instrument
    -- these modules could be as well located in the midi package,
    -- but they are based on NumericPrelude
    Synthesizer.MIDI.Value.BendWheelPressure
    Synthesizer.MIDI.Value.BendModulation
    Synthesizer.MIDI.Value
    Synthesizer.MIDI.Dimensional.Value
    Synthesizer.MIDI.Dimensional.ValuePlain

Executable render-midi
  If !flag(buildExamples)
    Buildable: False
  GHC-Options: -Wall
  If impl(ghc>=7.0)
    GHC-Options: -fwarn-unused-do-bind
    CPP-Options: -DNoImplicitPrelude=RebindableSyntax
    Extensions: CPP
  Hs-Source-Dirs: src
  Main-Is: Render.hs

Executable test
  If !flag(buildTests)
    Buildable: False
  GHC-Options: -Wall
  If impl(ghc>=7.0)
    GHC-Options: -fwarn-unused-do-bind
    CPP-Options: -DNoImplicitPrelude=RebindableSyntax
    Extensions: CPP
  Hs-Source-Dirs: src
  Main-Is: Test.hs