csound-expression-typed-0.2.0.1: typed core for the library csound-expression

Safe HaskellNone
LanguageHaskell2010

Csound.Typed.Types.SigSpace

Contents

Synopsis

Documentation

class SigSpace a where Source #

A class for easy way to process the outputs of the instruments.

Minimal complete definition

mapSig

Methods

mapSig :: (Sig -> Sig) -> a -> a Source #

Instances

SigSpace Sig Source # 

Methods

mapSig :: (Sig -> Sig) -> Sig -> Sig Source #

SigSpace a => SigSpace (SE a) Source # 

Methods

mapSig :: (Sig -> Sig) -> SE a -> SE a Source #

(SigSpace a1, SigSpace a2) => SigSpace (a1, a2) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2) -> (a1, a2) Source #

(SigSpace a1, SigSpace a2, SigSpace a3) => SigSpace (a1, a2, a3) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2, a3) -> (a1, a2, a3) Source #

(SigSpace a1, SigSpace a2, SigSpace a3, SigSpace a4) => SigSpace (a1, a2, a3, a4) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2, a3, a4) -> (a1, a2, a3, a4) Source #

(SigSpace a1, SigSpace a2, SigSpace a3, SigSpace a4, SigSpace a5) => SigSpace (a1, a2, a3, a4, a5) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2, a3, a4, a5) -> (a1, a2, a3, a4, a5) Source #

(SigSpace a1, SigSpace a2, SigSpace a3, SigSpace a4, SigSpace a5, SigSpace a6) => SigSpace (a1, a2, a3, a4, a5, a6) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2, a3, a4, a5, a6) -> (a1, a2, a3, a4, a5, a6) Source #

(SigSpace a1, SigSpace a2, SigSpace a3, SigSpace a4, SigSpace a5, SigSpace a6, SigSpace a7) => SigSpace (a1, a2, a3, a4, a5, a6, a7) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2, a3, a4, a5, a6, a7) -> (a1, a2, a3, a4, a5, a6, a7) Source #

(SigSpace a1, SigSpace a2, SigSpace a3, SigSpace a4, SigSpace a5, SigSpace a6, SigSpace a7, SigSpace a8) => SigSpace (a1, a2, a3, a4, a5, a6, a7, a8) Source # 

Methods

mapSig :: (Sig -> Sig) -> (a1, a2, a3, a4, a5, a6, a7, a8) -> (a1, a2, a3, a4, a5, a6, a7, a8) Source #

class SigSpace a => BindSig a where Source #

A class for easy way to process the outputs of the instruments.

Minimal complete definition

bindSig

Methods

bindSig :: (Sig -> SE Sig) -> a -> SE a Source #

Instances

BindSig Sig Source # 

Methods

bindSig :: (Sig -> SE Sig) -> Sig -> SE Sig Source #

BindSig a => BindSig (SE a) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> SE a -> SE (SE a) Source #

(BindSig a1, BindSig a2) => BindSig (a1, a2) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2) -> SE (a1, a2) Source #

(BindSig a1, BindSig a2, BindSig a3) => BindSig (a1, a2, a3) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2, a3) -> SE (a1, a2, a3) Source #

(BindSig a1, BindSig a2, BindSig a3, BindSig a4) => BindSig (a1, a2, a3, a4) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2, a3, a4) -> SE (a1, a2, a3, a4) Source #

(BindSig a1, BindSig a2, BindSig a3, BindSig a4, BindSig a5) => BindSig (a1, a2, a3, a4, a5) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2, a3, a4, a5) -> SE (a1, a2, a3, a4, a5) Source #

(BindSig a1, BindSig a2, BindSig a3, BindSig a4, BindSig a5, BindSig a6) => BindSig (a1, a2, a3, a4, a5, a6) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2, a3, a4, a5, a6) -> SE (a1, a2, a3, a4, a5, a6) Source #

(BindSig a1, BindSig a2, BindSig a3, BindSig a4, BindSig a5, BindSig a6, BindSig a7) => BindSig (a1, a2, a3, a4, a5, a6, a7) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2, a3, a4, a5, a6, a7) -> SE (a1, a2, a3, a4, a5, a6, a7) Source #

