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

Csound.Typed.GlobalState.Port

Description

The port is a tool to route the auio signals between instruments. We can allocate the port at the instance of the instrument (at the note) and pass the reference in the note to another instrument. That instrument cn write a signal to the port or can read the singals.

Documentation

class IsPort p where Source #

Methods

readPort :: Sigs a => p a -> SE a Source #

writePort :: Sigs a => p a -> a -> SE () Source #

Instances

Instances details
IsPort Port Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

Methods

readPort :: Sigs a => Port a -> SE a Source #

writePort :: Sigs a => Port a -> a -> SE () Source #

IsPort PortCtrl Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

Methods

readPort :: Sigs a => PortCtrl a -> SE a Source #

writePort :: Sigs a => PortCtrl a -> a -> SE () Source #

mixPort :: Sigs a => IsPort port => port a -> a -> SE () Source #

modifyPort :: (Sigs a, IsPort port) => port a -> (a -> a) -> SE () Source #

newtype Port a Source #

Constructors

Port 

Fields

Instances

Instances details
IsPort Port Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

Methods

readPort :: Sigs a => Port a -> SE a Source #

writePort :: Sigs a => Port a -> a -> SE () Source #

Sigs a => Arg (Port a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

Methods

getArgRates :: [Rate]

Sigs a => Tuple (Port a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

freePort :: forall a. Sigs a => SE (Port a) Source #

newtype PortCtrl a Source #

Constructors

PortCtrl 

Fields

Instances

Instances details
IsPort PortCtrl Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

Methods

readPort :: Sigs a => PortCtrl a -> SE a Source #

writePort :: Sigs a => PortCtrl a -> a -> SE () Source #

Sigs a => Arg (PortCtrl a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

Methods

getArgRates :: [Rate]

Sigs a => Tuple (PortCtrl a) Source # 
Instance details

Defined in Csound.Typed.GlobalState.Port

freePortCtrl :: forall a. Sigs a => SE (PortCtrl a) Source #