packages feed

supercollider-midi-0.1: supercollider-midi.cabal

Name:               supercollider-midi
Version:            0.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/SuperCollider
Package-URL:        http://darcs.haskell.org/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
Cabal-Version:      >=1.2
Build-Type:         Simple


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

Library
  Build-Depends:
     supercollider-ht >= 0.0 && <0.1,
     hsc3 >= 0.1 && <0.2,
     hosc >= 0.1 && <0.2,
     alsa-midi >= 0.4 && < 0.5,
     midi >=0.1 && <0.2,
     event-list >=0.0.6 && < 0.1,
     non-negative>=0.0.1 && <0.1,
     data-accessor >=0.1.3 && <0.2
  Build-Depends: mtl >=1 && <2, QuickCheck >=1 && <2
  If flag(splitBase)
    Build-Depends: base >= 2, array >=0.1 && <0.2, containers >=0.1 && <0.2, random >=1.0 && <1.1
  Else
    Build-Depends: base >= 1.0 && < 2

  Hs-Source-Dirs:     src
  Exposed-Modules:
--    Sound.SC3.MIDI.Keyboard
  GHC-Options:        -Wall -threaded

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

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