Skip to content

IntToFloat

Discussion

THIS MODULE IS DEPRECATED AND NOT RECOMMENDED FOR NEW DESIGNS. PLEASE USE THE TypeConversion MODULE INSTEAD.

This module converts 32-bit integer values to 32-bit floating-point values. When performing the conversion, the module rounds to the nearest integer value. The module has N input and N output pins, and the size of the ith output pin must equal the size of the ith input pin.

When bypassed the module is still active and continues to perform the conversion.

Module Pack

Deprecated

ClassID

classID = 2017

Type Definition

typedef struct _ModuleIntToFloat
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleIntToFloatClass;

Pins

Input Pins

Name in1
Description Input signal
Data type int
Channel range Unrestricted
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real

Output Pins

Name out1
Description Input signal
Data Type float

Matlab Usage

File Name: int_to_float_module.m 
 M=int_to_float_module(NAME, NUMPINS) 
 Creates an integer to floating-point conversion module for use with the 
 Audio Weaver environment. 

 Arguments:  
    NAME - name of the module. 
    NUMPINS - an optional argument allows you to specify the number of 
         input and output pins. By default, NUMPINS=1. 

Copyright (c) 2026 DSP Concepts, Inc.