Overview
Converts from energy to decibels
Discussion
Converts from Engery to Decibels using the math library.
Type Definition
Code Block |
---|
typedef struct _ModuleDb10 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleDb10Class; |
Pins
Input Pins
Name: in
Description: Input signal
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: db10_module.m
Code Block |
---|
M=db10_module(NAME) Creates an Audio Weaver module that computes the function 10*log10(x) using the math library. This converts from energy to decibels. NAME - name of the module. |
...