CRI ADX  Last Updated: 2024-07-17 10:47 p
CriAtomExAsrBusAnalyzerInfoTag Struct Reference

Level measurement information. More...

#include <cri_le_atom_asr.h>

Data Fields

CriSint32 num_channels
 Number of valid channels. More...
 
CriFloat32 rms_levels [CRIATOMEXASR_MAX_CHANNELS]
 RMS level. More...
 
CriFloat32 peak_levels [CRIATOMEXASR_MAX_CHANNELS]
 Peak level. More...
 
CriFloat32 peak_hold_levels [CRIATOMEXASR_MAX_CHANNELS]
 Peak hold level. More...
 

Detailed Description

Level measurement information.

Description:
Structure used for acquiring the bus level measurement information.
This is used in the criAtomExAsr_GetBusAnalyzerInfo function.
Remarks:
Each level value is the scaling factor for the amplitude of the sound data (unit is not decibel).
The value can be converted into a decibel notation by using the following code.
dB = 10.0f * log10f(level);
See also
criAtomExAsr_GetBusAnalyzerInfo

Field Documentation

◆ num_channels

CriSint32 num_channels

Number of valid channels.

Description:
Specifies the number of channels with valid measurement results.

◆ rms_levels

CriFloat32 rms_levels[CRIATOMEXASR_MAX_CHANNELS]

RMS level.

Description:
Calculated RMS (root mean square) of the sound amplitude within a measurement interval.
This is handled as the sound pressure level.

◆ peak_levels

CriFloat32 peak_levels[CRIATOMEXASR_MAX_CHANNELS]

Peak level.

Description:
Maximum value of the sound amplitude within a measurement interval.

◆ peak_hold_levels

CriFloat32 peak_hold_levels[CRIATOMEXASR_MAX_CHANNELS]

Peak hold level.

Description:
Peak level value being held.

The documentation for this struct was generated from the following file: