Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Control
Synopsis
- data Control_Group
- control_group_degree :: Control_Group -> Int
- control_group_suffixes :: Control_Group -> [String]
- data Control_Meta n = Control_Meta {
- ctl_min :: n
- ctl_max :: n
- ctl_warp :: String
- ctl_step :: n
- ctl_units :: String
- controlGroup :: Maybe Control_Group
- type Control_Meta_T3 n = (n, n, String)
- control_meta_t3 :: Num m => (n -> m) -> Control_Meta_T3 n -> Control_Meta m
- type Control_Meta_T5 n = (n, n, String, n, String)
- control_meta_t5 :: (n -> m) -> Control_Meta_T5 n -> Control_Meta m
- data Control = Control {}
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.
Instances
Read Control_Group Source # | |
Defined in Sound.Sc3.Ugen.Control readsPrec :: Int -> ReadS Control_Group # readList :: ReadS [Control_Group] # | |
Show Control_Group Source # | |
Defined in Sound.Sc3.Ugen.Control showsPrec :: Int -> Control_Group -> ShowS # show :: Control_Group -> String # showList :: [Control_Group] -> ShowS # | |
Eq Control_Group Source # | |
Defined in Sound.Sc3.Ugen.Control (==) :: Control_Group -> Control_Group -> Bool # (/=) :: Control_Group -> Control_Group -> Bool # | |
Ord Control_Group Source # | |
Defined in Sound.Sc3.Ugen.Control compare :: Control_Group -> Control_Group -> Ordering # (<) :: Control_Group -> Control_Group -> Bool # (<=) :: Control_Group -> Control_Group -> Bool # (>) :: Control_Group -> Control_Group -> Bool # (>=) :: Control_Group -> Control_Group -> Bool # max :: Control_Group -> Control_Group -> Control_Group # min :: Control_Group -> Control_Group -> Control_Group # |
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.
Control_Meta | |
|
Instances
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.