(BindSig a1, BindSig a2, BindSig a3, BindSig a4, BindSig a5, BindSig a6, BindSig a7, BindSig a8) => BindSig (a1, a2, a3, a4, a5, a6, a7, a8) Source # 

Methods

bindSig :: (Sig -> SE Sig) -> (a1, a2, a3, a4, a5, a6, a7, a8) -> SE (a1, a2, a3, a4, a5, a6, a7, a8) Source #

mul :: SigSpace a => Sig -> a -> a Source #

Scaling the sound.

mul' :: BindSig a => SE Sig -> a -> SE a Source #

Scaling the sound with effectful signal.

on :: SigSpace a => Sig -> Sig -> a -> a Source #

Rescaling of the bipolar signal (-1, 1) -> (a, b)

on a b biSig

uon :: SigSpace a => Sig -> Sig -> a -> a Source #

Rescaling of the unipolar signal (0, 1) -> (a, b)

on a b uniSig

class SigSpace b => At a b c where Source #

Minimal complete definition

at

Associated Types

type AtOut a b c :: * Source #

Methods

at :: (a -> b) -> c -> AtOut a b c Source #

Instances

At Sig2 Sig2 Sig2 Source # 

Associated Types

type AtOut Sig2 Sig2 Sig2 :: * Source #

Methods

at :: (Sig2 -> Sig2) -> Sig2 -> AtOut Sig2 Sig2 Sig2 Source #

At Sig2 Sig2 Sig Source # 

Associated Types

type AtOut Sig2 Sig2 Sig :: * Source #

Methods

at :: (Sig2 -> Sig2) -> Sig -> AtOut Sig2 Sig2 Sig Source #

At Sig Sig2 Sig2 Source # 

Associated Types

type AtOut Sig Sig2 Sig2 :: * Source #

Methods

at :: (Sig -> Sig2) -> Sig2 -> AtOut Sig Sig2 Sig2 Source #

At Sig Sig2 Sig Source # 

Associated Types

type AtOut Sig Sig2 Sig :: * Source #

Methods

at :: (Sig -> Sig2) -> Sig -> AtOut Sig Sig2 Sig Source #

SigSpace a => At Sig Sig a Source # 

Associated Types

type AtOut Sig Sig a :: * Source #

Methods

at :: (Sig -> Sig) -> a -> AtOut Sig Sig a Source #

At Sig2 Sig2 (SE Sig2) Source # 

Associated Types

type AtOut Sig2 Sig2 (SE Sig2) :: * Source #

Methods

at :: (Sig2 -> Sig2) -> SE Sig2 -> AtOut Sig2 Sig2 (SE Sig2) Source #

At Sig2 Sig2 (SE Sig) Source # 

Associated Types

type AtOut Sig2 Sig2 (SE Sig) :: * Source #

Methods

at :: (Sig2 -> Sig2) -> SE Sig -> AtOut Sig2 Sig2 (SE Sig) Source #

At Sig Sig2 (SE Sig2) Source # 

Associated Types

type AtOut Sig Sig2 (SE Sig2) :: * Source #

Methods

at :: (Sig -> Sig2) -> SE Sig2 -> AtOut Sig Sig2 (SE Sig2) Source #

At Sig Sig2 (SE Sig) Source # 

Associated Types

type AtOut Sig Sig2 (SE Sig) :: * Source #

Methods

at :: (Sig -> Sig2) -> SE Sig -> AtOut Sig Sig2 (SE Sig) Source #

At Sig2 (SE Sig2) Sig2 Source # 

Associated Types

type AtOut Sig2 (SE Sig2) Sig2 :: * Source #

Methods

at :: (Sig2 -> SE Sig2) -> Sig2 -> AtOut Sig2 (SE Sig2) Sig2 Source #

At Sig2 (SE Sig2) Sig Source # 

Associated Types

type AtOut Sig2 (SE Sig2) Sig :: * Source #

Methods

at :: (Sig2 -> SE Sig2) -> Sig -> AtOut Sig2 (SE Sig2) Sig Source #

At Sig (SE Sig) Sig4 Source # 

