mirror of https://github.com/McSinyx/palace
Clean up build
This commit is contained in:
parent
9a438ddceb
commit
1279531c01
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,178 +0,0 @@
|
|||
Reference
|
||||
=========
|
||||
|
||||
.. currentmodule:: palace
|
||||
|
||||
Audio Devices
|
||||
-------------
|
||||
|
||||
.. data:: device_names
|
||||
:type: DeviceNames
|
||||
|
||||
Read-only namespace of device names by category (``basic``, ``full`` and
|
||||
``capture``), as tuples of strings whose first item being the default.
|
||||
|
||||
.. autofunction:: query_extension
|
||||
|
||||
.. autoclass:: Device
|
||||
:members:
|
||||
|
||||
Audio Library Contexts
|
||||
----------------------
|
||||
|
||||
.. data:: CHANNEL_CONFIG
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the channel configuration
|
||||
(either ``MONO``, ``STEREO``, ``QUAD``, ``X51``, ``X61`` or ``X71``).
|
||||
|
||||
.. data:: SAMPLE_TYPE
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the sample type
|
||||
(either ``[UNSIGNED_]{BYTE,SHORT,INT}`` or ``FLOAT``).
|
||||
|
||||
.. data:: FREQUENCY
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the frequency in hertz.
|
||||
|
||||
.. data:: MONO_SOURCES
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the number of mono (3D) sources.
|
||||
|
||||
.. data:: STEREO_SOURCES
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the number of stereo sources.
|
||||
|
||||
.. data:: MAX_AUXILIARY_SENDS
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the maximum number of
|
||||
auxiliary source sends.
|
||||
|
||||
.. data:: HRTF
|
||||
:type: int
|
||||
|
||||
Context creation key to specify whether to enable HRTF
|
||||
(either ``FALSE``, ``TRUE`` or ``DONT_CARE``).
|
||||
|
||||
.. data:: HRTF_ID
|
||||
:type: int
|
||||
|
||||
Context creation key to specify the HRTF to be used.
|
||||
|
||||
.. data:: OUTPUT_LIMITER
|
||||
:type: int
|
||||
|
||||
Context creation key to specify whether to use a gain limiter
|
||||
(either ``FALSE``, ``TRUE`` or ``DONT_CARE``).
|
||||
|
||||
.. data:: distance_models
|
||||
:type: Tuple[str, ...]
|
||||
|
||||
Names of available distance models.
|
||||
|
||||
.. autofunction:: thread_local
|
||||
|
||||
.. autofunction:: current_context
|
||||
|
||||
.. autofunction:: use_context
|
||||
|
||||
.. autoclass:: Context
|
||||
:members:
|
||||
|
||||
.. autoclass:: Listener
|
||||
:members:
|
||||
|
||||
.. autoclass:: MessageHandler
|
||||
:members:
|
||||
|
||||
Resource Caching
|
||||
----------------
|
||||
|
||||
.. autofunction:: cache
|
||||
|
||||
.. autofunction:: free
|
||||
|
||||
.. autoclass:: Buffer
|
||||
:members:
|
||||
|
||||
Sources & Source Groups
|
||||
-----------------------
|
||||
|
||||
.. autoclass:: Source
|
||||
:members:
|
||||
|
||||
.. autoclass:: SourceGroup
|
||||
:members:
|
||||
|
||||
Environmental Effects
|
||||
---------------------
|
||||
|
||||
For the sake of brevity, we only document the constraints of each effect's
|
||||
properties. Further details can be found at OpenAL's `Effect Extension Guide`_
|
||||
which specifies the purpose and usage of each value.
|
||||
|
||||
.. data:: reverb_preset_names
|
||||
:type: Tuple[str, ...]
|
||||
|
||||
Names of predefined reverb effect presets in lexicographical order.
|
||||
|
||||
.. autoclass:: BaseEffect
|
||||
:members:
|
||||
|
||||
.. autoclass:: ReverbEffect
|
||||
:members:
|
||||
|
||||
.. autoclass:: ChorusEffect
|
||||
:members:
|
||||
|
||||
Decoder Interface
|
||||
-----------------
|
||||
|
||||
.. data:: sample_types
|
||||
:type: Tuple[str, ...]
|
||||
|
||||
Names of available sample types.
|
||||
|
||||
.. data:: channel_configs
|
||||
:type: Tuple[str, ...]
|
||||
|
||||
Names of available channel configurations.
|
||||
|
||||
.. data:: decoder_factories
|
||||
:type: DecoderNamespace
|
||||
|
||||
Simple object for storing decoder factories.
|
||||
|
||||
User-registered factories are tried one after another
|
||||
if :py:exc:`RuntimeError` is raised, in lexicographical order.
|
||||
Internal decoder factories are always used after registered ones.
|
||||
|
||||
.. autofunction:: decode
|
||||
|
||||
.. autofunction:: sample_size
|
||||
|
||||
.. autofunction:: sample_length
|
||||
|
||||
.. autoclass:: Decoder
|
||||
:members:
|
||||
|
||||
.. autoclass:: BaseDecoder
|
||||
:members:
|
||||
|
||||
File I/O Interface
|
||||
------------------
|
||||
|
||||
.. autofunction:: current_fileio
|
||||
|
||||
.. autofunction:: use_fileio
|
||||
|
||||
.. autoclass:: FileIO
|
||||
:members:
|
||||
|
||||
.. _Effect Extension Guide:
|
||||
https://kcat.strangesoft.net/misc-downloads/Effects%20Extension%20Guide.pdf
|
|
@ -1,16 +0,0 @@
|
|||
Tutorial
|
||||
========
|
||||
|
||||
This tutorial will guide you on:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
tutorial/context
|
||||
tutorial/play-audio
|
||||
.. comment these to add later
|
||||
Moving sources
|
||||
Adding effects
|
||||
Customize decoder
|
||||
Generate sounds
|
||||
..
|
|
@ -15,7 +15,7 @@
|
|||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="Tutorial" href="tutorial/index.html" />
|
||||
<link rel="prev" title="Welcome to our palace!" href="index.html" />
|
||||
<link rel="prev" title="Overview" href="index.html" />
|
||||
|
||||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||||
|
||||
|
@ -86,7 +86,7 @@
|
|||
<ul>
|
||||
<li>
|
||||
←
|
||||
<a href="index.html" title="Previous document">Welcome to our palace!</a>
|
||||
<a href="index.html" title="Previous document">Overview</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="tutorial/index.html" title="Next document">Tutorial</a>
|
||||
|
@ -137,7 +137,7 @@ Palace can then be compiled and installed by running:</p>
|
|||
<ul>
|
||||
<li>
|
||||
←
|
||||
<a href="index.html" title="Previous document">Welcome to our palace!</a>
|
||||
<a href="index.html" title="Previous document">Overview</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="tutorial/index.html" title="Next document">Tutorial</a>
|
||||
|
|
|
@ -1,124 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Python Module Index — palace 0.1.0 documentation</title>
|
||||
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
||||
<script src="_static/jquery.js"></script>
|
||||
<script src="_static/underscore.js"></script>
|
||||
<script src="_static/doctools.js"></script>
|
||||
<script src="_static/language_data.js"></script>
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
|
||||
|
||||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||||
|
||||
|
||||
<script>
|
||||
DOCUMENTATION_OPTIONS.COLLAPSE_INDEX = true;
|
||||
</script>
|
||||
|
||||
|
||||
</head><body>
|
||||
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
|
||||
|
||||
<div class="body" role="main">
|
||||
|
||||
|
||||
<h1>Python Module Index</h1>
|
||||
|
||||
<div class="modindex-jumpbox">
|
||||
<a href="#cap-p"><strong>p</strong></a>
|
||||
</div>
|
||||
|
||||
<table class="indextable modindextable">
|
||||
<tr class="pcap"><td></td><td> </td><td></td></tr>
|
||||
<tr class="cap" id="cap-p"><td></td><td>
|
||||
<strong>p</strong></td><td></td></tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<a href="reference.html#module-palace"><code class="xref">palace</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<h1 class="logo"><a href="index.html">palace</a></h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Navigation</h3>
|
||||
<p class="caption"><span class="caption-text">Contents:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="design.html">Design Principles</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="reference.html">Reference</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="relations">
|
||||
<h3>Related Topics</h3>
|
||||
<ul>
|
||||
<li><a href="index.html">Documentation overview</a><ul>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" />
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
©2019, 2020 Nguyễn Gia Phong et al.
|
||||
|
||||
|
|
||||
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.0.0+/d21cb1f</a>
|
||||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
2016
html/reference.html
2016
html/reference.html
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,150 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Tutorial — palace 0.2.0 documentation</title>
|
||||
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
||||
<script src="_static/jquery.js"></script>
|
||||
<script src="_static/underscore.js"></script>
|
||||
<script src="_static/doctools.js"></script>
|
||||
<script src="_static/language_data.js"></script>
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="Context creation" href="tutorial/context.html" />
|
||||
<link rel="prev" title="Installation" href="installation.html" />
|
||||
|
||||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||||
|
||||
</head><body>
|
||||
<div class="document">
|
||||
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<h3><a href="index.html">Table of Contents</a></h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">Tutorial</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tutorial/context.html">Context creation</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tutorial/play-audio.html">Play an audio</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="reference.html">Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="design.html">Design Principles</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Getting Involved</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="copying.html">Copying</a></li>
|
||||
</ul>
|
||||
<h3>Quick Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference external" href="https://pypi.org/project/palace/">
|
||||
Python Package Index
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference external"
|
||||
href="https://travis-ci.com/github/McSinyx/palace">
|
||||
Travis CI Build
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference external"
|
||||
href="https://ci.appveyor.com/project/McSinyx/palace">
|
||||
AppVeyor Build
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference external" href="https://github.com/McSinyx/palace">
|
||||
GitHub Repository
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" />
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
<div class="related top">
|
||||
|
||||
<nav id="rellinks">
|
||||
<ul>
|
||||
<li>
|
||||
←
|
||||
<a href="installation.html" title="Previous document">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="tutorial/context.html" title="Next document">Context creation</a>
|
||||
→
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="body" role="main">
|
||||
|
||||
<div class="section" id="tutorial">
|
||||
<h1>Tutorial<a class="headerlink" href="#tutorial" title="Permalink to this headline">¶</a></h1>
|
||||
<p>This tutorial will guide you on:</p>
|
||||
<div class="toctree-wrapper compound">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="tutorial/context.html">Context creation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="tutorial/play-audio.html">Play an audio</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="related bottom">
|
||||
|
||||
<nav id="rellinks">
|
||||
<ul>
|
||||
<li>
|
||||
←
|
||||
<a href="installation.html" title="Previous document">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="tutorial/context.html" title="Next document">Context creation</a>
|
||||
→
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
©2019, 2020 Nguyễn Gia Phong et al.
|
||||
|
||||
|
|
||||
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.0.3</a>
|
||||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||||
|
||||
|
|
||||
<a href="_sources/tutorial.rst.txt"
|
||||
rel="nofollow">Page source</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue