RNBO Objects & Operators gen~
Open Help

gen~

gen~

Description

The gen~ object turns an embedded Gen patcher into signal processing routines of optimized native machine code. The Gen patcher can be built from a wide set of low-level Gen operator objects as well as embedded code expressions.

Arguments

t [symbol]

Optional

Title of the Gen patcher.

title [symbol]

Optional

Title of the Gen patcher.

Inlets

in1 [auto]

Send signals to the Gen patcher.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

exposeparams [bool] (default: false)

If enabled, Gen params will be exposed as params of the top-level RNBO patcher.

expr [symbol]

The attribute @expr , followed by a valid GenExpr expression, will describe the computation for this gen~ object. For example, @expr out1=0.74 will cause the object to output the value of 0.74 as a signal.

file [symbol]

This attribute specifies the name of a .gendsp patcher to be loaded which already exists and is in the Max search path. If no Gen patcher is specified, an embedded Gen patcher is created instead.

title [symbol]

Title of the Gen patcher.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [auto]

Send signals to the Gen patcher.

reset [bang]

Sending a bang to a set reset object connected to gen~ will reset all param and history objects to their initial values.

See Also

Name Description