@hackage haskore-supercollider0.3
Haskore back-end for SuperCollider
Installation
Dependencies (18)
- array >=0.1 && <0.6
- base >=1.0 && <2
- bytestring >=0.9 && <0.11
- containers >=0.1 && <0.6
- data-accessor >=0.2 && <0.3
- event-list >=0.0.6 && <0.2 Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
splitbase
(on by default)
Choose the new smaller, split-up base package.
buildtests
(off by default)
Build test executables
We assume that we have successfully installed haskore-supercollider and all of its dependencies. Now, how do we get something to hear?
When SuperCollider and JACK are available, but not currently running, start 'jack' with
$ make jack
and SuperCollider (scsynth) with
$ make supercollider
or both together
$ make scj
If SuperCollider server is running, then start Haskore (make ghci) in a new terminal:
*Main> :load Haskore.Interface.SuperCollider.Example ... *Haskore.Interface.SuperCollider.Example> play glissando ... *Haskore.Interface.SuperCollider.Example> play chillOut ...
*Main> :load Haskore.Interface.SuperCollider.Play.Life ... *Haskore.Interface.SuperCollider.Play.Life> sawPerc <- installInstr0 "saw percussion" Example.sawPercUGen *Haskore.Interface.SuperCollider.Play.Life> playKeyboard sawPerc
Then hit some keys, terminate with CTRL-D. However, playing will only work as expected on a German keyboard. Create a string like germanKeyboard for your needs and use this instead.
If you installed the package with Cabal a program 'song-air' is compiled which plays a nice demo song using Haskore and SuperCollider (scsynth must be running).