packages feed

supercollider-midi-0.2: supercollider-midi.cabal

Name:               supercollider-midi
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/SuperCollider
Package-URL:        http://code.haskell.org/~thielema/supercollider-midi/
Category:           Sound
Build-Type:         Simple
Synopsis:           Demonstrate how to control SuperCollider via ALSA-MIDI
Description:
  Two small example programs where SuperCollider is controlled by MIDI.
  .
  * Control parameters of a wind noise via MIDI controllers
  .
  * Use UGens as instruments,
    which will be played upon MIDI messages that arrive through ALSA.
    This way you can play MIDI files using @pmidi@
    or you can use your computer as MIDI expander controlled by a keyboard.
Tested-With:        GHC==6.8.2, GHC==6.10.4, GHC==6.12.3
Cabal-Version:      >=1.2
Build-Type:         Simple

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

Executable sc-keyboard
  Build-Depends:
    supercollider-ht >=0.1 && <0.2,
    opensoundcontrol-ht >=0.1 && <0.2,
    hsc3 >=0.8 && <0.9,
    hosc >=0.8 && <0.9,
    alsa-seq >=0.5 && <0.6,
    data-accessor >=0.2.1 && <0.3,
    midi-alsa >=0.1.1 && <0.2,
    midi >=0.1.4 && <0.2,
    event-list >=0.0.6 && <0.2,
    non-negative >=0.0.1 && <0.2,
    data-accessor-transformers >=0.2 && <0.3,
    data-accessor >=0.2 && <0.3,
    transformers >=0.2 && <0.3,
    utility-ht >=0.0.5 && <0.1

  If flag(splitBase)
    Build-Depends:
      array >=0.1 && <0.4,
      containers >=0.1 && <0.5,
      random >=1.0 && <2.0,
      base >=2 && <5
  Else
    Build-Depends:
      base >=1.0 && <2

  Hs-source-dirs:     src
  GHC-Options:        -Wall -threaded
  Main-Is: Sound/SC3/MIDI/Keyboard.hs
  Other-Modules: Sound.SC3.MIDI.Utility

Executable sc-wind
  Build-Depends:
    hsc3 >=0.8 && <0.9,
    hosc >=0.8 && <0.9,
    alsa-seq >=0.5 && <0.6,
    data-accessor >=0.2.1 && <0.3,
    midi-alsa >=0.1.1 && <0.2,
    midi >=0.1.4 && <0.2,
    event-list >=0.0.6 && <0.2,
    non-negative >=0.0.1 && <0.2

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

  Hs-source-dirs:     src
  GHC-Options:        -Wall -threaded
  Main-Is: Sound/SC3/MIDI/Wind.hs
  Other-Modules: Sound.SC3.MIDI.Utility