Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

Multi-channel upsampler that inserts zeros between samples

Discussion

Multi-input upsampling module that expands the signal by a factor of L. The module uses the zero-padding method, i.e. when upsampling by a factor of L, the module will insert L-1 zeros between each sample. No filtering is incorporated within the module. It is expected that the user will incorporate the filters of their choice to systems that incorporate upsampling.tor.

Type Definition

Code Block
typedef struct _ModuleUpsampler
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
    INT32 L;                                      // Interpolation factor. L-1 zeros inserted between each sample.
} ModuleUpsamplerClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

L

int

const

0

2

1:1:1024

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, int, fract32}

MATLAB Usage

File Name: upsampler_module.m

...