packages feed

haskore-0.1: haskore.cabal

Name:           haskore
Version:        0.1
License:        GPL
License-File:   LICENSE
Author:         Paul Hudak <paul.hudak@yale.edu>, Henning Thielemann
Maintainer:     Henning Thielemann <haskore@henning-thielemann.de>
Homepage:       http://www.haskell.org/haskellwiki/Haskore
Category:       Sound, Music
Synopsis:       The Haskore Computer Music System
Stability:      Experimental
Description:
  Compose music using programming features.
  Output in MIDI, CSound, SuperCollider or as an audio signal.
Tested-With:       GHC==6.4.1, GHC==6.8.2, Hugs==2006.9
Cabal-Version:     >=1.6
Build-Type:        Simple

Extra-Source-Files:
  Makefile
  Readme
  src/Doc/Macros.tex
  src/Doc/Related.tex
  src/Doc/Discussion.tex
  src/Doc/Introduction.tex
  src/Doc/Tutorial.tex

Source-Repository head
  type:     darcs
  location: http://darcs.haskell.org/haskore/

Source-Repository this
  type:     darcs
  location: http://darcs.haskell.org/haskore/
  tag:      0.1

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

Flag buildTests
  description: Build test executables
  default:     False

Library
  Build-Depends:
    midi >=0.1.1 && <0.2,
    event-list >=0.0.8 && <0.1,
    markov-chain >=0.0.1 && <0.1,
    non-negative >=0.0.1 && <0.1,
    data-accessor >=0.2 && <0.3,
    utility-ht >=0.0.3 && <0.1,
    transformers >=0.0.1 && <0.2,
    bytestring >=0.9 && <0.10,
    haskell-src >=1.0 && <1.1,
    parsec >=2.1 && <2.2

  If flag(splitBase)
    Build-Depends:
      base >=3,
      array >=0.1 && <1.0,
      containers >=0.1 && <1.0,
      random >=1.0 && <2.0,
      process >=1.0 && <1.1
  Else
    Build-Depends:
      base >= 1.0 && < 2,
      special-functors >=1.0 && <1.1

  GHC-Options:    -Wall
    -- with GHC-6.4.1 and option -O2 the compilation of NewResolution needs too much heap, thus swapping

  Hs-source-dirs: src
  Exposed-modules:
    Haskore,
    Haskore.Basic.Duration,
    Haskore.Basic.Dynamics,
    Haskore.Basic.Interval,
    Haskore.Basic.Pitch,
    Haskore.Basic.Scale,
    Haskore.Basic.Tempo,
    Haskore.Composition.Chord,
    Haskore.Composition.ChordType,
    Haskore.Composition.Drum,
    Haskore.Composition.Rhythm,
    Haskore.Composition.Trill,
    Haskore.Example.BesondrerTag,
    Haskore.Example.ChildSong6,
    Haskore.Example.Detail,
    Haskore.Example.Flip,
    Haskore.Example.Fractal,
    Haskore.Example.Guitar,
    Haskore.Example.HeilandHimmel,
    Haskore.Example.Kantate147,
    Haskore.Example.Miscellaneous,
    Haskore.Example.NewResolutions,
    Haskore.Example.Raenzlein,
    Haskore.Example.SelfSim,
    Haskore.Example.Ssf,
    Haskore.Example.WhiteChristmas,
    Haskore.Interface.AutoTrack.ChartBar,
    Haskore.Interface.AutoTrack.ChordChart,
    Haskore.Interface.AutoTrack.ChordSymbol,
    Haskore.Interface.AutoTrack.EventChart,
    Haskore.Interface.AutoTrack.Instrument,
    Haskore.Interface.AutoTrack.ScaleChart,
    Haskore.Interface.AutoTrack.Style,
    Haskore.Interface.AutoTrack.Transposeable,
    Haskore.Interface.CSound,
    Haskore.Interface.CSound.Generator,
    Haskore.Interface.CSound.InstrumentMap,
    Haskore.Interface.CSound.Note,
    Haskore.Interface.CSound.Orchestra,
    Haskore.Interface.CSound.OrchestraFunction,
    Haskore.Interface.CSound.Score,
    Haskore.Interface.CSound.SoundMap,
    Haskore.Interface.CSound.Tutorial,
    Haskore.Interface.CSound.TutorialCustom,
    -- needs 'parsec' package
    Haskore.Interface.MED.Text,
    Haskore.Interface.MIDI,
    Haskore.Interface.MIDI.InstrumentMap,
    Haskore.Interface.MIDI.Note,
    Haskore.Interface.MIDI.Read,
    Haskore.Interface.MIDI.Render,
    Haskore.Interface.MIDI.Write,
    Haskore.Interface.MML,
    Haskore.Melody,
    Haskore.Melody.Standard,
    Haskore.Music,
    Haskore.Music.GeneralMIDI,
    Haskore.Music.Rhythmic,
    Haskore.Music.Standard,
    Haskore.Performance,
    Haskore.Performance.BackEnd,
    Haskore.Performance.Context,
    Haskore.Performance.Player,
    Haskore.Performance.Default,
    Haskore.Performance.Fancy,
    Haskore.Process.Format,
    Haskore.Process.Optimization,
    Medium,
    Medium.Temporal,
    Medium.Plain.Binary,
    Medium.Plain.List,
    Medium.Plain.ContextFreeGrammar,
    Medium.Controlled,
    Medium.Controlled.List,
    Medium.Controlled.ContextFreeGrammar,
    Medium.LabeledControlled.List
  Other-modules:
    Haskore.General.LoopTreeRecursive,
    Haskore.General.LoopTreeRecursiveGen,
    Haskore.General.LoopTreeTagged,
    Haskore.General.LoopTreeTaggedGen,
    Haskore.General.GraphRecursiveGen,
    Haskore.General.GraphTaggedGen,
    Haskore.General.Map,
    Haskore.General.TagDictionary,
    Haskore.General.Utility

Executable test
  If !flag(buildTests)
    Buildable: False
--  Installable: False
  Build-Depends:
    QuickCheck >=1 && <2,
    HUnit >=1.2 && <1.3
  Hs-Source-Dirs: src, src/Test
  Main-Is: Suite.lhs
  Other-Modules:
    Equivalence

Executable autotrack
  Hs-Source-Dirs: src, src/Haskore/Interface/AutoTrack
  Main-Is: Haskore/Interface/AutoTrack/Main.lhs
  Other-Modules:
    Haskore.Interface.AutoTrack.Option