Class AimpVisualData
This structure contains visualization data that needed for frame rendering.
Data was calculated before the volume, balance and anti-clipping filters were applied.
Inheritance
Inherited Members
Namespace: AIMP.SDK.Visuals
Assembly: AIMP.SDK.dll
Syntax
public class AimpVisualData
Properties
Peaks
An array of two elements of float (32-bit floating point value) type. Current signal level in left and right channels[0.0.. 1.0..infinity], where 1.0 is equals to 0 dB
Declaration
public float[] Peaks { get; set; }
Spectrum
An array of three elements of float type. 0 - spectrum of left channel 1 - spectrum of right channel 2 - spectrum of both channels This field is populated only if the extension returns the RQDDataSpectrum flag in the GetFlags method.
Here is short table of relationships between array index and freq of the signal: 0 ~ 20 Hz 10 ~ 200 Hz 20 ~ 400 Hz 30 ~ 630 Hz 40 ~ 870 Hz 50 ~ 1.1 KHz 60 ~ 1.4 KHz 70 ~ 1.7 KHz 80 ~ 2.1 KHz 90 ~ 2.5 KHz 100 ~ 3.0 KHz 110 ~ 3.5 KHz 120 ~ 4.0 KHz 130 ~ 4.5 KHz 140 ~ 5.2 KHz 150 ~ 6.0 KHz 160 ~ 6.7 KHz 170 ~ 7.6 KHz 180 ~ 8.5 KHz 190 ~ 9.6 KHz 200 ~ 11.0 KHz 210 ~ 12.0 KHz 220 ~ 13.5 KHz 230 ~ 15.0 KHz 240 ~ 16.8 KHz 255 ~ 20.0 KHz
Declaration
public float[][] Spectrum { get; set; }
WaveForm
An array of two elements of float type. Source data of left and right channels in wave-form. This field is populated only if the extension returns the RQDDataWave flag in the GetFlags method.
32-bit float per sample. Sample range is [-infinity.. -1.0 .. 0.0 .. 1.0 .. infinity], where |1.0| is equals to 0 dbFS.
Declaration
public float[][] WaveForm { get; set; }