Skip to content

NamNodeConfig

Defined in: packages/chain/src/nodes/nam-node.ts:9

readonly engine: NamEngineModule

Defined in: packages/chain/src/nodes/nam-node.ts:11

An instantiated engine. Async instantiation belongs to the caller — see nam/engine.js.


readonly optional inputGainDb?: number

Defined in: packages/chain/src/nodes/nam-node.ts:17

Input trim in dB, applied before the model. Clamped to -24..24.


readonly model: string

Defined in: packages/chain/src/nodes/nam-node.ts:13

The .nam document’s text. Parsed by the engine, not here.


readonly optional outputGainDb?: number

Defined in: packages/chain/src/nodes/nam-node.ts:19

Output trim in dB, applied after the model. Clamped to -24..24.


readonly optional slimSize?: number

Defined in: packages/chain/src/nodes/nam-node.ts:15

A2/slimmable size in [0,1]; negative selects full size. Ignored by other architectures.