source: doc/py_examples.rst @ b16e592

Last change on this file since b16e592 was d6561ea, checked in by Paul Brossier <piem@piem.org>, 6 years ago

[doc] re-add py_examples

  • Property mode set to 100644
File size: 1.1 KB

Examples

?
.. default-domain:: py
?
.. currentmodule:: aubio

Below is a short selection of examples using the aubio module.

Read a sound file

Here is a simple script, :download:`demo_source_simple.py <../python/demos/demo_source_simple.py>` that reads all the samples from a media file using :class:`source`:

???
.. literalinclude:: ../python/demos/demo_source_simple.py
   :language: python

Filter a sound file

Here is another example, :download:`demo_filter.py <../python/demos/demo_filter.py>`, which applies a filter to a sound file and writes the filtered signal in another file:

? ?
.. literalinclude:: ../python/demos/demo_filter.py
   :language: python

More examples

For more examples showing how to use other components of the module, see the python demos folder.

Note: See TracBrowser for help on using the repository browser.