control — Configurable slider controls for realtime user input.


Plugin opcode in control.

Configurable slider controls for realtime user input. Requires Winsound or TCL/TK. control reads a slider's value.


kres control knum


Note that this opcode is not available on Windows due to the implimentation of pipes on that system

knum -- number of the slider to be read.

Calling control will create a new slider on the screen. There is no theoretical limit to the number of sliders. Windows and TCL/TK use only integers for slider values, so the values may need rescaling. GUIs usually pass values at a fairly slow rate, so it may be advisable to pass the output of control through port.


See the setctrl opcode for an example.

See also

Sensing and Control: TCL/TK widgets


Author: John ffitch
University of Bath, Codemist. Ltd.
Bath, UK
May, 2000

New in Csound version 4.06