csound-expression-0.3.0: Csound combinator library

CsoundExpr.Opcodes.Sigio.SoftwareBus

Description

Software Bus

Synopsis

Documentation

chn_k :: [Irate] -> String -> Irate -> SignalOutSource

  • opcode : chn_k
  • syntax :
   chn_k Sname, imode[, itype, idflt, imin, imax]
   chn_a Sname, imode
   chn_S Sname, imode
  • description :

Declare a channel of the named software bus, with setting optional parameters in the case of a control channel. If the channel does not exist yet, it is created, with an inital value of zero or empty string. Otherwise, the type (control, audio, or string) of the existing channel must match the declaration, or an init error occurs. The input/output mode of an existing channel is updated so that it becomes the bitwise OR of the previous and the newly specified value.

chn_a :: String -> Irate -> SignalOutSource

  • opcode : chn_a
  • syntax :
   chn_k Sname, imode[, itype, idflt, imin, imax]
   chn_a Sname, imode
   chn_S Sname, imode
  • description :

Declare a channel of the named software bus, with setting optional parameters in the case of a control channel. If the channel does not exist yet, it is created, with an inital value of zero or empty string. Otherwise, the type (control, audio, or string) of the existing channel must match the declaration, or an init error occurs. The input/output mode of an existing channel is updated so that it becomes the bitwise OR of the previous and the newly specified value.

chn_S :: String -> Irate -> SignalOutSource

  • opcode : chn_S
  • syntax :
   chn_k Sname, imode[, itype, idflt, imin, imax]
   chn_a Sname, imode
   chn_S Sname, imode
  • description :

Declare a channel of the named software bus, with setting optional parameters in the case of a control channel. If the channel does not exist yet, it is created, with an inital value of zero or empty string. Otherwise, the type (control, audio, or string) of the existing channel must match the declaration, or an init error occurs. The input/output mode of an existing channel is updated so that it becomes the bitwise OR of the previous and the newly specified value.

chngetA :: String -> ArateSource

  • opcode : chnget
  • syntax :
   ival chnget Sname
   kval chnget Sname
   aval chnget Sname
   Sval chnget Sname
  • description :

Reads data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chngetI :: String -> IrateSource

  • opcode : chnget
  • syntax :
   ival chnget Sname
   kval chnget Sname
   aval chnget Sname
   Sval chnget Sname
  • description :

Reads data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chngetK :: String -> KrateSource

  • opcode : chnget
  • syntax :
   ival chnget Sname
   kval chnget Sname
   aval chnget Sname
   Sval chnget Sname
  • description :

Reads data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chngetS :: String -> StringSource

  • opcode : chnget
  • syntax :
   ival chnget Sname
   kval chnget Sname
   aval chnget Sname
   Sval chnget Sname
  • description :

Reads data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chnsetA :: Arate -> String -> SignalOutSource

  • opcode : chnset
  • syntax :
   chnset ival, Sname
   chnset kval, Sname
   chnset aval, Sname
   chnset Sval, Sname
  • description :

Write to a channel of the named software bus. Implies declaring the channel with imod=2 (see also chn_k, chn_a, and chn_S).

chnsetI :: Irate -> String -> SignalOutSource

  • opcode : chnset
  • syntax :
   chnset ival, Sname
   chnset kval, Sname
   chnset aval, Sname
   chnset Sval, Sname
  • description :

Write to a channel of the named software bus. Implies declaring the channel with imod=2 (see also chn_k, chn_a, and chn_S).

chnsetK :: K k0 => k0 -> String -> SignalOutSource

  • opcode : chnset
  • syntax :
   chnset ival, Sname
   chnset kval, Sname
   chnset aval, Sname
   chnset Sval, Sname
  • description :

Write to a channel of the named software bus. Implies declaring the channel with imod=2 (see also chn_k, chn_a, and chn_S).

chnsetS :: String -> String -> SignalOutSource

  • opcode : chnset
  • syntax :
   chnset ival, Sname
   chnset kval, Sname
   chnset aval, Sname
   chnset Sval, Sname
  • description :

Write to a channel of the named software bus. Implies declaring the channel with imod=2 (see also chn_k, chn_a, and chn_S).

chnsendA :: Arate -> String -> SignalOutSource

  • opcode : chnsend
  • syntax :
   chnsend ival, Sname
   chnsend kval, Sname
   chnsend aval, Sname
   chnsend Sval, Sname
  • description :

Send to a channel of the named software bus. Implies declaring the channel with imode=2 (see also chn_k, chn_a, and chn_S).

chnsendI :: Irate -> String -> SignalOutSource

  • opcode : chnsend
  • syntax :
   chnsend ival, Sname
   chnsend kval, Sname
   chnsend aval, Sname
   chnsend Sval, Sname
  • description :

Send to a channel of the named software bus. Implies declaring the channel with imode=2 (see also chn_k, chn_a, and chn_S).

chnsendK :: K k0 => k0 -> String -> SignalOutSource

  • opcode : chnsend
  • syntax :
   chnsend ival, Sname
   chnsend kval, Sname
   chnsend aval, Sname
   chnsend Sval, Sname
  • description :

Send to a channel of the named software bus. Implies declaring the channel with imode=2 (see also chn_k, chn_a, and chn_S).

chnsendS :: String -> String -> SignalOutSource

  • opcode : chnsend
  • syntax :
   chnsend ival, Sname
   chnsend kval, Sname
   chnsend aval, Sname
   chnsend Sval, Sname
  • description :

Send to a channel of the named software bus. Implies declaring the channel with imode=2 (see also chn_k, chn_a, and chn_S).

chnrecvA :: String -> ArateSource

  • opcode : chnrecv
  • syntax :
   ival chnrecv Sname
   kval chnrecv Sname
   aval chnrecv Sname
   Sval chnrecv Sname
  • description :

Receives data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chnrecvI :: String -> IrateSource

  • opcode : chnrecv
  • syntax :
   ival chnrecv Sname
   kval chnrecv Sname
   aval chnrecv Sname
   Sval chnrecv Sname
  • description :

Receives data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chnrecvK :: String -> KrateSource

  • opcode : chnrecv
  • syntax :
   ival chnrecv Sname
   kval chnrecv Sname
   aval chnrecv Sname
   Sval chnrecv Sname
  • description :

Receives data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chnrecvS :: String -> StringSource

  • opcode : chnrecv
  • syntax :
   ival chnrecv Sname
   kval chnrecv Sname
   aval chnrecv Sname
   Sval chnrecv Sname
  • description :

Receives data from a channel of the inward named software bus. Implies declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S).

chnclear :: String -> SignalOutSource

  • opcode : chnclear
  • syntax :
   chnclear Sname
  • description :

Clears an audio channel of the named software bus to zero. Implies declaring the channel with imode=2 (see also chn_a).

chnmix :: Arate -> String -> SignalOutSource

  • opcode : chnmix
  • syntax :
   chnmix aval, Sname
  • description :

Adds an audio signal to a channel of the named software bus. Implies declaring the channel with imode=2 (see also chn_a).

chnparams :: MultiOutSource

  • opcode : chnparams
  • syntax :
   itype, imode, ictltype, idflt, imin, imax chnparams
  • description :

Query parameters of a channel (if it does not exist, all returned values are zero).