Associated Types

type AtOut Sig (SE Sig) Sig4 :: * Source #

Methods

at :: (Sig -> SE Sig) -> Sig4 -> AtOut Sig (SE Sig) Sig4 Source #

At Sig (SE Sig) Sig3 Source # 

Associated Types

type AtOut Sig (SE Sig) Sig3 :: * Source #

Methods

at :: (Sig -> SE Sig) -> Sig3 -> AtOut Sig (SE Sig) Sig3 Source #

At Sig (SE Sig) Sig2 Source # 

Associated Types

type AtOut Sig (SE Sig) Sig2 :: * Source #

Methods

at :: (Sig -> SE Sig) -> Sig2 -> AtOut Sig (SE Sig) Sig2 Source #

At Sig (SE Sig) Sig Source # 

Associated Types

type AtOut Sig (SE Sig) Sig :: * Source #

Methods

at :: (Sig -> SE Sig) -> Sig -> AtOut Sig (SE Sig) Sig Source #

At Sig2 (SE Sig2) (SE Sig2) Source # 

Associated Types

type AtOut Sig2 (SE Sig2) (SE Sig2) :: * Source #

Methods

at :: (Sig2 -> SE Sig2) -> SE Sig2 -> AtOut Sig2 (SE Sig2) (SE Sig2) Source #

At Sig2 (SE Sig2) (SE Sig) Source # 

Associated Types

type AtOut Sig2 (SE Sig2) (SE Sig) :: * Source #

Methods

at :: (Sig2 -> SE Sig2) -> SE Sig -> AtOut Sig2 (SE Sig2) (SE Sig) Source #

At Sig (SE Sig) (SE Sig4) Source # 

Associated Types

type AtOut Sig (SE Sig) (SE Sig4) :: * Source #

Methods

at :: (Sig -> SE Sig) -> SE Sig4 -> AtOut Sig (SE Sig) (SE Sig4) Source #

At Sig (SE Sig) (SE Sig3) Source # 

Associated Types

type AtOut Sig (SE Sig) (SE Sig3) :: * Source #

Methods

at :: (Sig -> SE Sig) -> SE Sig3 -> AtOut Sig (SE Sig) (SE Sig3) Source #

At Sig (SE Sig) (SE Sig2) Source # 

Associated Types

type AtOut Sig (SE Sig) (SE Sig2) :: * Source #

Methods

at :: (Sig -> SE Sig) -> SE Sig2 -> AtOut Sig (SE Sig) (SE Sig2) Source #

At Sig (SE Sig) (SE Sig) Source # 

Associated Types

type AtOut Sig (SE Sig) (SE Sig) :: * Source #

Methods

at :: (Sig -> SE Sig) -> SE Sig -> AtOut Sig (SE Sig) (SE Sig) Source #

class (SigSpace b, At a b c) => MixAt a b c where Source #

It applies an effect and mixes the processed signal with original one. The first argument is for proportion of drywet (originalprocessed). It's like at but it allows to balance processed signal with original one.

Minimal complete definition

mixAt

Methods

mixAt :: Sig -> (a -> b) -> c -> AtOut a b c Source #

Instances

MixAt Sig2 Sig2 Sig2 Source # 

Methods

mixAt :: Sig -> (Sig2 -> Sig2) -> Sig2 -> AtOut Sig2 Sig2 Sig2 Source #

MixAt Sig2 Sig2 Sig Source # 

Methods

mixAt :: Sig -> (Sig2 -> Sig2) -> Sig -> AtOut Sig2 Sig2 Sig Source #

MixAt Sig Sig2 Sig2 Source # 

Methods

mixAt :: Sig -> (Sig -> Sig2) -> Sig2 -> AtOut Sig Sig2 Sig2 Source #

MixAt Sig Sig2 Sig Source # 

Methods

mixAt :: Sig -> (Sig -> Sig2) -> Sig -> AtOut Sig Sig2 Sig Source #

SigSpace a => MixAt Sig Sig a Source # 

Methods

mixAt :: Sig -> (Sig -> Sig) -> a -> AtOut Sig Sig a Source #

