hsc3-0.20: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Common.Enum

Description

Data types for enumerated and non signal unit generator inputs.

Synopsis

Loop

data Loop t Source #

Loop indicator input.

Constructors

NoLoop

0

Loop

1

WithLoop t 

Instances

Instances details
Functor Loop Source #

fmap is loop_map

Instance details

Defined in Sound.Sc3.Common.Enum

Methods

fmap :: (a -> b) -> Loop a -> Loop b #

(<$) :: a -> Loop b -> Loop a #

Show t => Show (Loop t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

showsPrec :: Int -> Loop t -> ShowS #

show :: Loop t -> String #

showList :: [Loop t] -> ShowS #

Eq t => Eq (Loop t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

(==) :: Loop t -> Loop t -> Bool #

(/=) :: Loop t -> Loop t -> Bool #

loop_map :: (t -> u) -> Loop t -> Loop u Source #

Apply f at WithLoop.

from_loop :: Num t => Loop t -> t Source #

Resolve Loop.

Interpolation

data Interpolation t Source #

Interpolation indicator input.

Instances

Instances details
Show t => Show (Interpolation t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Eq t => Eq (Interpolation t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

DoneAction

data DoneAction t Source #

Completion mode indicator input.

Instances

Instances details
Functor DoneAction Source #

fmap is done_action_map

Instance details

Defined in Sound.Sc3.Common.Enum

Methods

fmap :: (a -> b) -> DoneAction a -> DoneAction b #

(<$) :: a -> DoneAction b -> DoneAction a #

Show t => Show (DoneAction t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Eq t => Eq (DoneAction t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

(==) :: DoneAction t -> DoneAction t -> Bool #

(/=) :: DoneAction t -> DoneAction t -> Bool #

done_action_map :: (t -> u) -> DoneAction t -> DoneAction u Source #

Apply f at WithDoneAction.

Warp

data Warp t Source #

Warp interpolation indicator input.

Constructors

Linear 
Exponential 
WithWarp t 

Instances

Instances details
Functor Warp Source #

fmap = warp_map

Instance details

Defined in Sound.Sc3.Common.Enum

Methods

fmap :: (a -> b) -> Warp a -> Warp b #

(<$) :: a -> Warp b -> Warp a #

Show t => Show (Warp t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

showsPrec :: Int -> Warp t -> ShowS #

show :: Warp t -> String #

showList :: [Warp t] -> ShowS #

Eq t => Eq (Warp t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

(==) :: Warp t -> Warp t -> Bool #

(/=) :: Warp t -> Warp t -> Bool #

from_warp :: Num t => Warp t -> t Source #

Resolve Warp.

map from_warp [Linear,Exponential] == [0,1]

warp_map :: (t -> u) -> Warp t -> Warp u Source #

Apply f at WithWarp

Buffer

data Buffer t Source #

Unification of integer and Ugen buffer identifiers.

Constructors

Buffer_Id Int 
Buffer t 

Instances

Instances details
Show t => Show (Buffer t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

showsPrec :: Int -> Buffer t -> ShowS #

show :: Buffer t -> String #

showList :: [Buffer t] -> ShowS #

Eq t => Eq (Buffer t) Source # 
Instance details

Defined in Sound.Sc3.Common.Enum

Methods

(==) :: Buffer t -> Buffer t -> Bool #

(/=) :: Buffer t -> Buffer t -> Bool #