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