File: classMooreSpread.tex

package info (click to toggle)
libaudiomask 1.0-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 17,668 kB
  • ctags: 636
  • sloc: cpp: 787; perl: 108; makefile: 67
file content (80 lines) | stat: -rw-r--r-- 4,346 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
\hypertarget{classMooreSpread}{
\section{MooreSpread Class Reference}
\label{classMooreSpread}\index{MooreSpread@{MooreSpread}}
}


{\ttfamily \#include $<$MooreSpread.H$>$}

Inheritance diagram for MooreSpread:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{classMooreSpread}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMooreSpread_aee80952d98157b7f5459182c7e0eadb6}{
\hyperlink{classMooreSpread_aee80952d98157b7f5459182c7e0eadb6}{MooreSpread} (int fBankCount)}
\label{classMooreSpread_aee80952d98157b7f5459182c7e0eadb6}

\begin{DoxyCompactList}\small\item\em Instantiation requiring the number of filter banks. \item\end{DoxyCompactList}\item 
\hypertarget{classMooreSpread_adf8904d9cb996927b0b7b0cd3508a98f}{
\hyperlink{classMooreSpread_adf8904d9cb996927b0b7b0cd3508a98f}{$\sim$MooreSpread} (void)}
\label{classMooreSpread_adf8904d9cb996927b0b7b0cd3508a98f}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
\hypertarget{classMooreSpread_a4ef2cfe6a5fa5a85fb33ed0bd425d510}{
void \hyperlink{classMooreSpread_a4ef2cfe6a5fa5a85fb33ed0bd425d510}{setCFreq} (int which, double value)}
\label{classMooreSpread_a4ef2cfe6a5fa5a85fb33ed0bd425d510}

\begin{DoxyCompactList}\small\item\em Method for setting the centre freqs. \item\end{DoxyCompactList}\item 
void \hyperlink{classMooreSpread_af7afee40cca47459499927e40f505129}{excite} (double $\ast$$\ast$filterBankOutput, int sampleCount, int sampleFreq)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMooreSpread_aea7e6dd1e8a6e4b82fa03b864b9aae09}{
double $\ast$ \hyperlink{classMooreSpread_aea7e6dd1e8a6e4b82fa03b864b9aae09}{centreFreqs}}
\label{classMooreSpread_aea7e6dd1e8a6e4b82fa03b864b9aae09}

\begin{DoxyCompactList}\small\item\em The centreFrequencies of each filter bank. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMooreSpread_a379167689352795fd121aa2799ac214f}{
int \hyperlink{classMooreSpread_a379167689352795fd121aa2799ac214f}{bankCount}}
\label{classMooreSpread_a379167689352795fd121aa2799ac214f}

\begin{DoxyCompactList}\small\item\em The number of sub-\/bankds in the filter bank. \item\end{DoxyCompactList}\item 
\hypertarget{classMooreSpread_a0a8028884ae63c64d298f1fff45dc617}{
double $\ast$ \hyperlink{classMooreSpread_a0a8028884ae63c64d298f1fff45dc617}{memory}}
\label{classMooreSpread_a0a8028884ae63c64d298f1fff45dc617}

\begin{DoxyCompactList}\small\item\em Memory used in the operation. \item\end{DoxyCompactList}\item 
\hypertarget{classMooreSpread_ad6ad1e88f9c8b89a84b0b9066c74a957}{
double $\ast$$\ast$ \hyperlink{classMooreSpread_ad6ad1e88f9c8b89a84b0b9066c74a957}{spread}}
\label{classMooreSpread_ad6ad1e88f9c8b89a84b0b9066c74a957}

\begin{DoxyCompactList}\small\item\em The Moore/Glasberg spreading due to the filters. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Finds the Moore spreading function. First implementation for the Gamma Chirp filter bank, but possible for any perceptual filter bank. References : \mbox{[}1\mbox{]} 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 

\subsection{Member Function Documentation}
\hypertarget{classMooreSpread_af7afee40cca47459499927e40f505129}{
\index{MooreSpread@{MooreSpread}!excite@{excite}}
\index{excite@{excite}!MooreSpread@{MooreSpread}}
\subsubsection[{excite}]{\setlength{\rightskip}{0pt plus 5cm}void MooreSpread::excite (double $\ast$$\ast$ {\em filterBankOutput}, \/  int {\em sampleCount}, \/  int {\em sampleFreq})}}
\label{classMooreSpread_af7afee40cca47459499927e40f505129}
Method for finding the Moore Spread 
\begin{DoxyParams}{Parameters}
\item[{\em filterBankOutput}]The output of the filter bank, an array of magnitudes for each filter \item[{\em sampleCount}]The number of samples in each sub-\/band or filter \item[{\em sampleFreq}]The sample frequency of the time domain signal \end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
MooreSpread.H\item 
MooreSpread.cc\end{DoxyCompactItemize}