Skip to content

FractionalDelayV2Fract32

Overview

Provides fractional delay

Discussion

This subsystem implements a delay module which provides a fractional delay. This can be achieved by cacading the delay module and a fir filter which is designed to provide the fractional delay of 0.0to 1.0. Filter will have own set of coefficients for each fractional value which are calculated at design time.

Module Pack

Advanced

ClassID

classID = 1419

Type Definition

typedef struct _ModuleFractionalDelayV2Fract32
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
INT32 maxDelay;                               // Maximum delay, in samples. The size of the delay buffer is maxDelay*numChannels.
FLOAT32 floatCurrentDelay;                    // total delay
awe_modDelayInstance *ConstantDelay; // Time delay in which the delay is specified in samplesawe_modFIRFract32Instance *FIRmodule; // FIR fract32 filter} ModuleFractionalDelayV2Fract32Class;

Variables

Properties

Name Type Usage isHidden Default Value Range Units
maxDelay int const 0 300 Unrestricted samples
floatCurrentDelay float parameter 0 20 20:321 Samples

Pins

Input Pins

Name in
Description Audio Input
Data type fract32
Channel range Unrestricted
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real

Output Pins

Name out
Description Audio output
Data Type fract32

Scratch Pins

Channel Count 1
Block size 32
Sample rate 48000

Matlab Usage

File Name: fractional_delay_v2_fract32_module.m 
 Create a subsystem that implements fractional delay module 
   ARGUMENTS: 
   NAME - name of the module. 
   MAXDELAY - maximum delay provided by the module. 

Copyright (c) 2026 DSP Concepts, Inc.