haskore-supercollider-0.3: Haskore back-end for SuperCollider

Safe HaskellNone
LanguageHaskell98

Haskore.Interface.SuperCollider.Schedule.Install

Description

This is a variant of the Haskore.Interface.SuperCollider.Schedule module. Instead of an abstract Instrument type and a Haskore.Interface.SuperCollider.SoundMap, we attach SuperCollider instrument information to each note.

Synopsis

Documentation

newtype Environment a Source

The [OSC.Message] state is used for messages for installing the instruments. We cannot use a Writer monad for this purpose because we have to read the generated messages for playMusic.

Constructors

Environment 

data Sound params attr Source

Constructors

Sound 

type Drum attr = Sound DrumParameters attr Source

installSound :: SoundParameters params => (parameterTuple -> AttributeList, graph -> Sound params) -> String -> graph -> Environment (Sound params parameterTuple) Source

installSound0 :: SoundParameters params => String -> Sound params -> Environment (Sound params ()) Source

installSound1 :: SoundParameters params => String -> (UGen -> Sound params) -> Environment (Sound params Double) Source

installSound2 :: SoundParameters params => String -> (UGen -> UGen -> Sound params) -> Environment (Sound params (Double, Double)) Source

data SoundAttributes params Source

Instances

Eq (SoundAttributes params) 
Ord (SoundAttributes params)