hsc3-0.11: Haskell SuperCollider

Sound.SC3.Server.Synthdef

Description

The unit-generator graph structure implemented by the SuperCollider synthesis server.

Synopsis

Documentation

type NodeId = IntSource

Node identifier.

type PortIndex = IntSource

Port index.

data KType Source

Enumeration of the four operating rates for controls.

Constructors

K_IR 
K_KR 
K_TR 
K_AR 

Instances

data FromPort Source

Type to represent the left hand side of an edge in a unit generator graph.

Instances

data Graph Source

Type to represent unit generator graph.

Constructors

Graph 

Fields

nextId :: NodeId
 
constants :: [Node]
 
controls :: [Node]
 
ugens :: [Node]
 

Instances

type Graphdef = ByteStringSource

Binary representation of a unit generator graph.

graphdef :: Graph -> GraphdefSource

Transform a unit generator graph into bytecode.

data Synthdef Source

Binary representation of a unit generator synth definition.

Constructors

Synthdef 

synthdefData :: Synthdef -> ByteStringSource

Encode Synthdef as binary data stream.

synth :: UGen -> GraphSource

Transform a unit generator into a graph.

synthdef :: String -> UGen -> SynthdefSource

Transform a unit generator synth definition into bytecode.

synthstat :: UGen -> StringSource

Simple statistical analysis of a unit generator graph.