csound-expression-typed-0.2.7.1: typed core for the library csound-expression
Safe HaskellSafe-Inferred
LanguageHaskell2010

Csound.Typed.GlobalState.Elements

Synopsis

Identifiers

data IdMap a Source #

Constructors

IdMap 

Fields

Instances

Instances details
Default (IdMap a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

def :: IdMap a #

Eq a => Eq (IdMap a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

(==) :: IdMap a -> IdMap a -> Bool #

(/=) :: IdMap a -> IdMap a -> Bool #

Ord a => Ord (IdMap a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

compare :: IdMap a -> IdMap a -> Ordering #

(<) :: IdMap a -> IdMap a -> Bool #

(<=) :: IdMap a -> IdMap a -> Bool #

(>) :: IdMap a -> IdMap a -> Bool #

(>=) :: IdMap a -> IdMap a -> Bool #

max :: IdMap a -> IdMap a -> IdMap a #

min :: IdMap a -> IdMap a -> IdMap a #

saveId :: Ord a => a -> State (IdMap a) Int Source #

Gens

type WriteGenMap = [(Int, Gen)] Source #

data SfFluid Source #

Constructors

SfFluid 

Fields

data SfSpec Source #

Constructors

SfSpec 

Fields

Instances

Instances details
Show SfSpec Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Eq SfSpec Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

(==) :: SfSpec -> SfSpec -> Bool #

(/=) :: SfSpec -> SfSpec -> Bool #

Ord SfSpec Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

renderSf :: Monad m => SfSpec -> Int -> DepT m () Source #

Band-limited waveforms

String arguments

Midi

type MidiMap m = Map MidiKey (DepT m ()) Source #

data MidiKey Source #

Constructors

MidiKey MidiType Channel 

Instances

Instances details
Show MidiKey Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Eq MidiKey Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

(==) :: MidiKey -> MidiKey -> Bool #

(/=) :: MidiKey -> MidiKey -> Bool #

Ord MidiKey Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Global variables

data Globals Source #

Constructors

Globals 

Fields

Instances

Instances details
Default Globals Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

def :: Globals #

renderGlobals :: Monad m => Globals -> (DepT m (), DepT m ()) Source #

Instruments

data Instrs Source #

Instances

Instances details
Default Instrs Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

def :: Instrs #

Named instruments

newtype NamedInstrs Source #

Constructors

NamedInstrs 

Fields

Instances

Instances details
Default NamedInstrs Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

def :: NamedInstrs #

Src

type InstrBody = E #

getIn :: Monad m => Int -> DepT m [E] Source #

sendOut :: Monad m => Int -> [E] -> DepT m () Source #

sendChn :: Monad m => Int -> Int -> [E] -> DepT m () Source #

sendGlobal :: Monad m => Int -> [E] -> State Globals ([E], DepT m ()) Source #

data Event Source #

Constructors

Event 

Fields

data ChnRef Source #

Constructors

ChnRef 

Fields

readChn :: Monad m => ChnRef -> DepT m [E] Source #

writeChn :: Monad m => ChnRef -> [E] -> DepT m () Source #

subinstr :: Int -> InstrId -> [E] -> [E] Source #

subinstr_ :: Monad m => InstrId -> [E] -> DepT m () Source #

event_i :: Monad m => Event -> DepT m () Source #

event :: Monad m => Event -> DepT m () Source #

safeOut :: Double -> [E] -> [E] Source #

autoOff :: Monad m => E -> [E] -> DepT m [E] Source #

OSC listen ports

data OscListenPorts Source #

Instances

Instances details
Default OscListenPorts Source # 
Instance details

Defined in Csound.Typed.GlobalState.Elements

Methods

def :: OscListenPorts #

Macros inits

Udo plugins