Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class Tuple a where
- tupleMethods :: TupleMethods a
- data TupleMethods a
- makeTupleMethods :: Tuple a => (a -> b) -> (b -> a) -> TupleMethods b
- fromTuple :: Tuple a => a -> GE [E]
- toTuple :: Tuple a => GE [E] -> a
- tupleArity :: Tuple a => a -> Int
- tupleRates :: Tuple a => a -> [Rate]
- defTuple :: Tuple a => a
- mapTuple :: Tuple a => (E -> E) -> a -> a
- class (Tuple a, Num a, Fractional a, SigSpace a, BindSig a) => Sigs a
- outArity :: Tuple a => SE a -> Int
- class (Sigs a, SigSpace2 a, BindSig2 a) => Sig2s a
- multiOuts :: Tuple a => E -> a
- ar1 :: Sig -> Sig
- ar2 :: (Sig, Sig) -> (Sig, Sig)
- ar4 :: (Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig)
- ar6 :: (Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig)
- ar8 :: (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig)
- class Tuple a => Arg a
- arg :: Arg a => Int -> a
- toNote :: Arg a => a -> GE [E]
- argArity :: Arg a => a -> Int
- toArg :: Arg a => a
- ifTuple :: Tuple a => BoolSig -> a -> a -> a
- guardedTuple :: Tuple b => [(BoolSig, b)] -> b -> b
- caseTuple :: Tuple b => a -> [(a -> BoolSig, b)] -> b -> b
- ifArg :: (Arg a, Tuple a) => BoolD -> a -> a -> a
- guardedArg :: (Tuple b, Arg b) => [(BoolD, b)] -> b -> b
- caseArg :: (Tuple b, Arg b) => a -> [(a -> BoolD, b)] -> b -> b
- pureTuple :: Tuple a => GE (MultiOut [E]) -> a
- dirtyTuple :: Tuple a => GE (MultiOut [E]) -> SE a
Tuple
A tuple of Csound values.
tupleMethods :: TupleMethods a Source #
Instances
data TupleMethods a Source #
makeTupleMethods :: Tuple a => (a -> b) -> (b -> a) -> TupleMethods b Source #
Defines instance of type class Tuple
for a new type in terms of an already defined one.
tupleArity :: Tuple a => a -> Int Source #
tupleRates :: Tuple a => a -> [Rate] Source #
Outs
class (Tuple a, Num a, Fractional a, SigSpace a, BindSig a) => Sigs a Source #
The tuples of signals.
Instances
Sigs Sig Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2) => Sigs (a1, a2) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2, Sigs a3) => Sigs (a1, a2, a3) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2, Sigs a3, Sigs a4) => Sigs (a1, a2, a3, a4) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2, Sigs a3, Sigs a4, Sigs a5) => Sigs (a1, a2, a3, a4, a5) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2, Sigs a3, Sigs a4, Sigs a5, Sigs a6) => Sigs (a1, a2, a3, a4, a5, a6) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2, Sigs a3, Sigs a4, Sigs a5, Sigs a6, Sigs a7) => Sigs (a1, a2, a3, a4, a5, a6, a7) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Sigs a1, Sigs a2, Sigs a3, Sigs a4, Sigs a5, Sigs a6, Sigs a7, Sigs a8) => Sigs (a1, a2, a3, a4, a5, a6, a7, a8) Source # | |
Defined in Csound.Typed.Types.Tuple |
class (Sigs a, SigSpace2 a, BindSig2 a) => Sig2s a Source #
Instances
Sig2s Sig8 Source # | |
Defined in Csound.Typed.Types.Tuple | |
Sig2s Sig6 Source # | |
Defined in Csound.Typed.Types.Tuple | |
Sig2s Sig4 Source # | |
Defined in Csound.Typed.Types.Tuple | |
Sig2s Sig2 Source # | |
Defined in Csound.Typed.Types.Tuple | |
Sig2s Sig Source # | |
Defined in Csound.Typed.Types.Tuple |
Multiple outs
ar8 :: (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source #
Arguments
class Tuple a => Arg a Source #
Instances
Arg TabList Source # | |
Defined in Csound.Typed.Types.Tuple | |
Arg Tab Source # | |
Defined in Csound.Typed.Types.Tuple | |
Arg Unit Source # | |
Defined in Csound.Typed.Types.Tuple | |
Arg Str Source # | |
Defined in Csound.Typed.Types.Tuple | |
Arg D Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b) => Arg (a, b) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b, Arg c) => Arg (a, b, c) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b, Arg c, Arg d) => Arg (a, b, c, d) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b, Arg c, Arg d, Arg e) => Arg (a, b, c, d, e) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b, Arg c, Arg d, Arg e, Arg f) => Arg (a, b, c, d, e, f) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b, Arg c, Arg d, Arg e, Arg f, Arg h) => Arg (a, b, c, d, e, f, h) Source # | |
Defined in Csound.Typed.Types.Tuple | |
(Arg a, Arg b, Arg c, Arg d, Arg e, Arg f, Arg h, Arg g) => Arg (a, b, c, d, e, f, h, g) Source # | |
Defined in Csound.Typed.Types.Tuple |
Logic functions
guardedTuple :: Tuple b => [(BoolSig, b)] -> b -> b Source #
guardedB
for tuples of csound values.
caseTuple :: Tuple b => a -> [(a -> BoolSig, b)] -> b -> b Source #
caseB
for tuples of csound values.