gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
MooreSpread Class Reference

#include <MooreSpread.H>

Inheritance diagram for MooreSpread:
[legend]

Public Member Functions

 MooreSpread (int fBankCount)
 Instantiation requiring the number of filter banks. More...
 
 ~MooreSpread (void)
 Destructor. More...
 
void setCFreq (int which, double value)
 Method for setting the centre freqs. More...
 
void excite (double **filterBankOutput, int sampleCount, int sampleFreq)
 

Public Attributes

double * centreFreqs
 The centreFrequencies of each filter bank. More...
 

Protected Attributes

int bankCount
 The number of sub-bankds in the filter bank. More...
 
double * memory
 Memory used in the operation. More...
 
double ** spread
 The Moore/Glasberg spreading due to the filters. More...
 

Detailed Description

Finds the Moore spreading function. First implementation for the Gamma Chirp filter bank, but possible for any perceptual filter bank. References : [1] Moore B.C.J., Glasberg B.R. (1983) ``Suggested formulae for calculating auditory-filter bandwidths and excitation patterns'', J. Acous. Soc. Am., 74, 750-753

Definition at line 34 of file MooreSpread.H.

Constructor & Destructor Documentation

◆ MooreSpread()

MooreSpread::MooreSpread ( int  fBankCount)

Instantiation requiring the number of filter banks.

Definition at line 24 of file MooreSpread.C.

Here is the call graph for this function:

◆ ~MooreSpread()

MooreSpread::~MooreSpread ( void  )

Destructor.

Definition at line 44 of file MooreSpread.C.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ excite()

void MooreSpread::excite ( double **  filterBankOutput,
int  sampleCount,
int  sampleFreq 
)

Method for finding the Moore Spread

Parameters
filterBankOutputThe output of the filter bank, an array of magnitudes for each filter
sampleCountThe number of samples in each sub-band or filter
sampleFreqThe sample frequency of the time domain signal

Definition at line 57 of file MooreSpread.C.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCFreq()

void MooreSpread::setCFreq ( int  which,
double  value 
)
inline

Method for setting the centre freqs.

Definition at line 43 of file MooreSpread.H.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bankCount

int MooreSpread::bankCount
protected

The number of sub-bankds in the filter bank.

Definition at line 36 of file MooreSpread.H.

◆ centreFreqs

double* MooreSpread::centreFreqs

The centreFrequencies of each filter bank.

Definition at line 40 of file MooreSpread.H.

◆ memory

double* MooreSpread::memory
protected

Memory used in the operation.

Definition at line 37 of file MooreSpread.H.

◆ spread

double** MooreSpread::spread
protected

The Moore/Glasberg spreading due to the filters.

Definition at line 38 of file MooreSpread.H.


The documentation for this class was generated from the following files:
gtkIOStream: MooreSpread Class Reference
GTK+ IOStream  Beta