STOmni2
Overview
ST Stereo Widening module
Discussion
Omni2 Stereo widening effect applies to Loudspeakers (not headphones).
This version supports 48KHz sample frequency only and an input blocksize from 96 to 480 samples.
The module takes two arguments: Omni2CentreOutput and AudioMode.
Omni2CentreOutput : 0 to disable the center output (for 3.0), 1 to enable the center output (3.0)
AudioMode : Can be one of the eAcMode_Supported enumeration values (AMODE10 or AMODE20)
Type Definition
typedef struct _ModuleSTOmni2
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
INT32 nAPIResult; // Return status for last call into the ST API
INT32 audioMode; // Audio mode 1 - Mono, 2 - Stereo
INT32 centerEnable; // Enable center output
INT32 enable; // Block enable
INT32 strength; // Strength percent (0 - 100)
INT32 listeningAngle; // Omni2 listening angle (10, 20, or 30 degrees)
void * pGlobals; // Points to the global variables structure
} ModuleSTOmni2Class;
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
nAPIResult | int | state | 0 | 0 | Unrestricted | |
audioMode | int | const | 0 | 2 | Unrestricted | |
centerEnable | int | const | 0 | 0 | Unrestricted | |
enable | int | parameter | 0 | 1 | 0:1:1 | |
strength | int | parameter | 0 | 0 | 0:1:100 | |
listeningAngle | int | parameter | 0 | 1 | Unrestricted | degrees |
pGlobals | void * | const | 1 | Unrestricted |
Pins
Input Pins
Name: in
Description: audio input
Data type: fract32
Channel range: 2
Block size range: 96:480
Sample rate range: 48000
Complex support: Real
Output Pins
Name: out
Description: audio output
Data type: fract32
MATLAB Usage
File Name: st_omni2_module.m
M = st_omni2_module(NAME, AUDIOMODE, CENTER_ENABLE)
Audio Weaver wrapper for the ST Stereo Widening module. Arguments:
NAME - name of the module.
AUDIOMODE - Input is: 1 - Mono, 2 - Stereo
CENTER_ENABLE - enable center output (3.0)
Copyright (c) 2017 DSP Concepts, Inc. All Rights Reserved.
Author: Chris Perry