csound-expression-typed-0.2.7: typed core for the library csound-expression
Safe HaskellNone
LanguageHaskell2010

Csound.Typed.Types.Tuple

Synopsis

Tuple

class Tuple a where Source #

A tuple of Csound values.

Instances

Instances details
Tuple TabList Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple Tab Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple Unit Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple Spec Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple Str Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple D Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple Sig Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Tuple MonoArg Source # 
Instance details

Defined in Csound.Typed.Types.MonoArg

(Tuple a, Tuple b) => Tuple (a, b) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Tuple a, Tuple b, Tuple c) => Tuple (a, b, c) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Methods

tupleMethods :: TupleMethods (a, b, c) Source #

(Tuple a, Tuple b, Tuple c, Tuple d) => Tuple (a, b, c, d) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Methods

tupleMethods :: TupleMethods (a, b, c, d) Source #

(Tuple a, Tuple b, Tuple c, Tuple d, Tuple e) => Tuple (a, b, c, d, e) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Methods

tupleMethods :: TupleMethods (a, b, c, d, e) Source #

(Tuple a, Tuple b, Tuple c, Tuple d, Tuple e, Tuple f) => Tuple (a, b, c, d, e, f) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Methods

tupleMethods :: TupleMethods (a, b, c, d, e, f) Source #

(Tuple a, Tuple b, Tuple c, Tuple d, Tuple e, Tuple f, Tuple g) => Tuple (a, b, c, d, e, f, g) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Methods

tupleMethods :: TupleMethods (a, b, c, d, e, f, g) Source #

(Tuple a, Tuple b, Tuple c, Tuple d, Tuple e, Tuple f, Tuple g, Tuple h) => Tuple (a, b, c, d, e, f, g, h) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Methods

tupleMethods :: TupleMethods (a, b, c, d, e, f, g, h) 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.

fromTuple :: Tuple a => a -> GE [E] Source #

toTuple :: Tuple a => GE [E] -> a Source #

tupleArity :: Tuple a => a -> Int Source #

tupleRates :: Tuple a => a -> [Rate] Source #

mapTuple :: Tuple a => (E -> E) -> a -> a Source #

Outs

class (Tuple a, Num a, Fractional a, SigSpace a, BindSig a) => Sigs a Source #

The tuples of signals.

Instances

Instances details
Sigs Sig Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Sigs a1, Sigs a2) => Sigs (a1, a2) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Sigs a1, Sigs a2, Sigs a3) => Sigs (a1, a2, a3) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Sigs a1, Sigs a2, Sigs a3, Sigs a4) => Sigs (a1, a2, a3, a4) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Sigs a1, Sigs a2, Sigs a3, Sigs a4, Sigs a5) => Sigs (a1, a2, a3, a4, a5) Source # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

Defined in Csound.Typed.Types.Tuple

outArity :: Tuple a => SE a -> Int Source #

class (Sigs a, SigSpace2 a, BindSig2 a) => Sig2s a Source #

Instances

Instances details
Sig2s Sig8 Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Sig2s Sig6 Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Sig2s Sig4 Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Sig2s Sig2 Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Sig2s Sig Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Multiple outs

multiOuts :: Tuple a => E -> a Source #

ar2 :: (Sig, Sig) -> (Sig, Sig) Source #

ar4 :: (Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig) Source #

ar6 :: (Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig) Source #

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

Instances details
Arg TabList Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Arg Tab Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Arg Unit Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Arg Str Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

Arg D Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Arg a, Arg b) => Arg (a, b) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Arg a, Arg b, Arg c) => Arg (a, b, c) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Arg a, Arg b, Arg c, Arg d) => Arg (a, b, c, d) Source # 
Instance details

Defined in Csound.Typed.Types.Tuple

(Arg a, Arg b, Arg c, Arg d, Arg e) => Arg (a, b, c, d, e) Source # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

Defined in Csound.Typed.Types.Tuple

arg :: Arg a => Int -> a Source #

toNote :: Arg a => a -> GE [E] Source #

argArity :: Arg a => a -> Int Source #

toArg :: Arg a => a Source #

Logic functions

ifTuple :: Tuple a => BoolSig -> a -> a -> a Source #

ifB for tuples of csound values.

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.

ifArg :: (Arg a, Tuple a) => BoolD -> a -> a -> a Source #

ifB for constants.

guardedArg :: (Tuple b, Arg b) => [(BoolD, b)] -> b -> b Source #

guardedB for constants.

caseArg :: (Tuple b, Arg b) => a -> [(a -> BoolD, b)] -> b -> b Source #

caseB for constants.

Constructors

pureTuple :: Tuple a => GE (MultiOut [E]) -> a Source #

dirtyTuple :: Tuple a => GE (MultiOut [E]) -> SE a Source #