hsc3-0.20: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Ugen.Control

Description

Control

Synopsis

Control Group

data Control_Group Source #

Controls may form part of a control group. There are presently three types of groups. Ranges controls have two values (minima, maxima) and are ordinarily drawn as a range slider. Array controls have n values [e1 .. eN] and are ordinarily drawn as a multislider. Xy controls have two values (x, y) and are ordinarily drawn as a two dimensional slider.

control_group_degree :: Control_Group -> Int Source #

The number of elements in a control group.

control_group_suffixes :: Control_Group -> [String] Source #

Grouped controls have names that have equal prefixes and identifying suffixes. Range controls have two elements, minima and maxima, suffixes are [ and ]. Array controls have n elements and have zero-indexed numerical suffixes. Xy controls have two elements, X and Y coordinates, suffixes are X and Y.

Control Meta

data Control_Meta n Source #

Control meta-data.

Constructors

Control_Meta 

Fields

Instances

Instances details
Read n => Read (Control_Meta n) Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Show n => Show (Control_Meta n) Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Eq n => Eq (Control_Meta n) Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Ord n => Ord (Control_Meta n) Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Control Meta (T)

type Control_Meta_T3 n = (n, n, String) Source #

3-tuple form of Control_Meta data.

control_meta_t3 :: Num m => (n -> m) -> Control_Meta_T3 n -> Control_Meta m Source #

Lift Control_Meta_T3 to Control_Meta allowing type coercion.

type Control_Meta_T5 n = (n, n, String, n, String) Source #

5-tuple form of Control_Meta data.

control_meta_t5 :: (n -> m) -> Control_Meta_T5 n -> Control_Meta m Source #

Lift Control_Meta_T5 to Control_Meta allowing type coercion.

Control

data Control Source #

Control inputs. It is an unchecked invariant that controls with equal names within a Ugen graph must be equal in all other respects.

Instances

Instances details
Read Control Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Show Control Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Eq Control Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control

Methods

(==) :: Control -> Control -> Bool #

(/=) :: Control -> Control -> Bool #

Ord Control Source # 
Instance details

Defined in Sound.Sc3.Ugen.Control