source: python/README @ 52efae1

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 52efae1 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
Line 
1Python aubio module
2===================
3
4This module wraps the aubio library for python using the numpy module.
5
6See the [Python/C API Reference
7Manual] (http://docs.python.org/c-api/index.html) and the [Numpy/C API
8Reference](http://docs.scipy.org/doc/numpy/reference/c-api.html)
9
10Compiling python aubio
11----------------------
12
13You should be able to build the aubio python module out of the box:
14
15    $ python setup.py build
16
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
36
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.