File: python.rst

package info (click to toggle)
aubio 0.4.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,720 kB
  • sloc: python: 20,447; ansic: 20,127; makefile: 348; sh: 232
file content (59 lines) | stat: -rw-r--r-- 1,278 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.. make sure our default-domain is python here
.. default-domain:: py

.. set current module
.. currentmodule:: aubio

..
   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_analysis
   py_synth
   py_utils
   py_examples

Introduction
------------

This document provides a reference guide. For documentation on how to
install aubio, see :ref:`python-install`.

Examples included in this guide and within the code are written assuming
both `aubio` and `numpy`_ have been imported:

.. code-block:: python

    >>> import aubio
    >>> import numpy as np

`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`.

.. _numpy: https://www.numpy.org