<?php $isip_window_title = "ISIP Homepage"; ?>
<?php include("/data/isip/www/templates/documentation/header/header.html"); ?>
<?php include("/data/isip/www/templates/documentation/body/bar.html"); ?>

<!--#set var="isip_page_title" value="SIGNAL PROCESSING" -->
<!--#include virtual="/hse/ies/templates/documentation/body/title.html" -->

<b>Library Name:</b> lib_sp.a

<br><br>
<b>Introduction:</b>

<br><br>

<ul>
  The signal processing library builds on the algorithm library,
  and implements a general front end for signal data processing.
  This library contains classes, such as Recipe, that support the
  signal flow graph handling mechanisms found in <i>isip_transform</i>.
  This library also contains classes such as FrontEnd
  that provide a high-level interface to the signal processing
  components of a speech recognition system.
</ul>

<b>Example:</b>
<ul>

Let's begin with an <a href="../../doc/examples/class/sp/sp_example_00/">example</a>:

<pre>
01  // file: $isip/doc/examples/class/sp/sp_example_00/example.cc
02  // version: $Id: index.html 10653 2007-02-24 20:33:16Z tm334 $
03  //
04
05  // isip include files
06  //
07  #include <AudioFrontEnd.h>
08
09  // main program starts here
10  //
11  int main(int argc, const char** argv) {
12
13    // declare local variables
14    //
15    AudioFrontEnd reg_fe;
16    Filename reg_file(L"$ISIP_DEVEL/doc/examples/data/audio/little_endian.raw");
17
18    // setup the front end
19    //
20    Sof sof;
21    sof.open(L"diagnose_filter.sof");
22    reg_fe.read(sof, 0);
23    sof.close();
24
25    // perform data processing through the front end
26    //
27    Filename input(reg_file);
28    Filename output(L".new_audio0.raw");
29    Console::put(L"running file 0");
30    reg_fe.setDebug(Integral::BRIEF);
31    reg_fe.run(output, input);
32
33    // exit gracefully
34    //
35    Integral::exit();
36  }
</ul>
</pre>

<b>Explanation:</b>

<br><br>

<ul>

We first configure a AudioFrontEnd object by reading its parameters
from the parameter file (line 22). Then we specify the input (line 27)
and output (line 28) filename. After running the AudioFrontEnd (line
31), the output file stores the output of signal data processing.

<br><br>
  
  The signal processing classes that are available include:

  <br><br>

  <center>
  <table border=6>
  
  <tr>
  <td> <a href="./AudioFrontEnd/index.html">AudioFrontEnd</a> </td>
  <td> <a href="./Component/index.html">Component</a> </td>
  <td> <a href="./FrontEnd/index.html">FrontEnd</a> </td>
  <td> <a href="./FtrBuffer/index.html">FtrBuffer</a> </td>
  <td> <a href="./Recipe/index.html">Recipe</a> </td>
  <td> <a href="./SignalDetector/index.html">SignalDetector</a> </td>
  </tr>
  
  </table>
  </center>
  
  <br>
  
  The software corresponding to the examples demonstrated in this document
  can be found in our

  <a href="../../doc/examples/">documentation directory</a>
  
  under

  <a href="../../doc/examples/class/sp/">class/sp/</a>.
</ul>

<!--#include virtual="/hse/ies/templates/documentation/footer/footer.html" -->

