/
(8.D.2.6) Db20
(8.D.2.6) Db20
Overview
Converts from linear units to decibels
Discussion
Converts from Linear units to Decibels using the math library.
Type Definition
typedef struct _ModuleDb20
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleDb20Class;
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: db20_module.m
M=db20_module(NAME)
Creates an Audio Weaver module that computes the function 20*log10(abs(x))
using the math library. This converts from linear units to decibels.
NAME - name of the module.
, multiple selections available,
Related content
(8.D.2.4) Db20
(8.D.2.4) Db20
More like this
(8.D.2.5) Db20
(8.D.2.5) Db20
More like this
(8.D.2.7) Db20
(8.D.2.7) Db20
More like this
(8.D.2.3) Db20
(8.D.2.3) Db20
More like this
(8.D.2.2 ) Db20
(8.D.2.2 ) Db20
More like this
(8.D.2.2) Db20
(8.D.2.2) Db20
More like this