MixAt Sig2 Sig2 (SE Sig2) Source # 

Methods

mixAt :: Sig -> (Sig2 -> Sig2) -> SE Sig2 -> AtOut Sig2 Sig2 (SE Sig2) Source #

MixAt Sig2 Sig2 (SE Sig) Source # 

Methods

mixAt :: Sig -> (Sig2 -> Sig2) -> SE Sig -> AtOut Sig2 Sig2 (SE Sig) Source #

MixAt Sig Sig2 (SE Sig2) Source # 

Methods

mixAt :: Sig -> (Sig -> Sig2) -> SE Sig2 -> AtOut Sig Sig2 (SE Sig2) Source #

MixAt Sig Sig2 (SE Sig) Source # 

Methods

mixAt :: Sig -> (Sig -> Sig2) -> SE Sig -> AtOut Sig Sig2 (SE Sig) Source #

MixAt Sig2 (SE Sig2) Sig2 Source # 

Methods

mixAt :: Sig -> (Sig2 -> SE Sig2) -> Sig2 -> AtOut Sig2 (SE Sig2) Sig2 Source #

MixAt Sig2 (SE Sig2) Sig Source # 

Methods

mixAt :: Sig -> (Sig2 -> SE Sig2) -> Sig -> AtOut Sig2 (SE Sig2) Sig Source #

MixAt Sig (SE Sig) Sig4 Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> Sig4 -> AtOut Sig (SE Sig) Sig4 Source #

MixAt Sig (SE Sig) Sig3 Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> Sig3 -> AtOut Sig (SE Sig) Sig3 Source #

MixAt Sig (SE Sig) Sig2 Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> Sig2 -> AtOut Sig (SE Sig) Sig2 Source #

MixAt Sig (SE Sig) Sig Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> Sig -> AtOut Sig (SE Sig) Sig Source #

MixAt Sig2 (SE Sig2) (SE Sig2) Source # 

Methods

mixAt :: Sig -> (Sig2 -> SE Sig2) -> SE Sig2 -> AtOut Sig2 (SE Sig2) (SE Sig2) Source #

MixAt Sig2 (SE Sig2) (SE Sig) Source # 

Methods

mixAt :: Sig -> (Sig2 -> SE Sig2) -> SE Sig -> AtOut Sig2 (SE Sig2) (SE Sig) Source #

MixAt Sig (SE Sig) (SE Sig4) Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> SE Sig4 -> AtOut Sig (SE Sig) (SE Sig4) Source #

MixAt Sig (SE Sig) (SE Sig3) Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> SE Sig3 -> AtOut Sig (SE Sig) (SE Sig3) Source #

MixAt Sig (SE Sig) (SE Sig2) Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> SE Sig2 -> AtOut Sig (SE Sig) (SE Sig2) Source #

MixAt Sig (SE Sig) (SE Sig) Source # 

Methods

mixAt :: Sig -> (Sig -> SE Sig) -> SE Sig -> AtOut Sig (SE Sig) (SE Sig) Source #

cfd :: (Num a, SigSpace a) => Sig -> a -> a -> a Source #

Crossfade.

cfd coeff sig1 sig2

If coeff equals 0 then we get the first signal and if it equals 1 we get the second signal.

genCfds :: a -> (Sig -> a -> a -> a) -> [Sig] -> [a] -> a Source #

cfd4 :: (Num a, SigSpace a) => Sig -> Sig -> a -> a -> a -> a -> a Source #

Bilinear interpolation for four signals. The signals are placed in the corners of the unit square. The first two signals are the xy coordinates in the square.

cfd4 x y a b c d
  • (0, 0) is for a
  • (1, 0) is for b
  • (1, 1) is for c
  • (0, 1) is for d

cfds :: (Num a, SigSpace a) => [Sig] -> [a] -> a Source #

Generic crossfade for n coefficients and n+1 signals.

cfds coeffs sigs

Stereo sig-space

class SigSpace2 a where Source #

A class for easy way to process the outputs of the instruments.

Minimal complete definition

mapSig2

Methods

mapSig2 :: (Sig2 -> Sig2) -> a -> a Source #

Instances

