source: python/README @ ba507ff

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since ba507ff was 92c83ccc, checked in by Paul Brossier <piem@piem.org>, 12 years ago

python/: move generator.py to lib, improve README, remove env_ files, update MANIFEST.in

  • Property mode set to 100644
File size: 980 bytes
RevLine 
[f719589]1Python aubio module
2===================
3
4This module wraps the aubio library for python using the numpy module.
5
6See the [Python/C API Reference
[f400ea1]7Manual] (http://docs.python.org/c-api/index.html) and the [Numpy/C API
[f719589]8Reference](http://docs.scipy.org/doc/numpy/reference/c-api.html)
9
[49505f7]10Compiling python aubio
11----------------------
[f719589]12
[49505f7]13You should be able to build the aubio python module out of the box:
[f719589]14
[92c83ccc]15    $ python setup.py build
[c3d286c]16
[92c83ccc]17To use the python module without installing it, set PYTHONPATH:
18
19    $ export PYTHONPATH=$PYTHONPATH:$PWD/`ls -rtd build/lib.* | head -1`:$PWD/tests
20
21And LD_LIBRARY_PATH:
22
23    $ export LD_LIBRARY_PATH=$PWD/../build/src
24
25Or on macosx systems:
26
27    $ export DYLD_LIBRARY_PATH=$PWD/../build/src
28
29The you should be able to run the tests:
30
31    $ ./tests/run_all_tests
32
33And to try out the demos:
34
35    $ ./demos/demo_source.wav ~/test.wav
[f719589]36
[49505f7]37Additional tools
38----------------
39
40To use some of the demo scripts, you will need
41[matplotlib](http://matplotlib.org/).
Note: See TracBrowser for help on using the repository browser.