Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
typedef struct _ModulePow10toXModulePow2Fract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModulePow10toXClassModulePow2Fract32Class;

Pins

Input Pins

Name: in

Description: Input signal

Data type: floatfract32

Channel range: Unrestricted

...

Description: Output signal

Data type: floatfract32

MATLAB Usage

File Name: pow10toXpow2_fract32_module.m

Code Block
 M =pow10toX pow2_fract32_module(NAME)
 Creates an Audio Weaver module that computes the function 10^x of N
 using the standard math library. 2^x using a fast polynomial
 approximation.  The input is in Q6.26 format and the output is in 
 Q16.16 format.  Arguments:
    NAME - name of the module.

...