[doc] add py_temporal page
[aubio.git] / doc / python.rst
index 038055a..7a89548 100644 (file)
@@ -7,23 +7,51 @@
 ..
    we follow numpy type docstrings, see:
    https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard
+..
+   note: we do not import aubio's docstring, which will be displayed from an
+   interpreter.
+
+.. .. automodule:: aubio
+
 
 .. _python:
 
 Python documentation
 ====================
 
+This module provides a number of classes and functions for the analysis of
+music and audio signals.
+
+Contents
+--------
+
+.. toctree::
+   :maxdepth: 1
+
+   py_datatypes
+   py_io
+   py_temporal
+   py_spectral
+   py_utils
+   py_examples
 
-.. midiconv.py
+Introduction
+------------
 
-.. autofunction:: note2midi
+This document provides a reference guide. For documentation on how to
+install aubio, see :ref:`python-install`.
 
-.. autofunction:: midi2note
+Examples included in this guide and within the code are written assuming
+both `aubio` and `numpy`_ have been imported:
 
-.. autofunction:: freq2note
+.. code-block:: python
 
-.. autofunction:: note2freq
+    >>> import aubio
+    >>> import numpy as np
 
-.. slicing.py
+`Changed in 0.4.8` :  Prior to this version, almost no documentation was
+provided with the python module. This version adds documentation for some
+classes, including :class:`fvec`, :class:`cvec`, :class:`source`, and
+:class:`sink`.
 
-.. autofunction:: slice_source_at_stamps
+.. _numpy: https://www.numpy.org