SigSpace2 Sig Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> Sig -> Sig Source #

SigSpace2 (SE (Sig, Sig)) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> SE (Sig, Sig) -> SE (Sig, Sig) Source #

SigSpace2 (SE (Sig, Sig, Sig)) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) Source #

SigSpace2 (SE (Sig, Sig, Sig, Sig)) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) Source #

SigSpace2 (SE Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> SE Sig -> SE Sig Source #

SigSpace2 (Sig8, Sig8) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig8, Sig8) -> (Sig8, Sig8) Source #

SigSpace2 (Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2) -> (Sig2, Sig2) Source #

SigSpace2 (Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig) -> (Sig, Sig) Source #

SigSpace2 (Sig2, Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2, Sig2) -> (Sig2, Sig2, Sig2) Source #

SigSpace2 (Sig, Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig, Sig) -> (Sig, Sig, Sig) Source #

SigSpace2 (Sig8, Sig8, Sig8, Sig8) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig8, Sig8, Sig8, Sig8) -> (Sig8, Sig8, Sig8, Sig8) Source #

SigSpace2 (Sig2, Sig2, Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2, Sig2, Sig2) -> (Sig2, Sig2, Sig2, Sig2) Source #

SigSpace2 (Sig, Sig, Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig) Source #

SigSpace2 (Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2) Source #

SigSpace2 (Sig, Sig, Sig, Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig) Source #

