Skip to content

Unnamed Pars

Unnamed Variant

Import

import "_IVLS/std-library/nodes/components/engine-box/unnamed-pars.ksp"

Overview

Unnamed Variant

LIBRARY MODULE

Parameter engine for index-accessed parameters without named properties.

  • Exposes Data.CreateUnnammed() to instantiate engines addressed by numeric index
  • Generic par properties generated via Data._UnnammedParProperty()
  • Per-meta-parameter properties generated via Data._UnnammedMetaProperty()

API

Properties

Name Description
property par Gets parameter value; sets value triggering par_cb and control update.
property par.#meta_par# Gets or sets the #meta_par# metadata value for a parameter.
property par.#meta_par#.all Sets #meta_par# metadata for all dimension combinations of a parameter (write-...
property par.ctrl_id Gets or sets the bound UI control ID for a parameter.
property par.ctrl_label Gets or sets the bound label control ID for a parameter.
property par.live Gets the parameter value with modulation offset applied (read-only).
property par.pad_idx Gets or sets the XY pad cursor index for a parameter.
property par.public Gets parameter value; sets value triggering par_cb with UI display flag.
property par.raw Gets or sets the parameter value directly, bypassing par_cb.
property par.ui_routine Gets or sets the UI routine binding for a parameter.

Macros

Name Description
Data.CreateUnnammed(#name#) Creates a parameter engine without named parameter properties.

Properties

property par

Gets parameter value; sets value triggering par_cb and control update.


property par.#meta_par#

Gets or sets the #meta_par# metadata value for a parameter.


property par.#meta_par#.all

Sets #meta_par# metadata for all dimension combinations of a parameter (write-only).


property par.ctrl_id

Gets or sets the bound UI control ID for a parameter.


property par.ctrl_label

Gets or sets the bound label control ID for a parameter.


property par.live

Gets the parameter value with modulation offset applied (read-only).


property par.pad_idx

Gets or sets the XY pad cursor index for a parameter.


property par.public

Gets parameter value; sets value triggering par_cb with UI display flag.


property par.raw

Gets or sets the parameter value directly, bypassing par_cb.


property par.ui_routine

Gets or sets the UI routine binding for a parameter.


Macros

Data.CreateUnnammed(#name#)

Creates a parameter engine without named parameter properties.

Preconditions:

  • #name#.DIMS, #name#.SIZES must be defined
  • data.engine_id.#name# must be defined as a unique engine ID
Parameter Description
#name# engine namespace

Side effects:

Name Type Purpose
#name#.data[] int[] Main persistent data storage
#name#.data.buffer[] int[] Instance-persistent buffer
#name#.data.mod[] int[] Modulation offsets
  • Generates generic par properties via Data._UnnammedParProperty
  • Generates per-meta-parameter properties via Data._UnnammedMetaProperty
  • Calls Data._CreateCommon() internally

Example

// TODO: Add usage example

See Also