Document toolboxDocument toolbox

(8.D.1.2) Undb20

Overview

Converts from decibels to linear units

Discussion

Converts from Decibels to Linear units using the math library.

Type Definition

typedef struct _ModuleUndb20 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleUndb20Class;

Pins

Input Pins

Name: in

Description: Input signal

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: float

MATLAB Usage

File Name: undb20_module.m

M=undb20_module(NAME) Creates an Audio Weaver module that computes the function 10^(x/20) using the math library. This converts from decibels to energy units. NAME - name of the module.

Â