AnsweredAssumed Answered

Audio data format conversion

Question asked by Rude on Sep 29, 2017
Latest reply on Oct 10, 2017 by Rude

Hi, this question is about the adc_dac_playback example program supplied with the ADZS-SC589-EZLITE kit. In adc_dac_playback.c, audio sample data is available in line 794 for processing, in, i presume, 24-bit two's complement format. How do i get to floating point data for floating point processing?? In assembly it would something like this:

 

r0 = -31;

r1 = dm(fixed_point_data);

f1 = float r1 by r0;

 

Regards, Ruud.

Outcomes