Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 4f48f620eaa1d8b8f904a92a0540d40f > files > 1013

audaspace-doc-1.3.0-18.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Audaspace: HRTFLoader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Audaspace
   &#160;<span id="projectnumber">1.3.0</span>
   </div>
   <div id="projectbrief">A high level audio library.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classHRTFLoader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">HRTFLoader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This loader provides a method to load all the HRTFs in one directory, provided they follow the following naming scheme: Example: L-10e210a.wav The first character refers to the ear from which the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> was recorded: 'L' for a left ear and 'R' for a right ear.  
 <a href="classHRTFLoader.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="HRTFLoader_8h_source.html">HRTFLoader.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:afc72193be8c9cdd72da4791c066d1d5d"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classHRTF.html">HRTF</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHRTFLoader.html#afc72193be8c9cdd72da4791c066d1d5d">loadLeftHRTFs</a> (std::shared_ptr&lt; <a class="el" href="classFFTPlan.html">FFTPlan</a> &gt; plan, const std::string &amp;fileExtension, const std::string &amp;path=&quot;&quot;)</td></tr>
<tr class="memdesc:afc72193be8c9cdd72da4791c066d1d5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads all the left ear HRTFs in the directory.Onle one ear HRTFs for all azimuths [0,360) are needed for binaural sound.  <a href="#afc72193be8c9cdd72da4791c066d1d5d">More...</a><br /></td></tr>
<tr class="separator:afc72193be8c9cdd72da4791c066d1d5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc7e275fea11dba843c2cc4d0ebd18a"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classHRTF.html">HRTF</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHRTFLoader.html#a6dc7e275fea11dba843c2cc4d0ebd18a">loadRightHRTFs</a> (std::shared_ptr&lt; <a class="el" href="classFFTPlan.html">FFTPlan</a> &gt; plan, const std::string &amp;fileExtension, const std::string &amp;path=&quot;&quot;)</td></tr>
<tr class="memdesc:a6dc7e275fea11dba843c2cc4d0ebd18a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads all the right ear HRTFs in the directory.  <a href="#a6dc7e275fea11dba843c2cc4d0ebd18a">More...</a><br /></td></tr>
<tr class="separator:a6dc7e275fea11dba843c2cc4d0ebd18a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e960ea7da90ffad7fc566cb1eec383"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classHRTF.html">HRTF</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHRTFLoader.html#a99e960ea7da90ffad7fc566cb1eec383">loadLeftHRTFs</a> (const std::string &amp;fileExtension, const std::string &amp;path=&quot;&quot;)</td></tr>
<tr class="memdesc:a99e960ea7da90ffad7fc566cb1eec383"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads all the left ear HRTFs in the directory.Onle one ear HRTFs for all azimuths [0,360) are needed for binaural sound.  <a href="#a99e960ea7da90ffad7fc566cb1eec383">More...</a><br /></td></tr>
<tr class="separator:a99e960ea7da90ffad7fc566cb1eec383"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f145e4b454cef94b8ad8a3412694ccd"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classHRTF.html">HRTF</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHRTFLoader.html#a9f145e4b454cef94b8ad8a3412694ccd">loadRightHRTFs</a> (const std::string &amp;fileExtension, const std::string &amp;path=&quot;&quot;)</td></tr>
<tr class="memdesc:a9f145e4b454cef94b8ad8a3412694ccd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads all the right ear HRTFs in the directory.  <a href="#a9f145e4b454cef94b8ad8a3412694ccd">More...</a><br /></td></tr>
<tr class="separator:a9f145e4b454cef94b8ad8a3412694ccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This loader provides a method to load all the HRTFs in one directory, provided they follow the following naming scheme: Example: L-10e210a.wav The first character refers to the ear from which the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> was recorded: 'L' for a left ear and 'R' for a right ear. </p>
<p>Next is the elevation angle followed by the 'e' character. [-90, 90] Then is the azimuth angle followed by the 'a' character. [0, 360) For a sound source situated at the left of the listener the azimuth angle regarding the left ear is 90 while the angle regarding the right ear is 270. KEMAR HRTFs use this naming scheme. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="afc72193be8c9cdd72da4791c066d1d5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc72193be8c9cdd72da4791c066d1d5d">&#9670;&nbsp;</a></span>loadLeftHRTFs() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classHRTF.html">HRTF</a>&gt; HRTFLoader::loadLeftHRTFs </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classFFTPlan.html">FFTPlan</a> &gt;&#160;</td>
          <td class="paramname"><em>plan</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fileExtension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads all the left ear HRTFs in the directory.Onle one ear HRTFs for all azimuths [0,360) are needed for binaural sound. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">plan</td><td>The plan that will be used to create the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> object. </td></tr>
    <tr><td class="paramname">fileExtension</td><td>The extension of the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> files. </td></tr>
    <tr><td class="paramname">path</td><td>The path to the folder containing the HRTFs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A shared pointer to a loaded <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> object. </dd></dl>

</div>
</div>
<a id="a99e960ea7da90ffad7fc566cb1eec383"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99e960ea7da90ffad7fc566cb1eec383">&#9670;&nbsp;</a></span>loadLeftHRTFs() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classHRTF.html">HRTF</a>&gt; HRTFLoader::loadLeftHRTFs </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fileExtension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads all the left ear HRTFs in the directory.Onle one ear HRTFs for all azimuths [0,360) are needed for binaural sound. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileExtension</td><td>The extension of the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> files. </td></tr>
    <tr><td class="paramname">path</td><td>The path to the folder containing the HRTFs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A shared pointer to a loaded <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> object. </dd></dl>

</div>
</div>
<a id="a6dc7e275fea11dba843c2cc4d0ebd18a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dc7e275fea11dba843c2cc4d0ebd18a">&#9670;&nbsp;</a></span>loadRightHRTFs() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classHRTF.html">HRTF</a>&gt; HRTFLoader::loadRightHRTFs </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classFFTPlan.html">FFTPlan</a> &gt;&#160;</td>
          <td class="paramname"><em>plan</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fileExtension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads all the right ear HRTFs in the directory. </p>
<p>Onle one ear HRTFs for all azimuths [0,360) are needed for binaural sound. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">plan</td><td>The plan that will be used to create the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> object. </td></tr>
    <tr><td class="paramname">fileExtension</td><td>The extension of the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> files. </td></tr>
    <tr><td class="paramname">path</td><td>The path to the folder containing the HRTFs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A shared pointer to a loaded <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> object. </dd></dl>

</div>
</div>
<a id="a9f145e4b454cef94b8ad8a3412694ccd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f145e4b454cef94b8ad8a3412694ccd">&#9670;&nbsp;</a></span>loadRightHRTFs() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classHRTF.html">HRTF</a>&gt; HRTFLoader::loadRightHRTFs </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fileExtension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads all the right ear HRTFs in the directory. </p>
<p>Onle one ear HRTFs for all azimuths [0,360) are needed for binaural sound. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileExtension</td><td>The extension of the <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> files. </td></tr>
    <tr><td class="paramname">path</td><td>The path to the folder containing the HRTFs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A shared pointer to a loaded <a class="el" href="classHRTF.html" title="This class represents a complete set of HRTFs.">HRTF</a> object. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>fx/<a class="el" href="HRTFLoader_8h_source.html">HRTFLoader.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>