Main Page | Class List | File List | Class Members | File Members

Bars.h File Reference

#include "FreqMask.h"

Go to the source code of this file.

Functions

void Periodogram (unsigned char *Samples, float *Periodogram, FrequencyMaskType fMask)
 Using fft4() described above, calculates the (real) periodogram of the real sequence;.

void Periodograms (unsigned char *samples1, unsigned char *samples2, float *periodogram1, float *periodogram2, FrequencyMaskType fMask)
 Calculates the (real) periodograms of 2 real sequences;.


Function Documentation

void Periodogram unsigned char *  Samples,
float *  Periodogram,
FrequencyMaskType  fMask
 

Using fft4() described above, calculates the (real) periodogram of the real sequence;.

Normally, WR uses the Periodograms() function; this function is only used by WrTeacher during the playback.

Parameters:
[in] samples The sequence to be analyzed
[out] periodogram The periodogram of the input sequence
fMask The frequency mask to be used. Only frequencies marked with "1" in the frequency mask are calculated, in order to save work time

void Periodograms unsigned char *  samples1,
unsigned char *  samples2,
float *  periodogram1,
float *  periodogram2,
FrequencyMaskType  fMask
 

Calculates the (real) periodograms of 2 real sequences;.

Acts as the above function.

Parameters:
[in] samples1 The first sequence
[in] samples2 The second sequence
[out] periodogram1 The first sequence's periodogram
[out] periodogram2 The second sequence's periodogram
fMask The frequency mask to be used.


Generated on Fri Jul 23 11:36:01 2004 for WhistleRecogniser by doxygen 1.3.7