2 .. currentmodule:: aubio
7 Below is a short selection of examples using the aubio module.
12 Here is a simple script, :download:`demo_source_simple.py
13 <../python/demos/demo_source_simple.py>` that reads all the samples from a
14 media file using :class:`source`:
16 .. literalinclude:: ../python/demos/demo_source_simple.py
22 Here is another example, :download:`demo_filter.py
23 <../python/demos/demo_filter.py>`, which applies a filter to a sound file
24 and writes the filtered signal in another file:
26 * read audio samples from a file with :class:`source`
28 * filter them using an `A-weighting <https://en.wikipedia.org/wiki/A-weighting>`_
29 filter using :class:`digital_filter`
31 * write the filtered samples to a new file with :class:`sink`.
33 .. literalinclude:: ../python/demos/demo_filter.py
39 For more examples showing how to use other components of the module, see
40 the `python demos folder`_.
42 .. _python demos folder: https://github.com/aubio/aubio/blob/master/python/demos