packages feed

supercollider-midi-0.1.3: supercollider-midi.cabal

Name:               supercollider-midi
Version:            0.1.3
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
  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

  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-midi >=0.4 && <0.5,
    midi >=0.1.3 && <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

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

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

  Build-Depends:
    hsc3 >=0.8 && <0.9,
    hosc >=0.8 && <0.9,
    alsa-midi >=0.4 && <0.5,
    midi >=0.1.3 && <0.2,
    event-list >=0.0.6 && <0.2,
    non-negative >=0.0.1 && <0.2

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