SigSpace2 (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source #

SigSpace2 (Sig, Sig, Sig, Sig, Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig) Source #

SigSpace2 (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source #

SigSpace2 (Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source #

SigSpace2 (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source #

SigSpace2 (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source # 

Methods

mapSig2 :: (Sig2 -> Sig2) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source #

class SigSpace2 a => BindSig2 a where Source #

A class for easy way to process the outputs of the instruments.

Minimal complete definition

bindSig2

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> a -> SE a Source #

Instances

BindSig2 Sig Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> Sig -> SE Sig Source #

BindSig2 (SE (Sig, Sig)) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> SE (Sig, Sig) -> SE (SE (Sig, Sig)) Source #

BindSig2 (SE (Sig, Sig, Sig)) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> SE (Sig, Sig, Sig) -> SE (SE (Sig, Sig, Sig)) Source #

BindSig2 (SE (Sig, Sig, Sig, Sig)) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> SE (Sig, Sig, Sig, Sig) -> SE (SE (Sig, Sig, Sig, Sig)) Source #

BindSig2 (SE Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> SE Sig -> SE (SE Sig) Source #

BindSig2 (Sig8, Sig8) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig8, Sig8) -> SE (Sig8, Sig8) Source #

BindSig2 (Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2) -> SE (Sig2, Sig2) Source #

BindSig2 (Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig) -> SE (Sig, Sig) Source #

BindSig2 (Sig2, Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2, Sig2) -> SE (Sig2, Sig2, Sig2) Source #

BindSig2 (Sig, Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) Source #

BindSig2 (Sig8, Sig8, Sig8, Sig8) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig8, Sig8, Sig8, Sig8) -> SE (Sig8, Sig8, Sig8, Sig8) Source #

BindSig2 (Sig2, Sig2, Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2, Sig2, Sig2) -> SE (Sig2, Sig2, Sig2, Sig2) Source #

BindSig2 (Sig, Sig, Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) Source #

BindSig2 (Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2) -> SE (Sig2, Sig2, Sig2, Sig2, Sig2) Source #

BindSig2 (Sig, Sig, Sig, Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig, Sig) Source #

BindSig2 (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) -> SE (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source #

BindSig2 (Sig, Sig, Sig, Sig, Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig, Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig, Sig, Sig) Source #

BindSig2 (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) -> SE (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source #

BindSig2 (Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source #

BindSig2 (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) -> SE (Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2, Sig2) Source #

BindSig2 (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source # 

Methods

bindSig2 :: (Sig2 -> SE Sig2) -> (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig, Sig, Sig, Sig, Sig) Source #

mul2 :: SigSpace2 a => Sig2 -> a -> a Source #

Scaling the sound with a pair.

mul2' :: BindSig2 a => SE Sig2 -> a -> SE a Source #

Scaling the sound with effectful pair of signals.

Orphan instances

Fractional (SE (Sig, Sig)) Source # 

Methods

(/) :: SE (Sig, Sig) -> SE (Sig, Sig) -> SE (Sig, Sig) #

recip :: SE (Sig, Sig) -> SE (Sig, Sig) #

fromRational :: Rational -> SE (Sig, Sig) #

Fractional (SE (Sig, Sig, Sig)) Source # 

Methods

(/) :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

recip :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

fromRational :: Rational -> SE (Sig, Sig, Sig) #

Fractional (SE (Sig, Sig, Sig, Sig)) Source # 

Methods

(/) :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

recip :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

fromRational :: Rational -> SE (Sig, Sig, Sig, Sig) #

Fractional (SE Sig) Source # 

Methods

(/) :: SE Sig -> SE Sig -> SE Sig #

recip :: SE Sig -> SE Sig #

fromRational :: Rational -> SE Sig #

Num (SE (Sig, Sig)) Source # 

Methods

(+) :: SE (Sig, Sig) -> SE (Sig, Sig) -> SE (Sig, Sig) #

(-) :: SE (Sig, Sig) -> SE (Sig, Sig) -> SE (Sig, Sig) #

(*) :: SE (Sig, Sig) -> SE (Sig, Sig) -> SE (Sig, Sig) #

negate :: SE (Sig, Sig) -> SE (Sig, Sig) #

abs :: SE (Sig, Sig) -> SE (Sig, Sig) #

signum :: SE (Sig, Sig) -> SE (Sig, Sig) #

fromInteger :: Integer -> SE (Sig, Sig) #

Num (SE (Sig, Sig, Sig)) Source # 

Methods

(+) :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

(-) :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

(*) :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

negate :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

abs :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

signum :: SE (Sig, Sig, Sig) -> SE (Sig, Sig, Sig) #

fromInteger :: Integer -> SE (Sig, Sig, Sig) #

Num (SE (Sig, Sig, Sig, Sig)) Source # 

Methods

(+) :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

(-) :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

(*) :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

negate :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

abs :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

signum :: SE (Sig, Sig, Sig, Sig) -> SE (Sig, Sig, Sig, Sig) #

fromInteger :: Integer -> SE (Sig, Sig, Sig, Sig) #

Num (SE Sig) Source # 

Methods

(+) :: SE Sig -> SE Sig -> SE Sig #

(-) :: SE Sig -> SE Sig -> SE Sig #

(*) :: SE Sig -> SE Sig -> SE Sig #

negate :: SE Sig -> SE Sig #

abs :: SE Sig -> SE Sig #

signum :: SE Sig -> SE Sig #

fromInteger :: Integer -> SE Sig #

Fractional (a -> (Sig, Sig, Sig, Sig)) Source # 

Methods

(/) :: (a -> (Sig, Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

recip :: (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

fromRational :: Rational -> a -> (Sig, Sig, Sig, Sig) #

Fractional (a -> (Sig, Sig, Sig)) Source # 

Methods

(/) :: (a -> (Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

recip :: (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

fromRational :: Rational -> a -> (Sig, Sig, Sig) #

Fractional (a -> (Sig, Sig)) Source # 

Methods

(/) :: (a -> (Sig, Sig)) -> (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

recip :: (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

fromRational :: Rational -> a -> (Sig, Sig) #

Fractional (a -> Sig) Source # 

Methods

(/) :: (a -> Sig) -> (a -> Sig) -> a -> Sig #

recip :: (a -> Sig) -> a -> Sig #

fromRational :: Rational -> a -> Sig #

Fractional (a -> SE (Sig, Sig, Sig, Sig)) Source # 

Methods

(/) :: (a -> SE (Sig, Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

recip :: (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

fromRational :: Rational -> a -> SE (Sig, Sig, Sig, Sig) #

Fractional (a -> SE (Sig, Sig, Sig)) Source # 

Methods

(/) :: (a -> SE (Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

recip :: (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

fromRational :: Rational -> a -> SE (Sig, Sig, Sig) #

Fractional (a -> SE (Sig, Sig)) Source # 

Methods

(/) :: (a -> SE (Sig, Sig)) -> (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

recip :: (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

fromRational :: Rational -> a -> SE (Sig, Sig) #

Fractional (a -> SE Sig) Source # 

Methods

(/) :: (a -> SE Sig) -> (a -> SE Sig) -> a -> SE Sig #

recip :: (a -> SE Sig) -> a -> SE Sig #

fromRational :: Rational -> a -> SE Sig #

Num (a -> SE (Sig, Sig, Sig, Sig)) Source # 

Methods

(+) :: (a -> SE (Sig, Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

(-) :: (a -> SE (Sig, Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

(*) :: (a -> SE (Sig, Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

negate :: (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

abs :: (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

signum :: (a -> SE (Sig, Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig, Sig) #

fromInteger :: Integer -> a -> SE (Sig, Sig, Sig, Sig) #

Num (a -> SE (Sig, Sig, Sig)) Source # 

Methods

(+) :: (a -> SE (Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

(-) :: (a -> SE (Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

(*) :: (a -> SE (Sig, Sig, Sig)) -> (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

negate :: (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

abs :: (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

signum :: (a -> SE (Sig, Sig, Sig)) -> a -> SE (Sig, Sig, Sig) #

fromInteger :: Integer -> a -> SE (Sig, Sig, Sig) #

Num (a -> SE (Sig, Sig)) Source # 

Methods

(+) :: (a -> SE (Sig, Sig)) -> (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

(-) :: (a -> SE (Sig, Sig)) -> (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

(*) :: (a -> SE (Sig, Sig)) -> (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

negate :: (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

abs :: (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

signum :: (a -> SE (Sig, Sig)) -> a -> SE (Sig, Sig) #

fromInteger :: Integer -> a -> SE (Sig, Sig) #

Num (a -> SE Sig) Source # 

Methods

(+) :: (a -> SE Sig) -> (a -> SE Sig) -> a -> SE Sig #

(-) :: (a -> SE Sig) -> (a -> SE Sig) -> a -> SE Sig #

(*) :: (a -> SE Sig) -> (a -> SE Sig) -> a -> SE Sig #

negate :: (a -> SE Sig) -> a -> SE Sig #

abs :: (a -> SE Sig) -> a -> SE Sig #

signum :: (a -> SE Sig) -> a -> SE Sig #

fromInteger :: Integer -> a -> SE Sig #

Num (a -> (Sig, Sig, Sig, Sig)) Source # 

Methods

(+) :: (a -> (Sig, Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

(-) :: (a -> (Sig, Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

(*) :: (a -> (Sig, Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

negate :: (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

abs :: (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

signum :: (a -> (Sig, Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig, Sig) #

fromInteger :: Integer -> a -> (Sig, Sig, Sig, Sig) #

Num (a -> (Sig, Sig, Sig)) Source # 

Methods

(+) :: (a -> (Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

(-) :: (a -> (Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

(*) :: (a -> (Sig, Sig, Sig)) -> (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

negate :: (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

abs :: (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

signum :: (a -> (Sig, Sig, Sig)) -> a -> (Sig, Sig, Sig) #

fromInteger :: Integer -> a -> (Sig, Sig, Sig) #

Num (a -> (Sig, Sig)) Source # 

Methods

(+) :: (a -> (Sig, Sig)) -> (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

(-) :: (a -> (Sig, Sig)) -> (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

(*) :: (a -> (Sig, Sig)) -> (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

negate :: (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

abs :: (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

signum :: (a -> (Sig, Sig)) -> a -> (Sig, Sig) #

fromInteger :: Integer -> a -> (Sig, Sig) #

Num (a -> Sig) Source # 

Methods

(+) :: (a -> Sig) -> (a -> Sig) -> a -> Sig #

(-) :: (a -> Sig) -> (a -> Sig) -> a -> Sig #

(*) :: (a -> Sig) -> (a -> Sig) -> a -> Sig #

negate :: (a -> Sig) -> a -> Sig #

abs :: (a -> Sig) -> a -> Sig #

signum :: (a -> Sig) -> a -> Sig #

fromInteger :: Integer -> a -> Sig #