Skip to main content
Skip table of contents

Undb10Fract32

Overview

Computes the undb10 using fixed-point math.

Discussion

Computes the undb10 function using fixed-point math. The input and output fixed-point data is in Q9.23 format and must be in the range [-69 +24] dB. The result is accurate to about 0.005 dB, or about 0.092%.

Type Definition

CODE
typedef struct _ModuleUndb10Fract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleUndb10Fract32Class;

Pins

Input Pins

Name: in

Description: Input signal

Data type: fract32

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: fract32

MATLAB Usage

File Name: undb10_fract32_module.m

CODE
 M = undb10_fract32_module(NAME)
 Creates an Audio Weaver module that converts from linear to dB units using
 fixed-point arithmetic.  The input and output formats are assumed to be Q9.23.
 Arguments:
    NAME - name of the module.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.