| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Sound.Sc3.Common.Enum
Description
Data types for enumerated and non signal unit generator inputs.
Synopsis
- data Loop t
- loop_map :: (t -> u) -> Loop t -> Loop u
- from_loop :: Num t => Loop t -> t
- data Interpolation t
- from_interpolation :: Num t => Interpolation t -> t
- data DoneAction t
- done_action_map :: (t -> u) -> DoneAction t -> DoneAction u
- from_done_action :: Num t => DoneAction t -> t
- data Warp t
- = Linear
- | Exponential
- | WithWarp t
- from_warp :: Num t => Warp t -> t
- warp_map :: (t -> u) -> Warp t -> Warp u
- data Buffer t
Loop
Loop indicator input.
Interpolation
data Interpolation t Source #
Interpolation indicator input.
Instances
| Show t => Show (Interpolation t) Source # | |
Defined in Sound.Sc3.Common.Enum Methods showsPrec :: Int -> Interpolation t -> ShowS # show :: Interpolation t -> String # showList :: [Interpolation t] -> ShowS # | |
| Eq t => Eq (Interpolation t) Source # | |
Defined in Sound.Sc3.Common.Enum Methods (==) :: Interpolation t -> Interpolation t -> Bool # (/=) :: Interpolation t -> Interpolation t -> Bool # | |
from_interpolation :: Num t => Interpolation t -> t Source #
Resolve Interpolation.
DoneAction
data DoneAction t Source #
Completion mode indicator input.
Constructors
| DoNothing | |
| PauseSynth | |
| RemoveSynth | |
| RemoveGroup | |
| WithDoneAction t |
Instances
| Functor DoneAction Source # | fmap is |
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 # | |
Defined in Sound.Sc3.Common.Enum Methods showsPrec :: Int -> DoneAction t -> ShowS # show :: DoneAction t -> String # showList :: [DoneAction t] -> ShowS # | |
| Eq t => Eq (DoneAction t) Source # | |
Defined in Sound.Sc3.Common.Enum | |
done_action_map :: (t -> u) -> DoneAction t -> DoneAction u Source #
Apply f at WithDoneAction.
from_done_action :: Num t => DoneAction t -> t Source #
Resolve DoneAction.
Warp
Warp interpolation indicator input.
Constructors
| Linear | |
| Exponential | |
| WithWarp t |