outvalue

outvalue — Sends an i-rate or k-rate signal or string to a user-defined channel.

Description

Sends an irate or k-rate signal or string to a user-defined channel.

Syntax

outvalue "channel name", ivalue
outvalue "channel name", kvalue
outvalue "channel name", "string"

Performance

"channel name" -- An integer or string (in double-quotes) representing channel.

ivalue, kvalue -- The value that is sent to the channel.

string -- The string or string variable that is sent to the channel.

Examples

Here is an example of the outvalue opcode. It uses the file outvalue.csd.

Example 726. Example of the outvalue opcode.

See the sections Real-time Audio and Command Line Flags for more information on using command line flags.

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
;run this example in CsoundQt, a Csound editor that provides widgets
;make the Widgets-panel visible, by clicking the Widgets symbol in the menu or pressing (Alt+1).

sr = 44100
ksmps = 32
nchnls = 2
0dbfs  = 1
; written by Alex Hofmann

instr 1	;move fader

kMoveUp  linseg 0, 3, 1, 1, 1, 0.5, 0
outvalue "movefader", kMoveUp
endin

</CsInstruments>
<CsScore>
i 1 0 5
e
</CsScore>
</CsoundSynthesizer>


See also

Signal Output

Credits

Author: Matt Ingalls

i-rate version new in Csound 6.04