PureData CEAMMC library web documentation
available since version: 0.1
Rectangle matrix of toggles. Note: all matrix operations have following cell address format - ROW COL. On click outputs message with format [cell ROW COL VALUE(
ROW
matrix rows
type: int
COL
matrix columns
type: int
dump
dumps all object info to Pd console window.
flip
flips all matrix cells
R row index
type: int
required: True
C column index
type: int
required: True
R row index
type: int
required: True
C column index
type: int
required: True
get cells
output all cells as separate messages [cell R C VALUE(
get cols
output all columns as separate messages [col N V0 V1…(
get list
output all cell values as list, row by raw. [0 1 1 1 0…(
get rows
output all rows as separate messages [row N V0 V1…(
interp
for this object acts as load, no interpolation performed
X top left x-coord
type: float
required: True
Y top right y-coord
type: float
required: True
random
fill matrix random and output
reset
uncheck all matrix cells. No output
N column index
type: int
required: True
… cell values (1 - checked, 0 - unchecked)
type: list
required: True
N row index
type: int
required: True
… cell values (1 - checked, 0 - unchecked)
type: list
required: True
@rows
Get/set number of matrix rows
type: int
range: 1..64
default: 4
@cols
Get/set number of matrix columns
type: int
range: 1..64
default: 8
@current_row
Get/set current row index. -1 if not specified. This property is not saved in patch
type: int
min value: -1
default: -1
@current_col
Get/set current column index. -1 if not specified. This property is not saved in patch
type: int
min value: -1
default: -1
@presetname
Get/set preset name for using with [ui.preset]
type: symbol
default: (null)
@send
Get/set send destination
type: symbol
default: (null)
@receive
Get/set receive source
type: symbol
default: (null)
@size
Get/set element size (width, height pair)
type: list
default: 105 53
@pinned
Get/set pin mode. if 1 - put element to the lowest level
type: bool
default: 0
@active_color
Get/set active color (list of red, green, blue values in 0-1 range)
type: list
default: 0 0.75 1 1
@current_color
Get/set current col/row color (list of red, green, blue values in 0-1 range)
type: list
default: 1 0.75 0 1
@background_color
Get/set element background color (list of red, green, blue values in 0-1 range)
type: list
default: 0.93 0.93 0.93 1
@border_color
Get/set border color (list of red, green, blue values in 0-1 range)
type: list
default: 0.6 0.6 0.6 1
@fontsize
Get/set fontsize
type: int
range: 4..100
default: 11
@fontname
Get/set fontname
type: symbol
enum: Courier, DejaVu, Helvetica, Monaco, Times
default: Helvetica
@fontweight
Get/set font weight
type: symbol
enum: normal, bold
default: normal
@fontslant
Get/set font slant
type: symbol
enum: roman, italic
default: roman
See also: [ui.radio] [ui.toggle]
Authors: Pierre Guillot, Serge Poltavsky
License: GPL3 or later