ApplyPreset
Discussion
THIS MODULE IS DEPRECATED AND NOT RECOMMENDED FOR NEW DESIGNS. PLEASE USE THE ParamSet, ParamGet, Source, or PresetArrayHandler MODULES INSTEAD.
This module executes preset selected by the presetName on the target Preset name should be selected at construction time. If the preset name is invalid then nothing will be executed on the target.
Module Pack
Deprecated
ClassID
classID = 2001
Type Definition
typedef struct _ModuleApplyPreset
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
INT32 tiggerState; // State variable which holds trigger input state
INT32* PresetName; // Name of the preset to apply on the target
} ModuleApplyPresetClass;
Variables
Properties
| Name | Type | Usage | isHidden | Default Value | Range | Units |
|---|---|---|---|---|---|---|
| tiggerState | int | state | 1 | 0 | Unrestricted | |
| PresetName | int* | parameter | 0 | [0 x 0] | Unrestricted |
Pins
Input Pins
| Name | trigger |
| Description | Boolean trigger to run preset file |
| Data type | int |
| Channel range | 1 |
| Block size range | 1 |
| Sample rate range | Unrestricted |
| Complex support | Real and Complex |
Matlab Usage
File Name: apply_preset_module.m
M=apply_preset_module(NAME, PSBNAME)
Applies the selected preset, PSBNAME, on the target from Flash. Arguments:
NAME - name of the module.
PSBNAME - Name of the preset to be applied along with extension .psb
For example balance_left.psb
Copyright (c) 2026 DSP Concepts, Inc.