Document toolboxDocument toolbox

Undb10Approx

Overview

Converts from decibels to linear units

Discussion

Converts from Decibels to energy using a fast polynomial approximation The maximum error in the result is 3.228661e-002 dB

Type Definition

typedef struct _ModuleUndb10Approx { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleUndb10ApproxClass;

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: undb10_approx_module.m

M=undb10_approx_module(NAME) Creates an Audio Weaver module that computes the function 10^(x/10) using a fast polynomial approximation This converts from decibels to linear units. NAME - name of the module.

Â