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

Csound.Typed.Control.Midi

Synopsis

Documentation

data Msg Source #

Instances

Instances details
DirtyMulti b => DirtyMulti (Msg -> b) Source # 
Instance details

Defined in Csound.Typed.Types.Lift

Methods

dirtyMultiGE :: GE ([E] -> MultiOut (Dep [E])) -> Msg -> b

DirtySingle b => DirtySingle (Msg -> b) Source # 
Instance details

Defined in Csound.Typed.Types.Lift

Methods

dirtySingleGE :: GE ([E] -> Dep E) -> Msg -> b

Procedure b => Procedure (Msg -> b) Source # 
Instance details

Defined in Csound.Typed.Types.Lift

Methods

procedureGE :: GE ([E] -> Dep ()) -> Msg -> b

PureMulti b => PureMulti (Msg -> b) Source # 
Instance details

Defined in Csound.Typed.Types.Lift

Methods

pureMultiGE :: GE ([E] -> MultiOut [E]) -> Msg -> b

PureSingle b => PureSingle (Msg -> b) Source # 
Instance details

Defined in Csound.Typed.Types.Lift

Methods

pureSingleGE :: GE ([E] -> E) -> Msg -> b

midi :: (Num a, Sigs a) => (Msg -> SE a) -> SE a Source #

Triggers a midi-instrument (aka Csound's massign) for all channels. It's useful to test a single instrument.

midin :: (Num a, Sigs a) => Channel -> (Msg -> SE a) -> SE a Source #

Triggers a midi-instrument (aka Csound's massign) on the specified channel.

pgmidi :: (Num a, Sigs a) => Maybe Int -> Channel -> (Msg -> SE a) -> SE a Source #

Triggers a midi-instrument (aka Csound's pgmassign) on the specified programm bank.

midi_ :: (Msg -> SE ()) -> SE () Source #

Triggers a midi-procedure (aka Csound's massign) for all channels.

midin_ :: Channel -> (Msg -> SE ()) -> SE () Source #

Triggers a midi-procedure (aka Csound's pgmassign) on the given channel.

pgmidi_ :: Maybe Int -> Channel -> (Msg -> SE ()) -> SE () Source #

Triggers a midi-procedure (aka Csound's pgmassign) on the given programm bank.

initMidiCtrl :: D -> D -> D -> SE () Source #