Changeset f8bf0c2 for doc/python_module.rst
- Timestamp:
- Oct 31, 2018, 4:25:09 PM (5 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- f214e9c
- Parents:
- 68daf5b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/python_module.rst
r68daf5b rf8bf0c2 26 26 $ sudo ./setup.py install 27 27 28 Using aubio in python29 --------------------- 28 Checking your installation 29 -------------------------- 30 30 31 31 Once the python module is installed, its version can be checked with: … … 41 41 $ aubio -h 42 42 43 A simple example44 ................45 46 Here is a :download:`simple script <../python/demos/demo_source_simple.py>`47 that reads all the samples from a media file:48 49 .. literalinclude:: ../python/demos/demo_source_simple.py50 :language: python51 52 Filtering an input sound file53 .............................54 55 Here is a more complete example, :download:`demo_filter.py56 <../python/demos/demo_filter.py>`. This files executes the following:57 58 * read an input media file (``aubio.source``)59 60 * filter it using an `A-weighting <https://en.wikipedia.org/wiki/A-weighting>`_61 filter (``aubio.digital_filter``)62 63 * write result to a new file (``aubio.sink``)64 65 .. literalinclude:: ../python/demos/demo_filter.py66 :language: python67 68 More demos69 ..........70 71 Check out the `python demos folder`_ for more examples.72 43 73 44 Python tests … … 77 48 ``python/tests/run_all_tests``. 78 49 79 .. _python demos folder: https://github.com/aubio/aubio/blob/master/python/demos80 50 .. _demo_filter.py: https://github.com/aubio/aubio/blob/master/python/demos/demo_filter.py 81 51 .. _python tests: https://github.com/aubio/aubio/blob/master/python/tests
Note: See TracChangeset
for help on using the changeset viewer.