hsc3-0.19.1: 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_coerce

Instance details

Defined in Sound.SC3.Common.Enum

Methods

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

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

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 #

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 #

loop_coerce :: (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
Eq t => Eq (Interpolation t) Source # 
Instance details

Defined in Sound.SC3.Common.Enum

Show t => Show (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_coerce

Instance details

Defined in Sound.SC3.Common.Enum

Methods

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

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

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 #

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

Defined in Sound.SC3.Common.Enum

Warp

data Warp t Source #

Warp interpolation indicator input.

Constructors

Linear 
Exponential 
WithWarp t 

Instances

Instances details
Functor Warp Source #

fmap = warp_coerce

Instance details

Defined in Sound.SC3.Common.Enum

Methods

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

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

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 #

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 #

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

Resolve Warp.

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

warp_coerce :: (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
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 #

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 #