chnsend — Sends data via the named software bus.
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). Note that chnsend/chnrecv (which in Csound6 work identically to invalue/outvalue) are usually used for the callback-based communication between Csound and an external host. Use the chnset/chnget opcodes for sending and receiving data inside Csound.
ival -- the control value to write at i-time.
kval -- the control value to write at performance time.
aval -- the audio signal to write at performance time.
Sval -- the string value to write at i-time.