diff options
Diffstat (limited to 'Graphic_Equalizer_v1.0/doc/html/fft_8hch-source.html')
-rw-r--r-- | Graphic_Equalizer_v1.0/doc/html/fft_8hch-source.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Graphic_Equalizer_v1.0/doc/html/fft_8hch-source.html b/Graphic_Equalizer_v1.0/doc/html/fft_8hch-source.html new file mode 100644 index 0000000..c741973 --- /dev/null +++ b/Graphic_Equalizer_v1.0/doc/html/fft_8hch-source.html @@ -0,0 +1,48 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>Graphic Equalizer 2: C:/Project Marcel & Oliver/Graphic_Equalizer/include/fft.hch Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.9.1 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">C:</a> / <a class="el" href="dir_000001.html">Project Marcel & Oliver</a> / <a class="el" href="dir_000002.html">Graphic_Equalizer</a> / <a class="el" href="dir_000003.html">include</a></div> +<h1>fft.hch</h1><a href="fft_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a><a class="code" href="fft_8hch.html#a0">00001</a> <span class="preprocessor">#define NUMBER_OF_COLUMNS 8</span> +<a name="l00002"></a><a class="code" href="fft_8hch.html#a1">00002</a> <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_POINTS (1<<NUMBER_OF_COLUMNS)</span> +<a name="l00003"></a><a class="code" href="fft_8hch.html#a2">00003</a> <span class="preprocessor"></span><span class="preprocessor">#define NUMBER_OF_FREQUENCIES (NUMBER_OF_POINTS>>1)</span> +00004 <span class="preprocessor"></span> +00005 <span class="preprocessor">#if HARDWARE_MULTIPLY</span> +00006 <span class="preprocessor"></span><span class="comment">/*</span> +00007 <span class="comment"> * This routine obtains the audio data from the audio I/O component and copies this </span> +00008 <span class="comment"> * data to local arrays for calculating purposes, and calls the FFT algorithm.</span> +00009 <span class="comment">*/</span> +00010 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(<span class="keywordtype">signed</span> 18 *pcm_audio); +00011 +00012 <span class="comment">/* This routine calls the ifft algorithm and after completing that it obtains the </span> +00013 <span class="comment"> * modified audio data and copies that to the output arrays of the audio I/O component. </span> +00014 <span class="comment"> * Besides that it also fills the array used by the display routine for displaying the waveform.</span> +00015 <span class="comment">*/</span> +00016 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(<span class="keywordtype">signed</span> 18 *modified_audio ,<span class="keywordtype">unsigned</span> 6 *ifft_info); +00017 <span class="preprocessor">#else</span> +00018 <span class="preprocessor"></span><span class="comment">/*</span> +00019 <span class="comment"> * This routine obtains the audio data from the audio I/O component and copies this </span> +00020 <span class="comment"> * data to local arrays for calculating purposes, and calls the FFT algorithm.</span> +00021 <span class="comment">*/</span> +00022 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a4">perform_fft</a>(<span class="keywordtype">signed</span> 16 *pcm_audio); +00023 +00024 <span class="comment">/* This routine calls the ifft algorithm and after completing that it obtains the </span> +00025 <span class="comment"> * modified audio data and copies that to the output arrays of the audio I/O component. </span> +00026 <span class="comment"> * Besides that it also fills the array used by the display routine for displaying the waveform.</span> +00027 <span class="comment">*/</span> +00028 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a5">perform_ifft</a>(<span class="keywordtype">signed</span> 16 *modified_audio ,<span class="keywordtype">unsigned</span> 6 *ifft_info); +00029 <span class="preprocessor">#endif</span> +00030 <span class="preprocessor"></span> +00031 <span class="comment">/* This routine equalizes the frequencies derived by the FFT calculation, </span> +00032 <span class="comment"> * according to the settings of the equalizer bars.</span> +00033 <span class="comment">*/</span> +00034 <span class="keywordtype">void</span> <a class="code" href="fft_8hcc.html#a6">equalize_audio</a>(<a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata); +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:37:06 2004 for Graphic Equalizer 2 by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> +</body> +</html> |