feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 7e204d01 was
974dddc,
checked in by Paul Brossier <piem@piem.org>, 17 years ago
|
move tests/python/demo to tests/, add localaubio.py module helpers
|
-
Property mode set to
100644
|
File size:
352 bytes
|
Rev | Line | |
---|
[974dddc] | 1 | |
---|
| 2 | try: |
---|
| 3 | from aubio.aubiowrapper import * |
---|
| 4 | except ImportError: |
---|
| 5 | try: |
---|
| 6 | import os |
---|
| 7 | import sys |
---|
| 8 | cur_dir = os.path.dirname(sys.argv[0]) |
---|
| 9 | sys.path.append(os.path.join(cur_dir,'..','..','python')) |
---|
| 10 | sys.path.append(os.path.join(cur_dir,'..','..','python','aubio','.libs')) |
---|
| 11 | from aubio.aubiowrapper import * |
---|
| 12 | except ImportError: |
---|
| 13 | raise |
---|
Note: See
TracBrowser
for help on using the repository browser.