feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 1e7a8f9 was
1ee4033,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
python/setup.py: move package_dir to lib
|
-
Property mode set to
100644
|
File size:
276 bytes
|
Line | |
---|
1 | import numpy |
---|
2 | from _aubio import * |
---|
3 | |
---|
4 | class fvec(numpy.ndarray): |
---|
5 | |
---|
6 | def __new__(self, length = 1024, **kwargs): |
---|
7 | if type(length) == type([]): |
---|
8 | return numpy.array(length, dtype='float32', **kwargs) |
---|
9 | return numpy.zeros(length, dtype='float32', **kwargs) |
---|
Note: See
TracBrowser
for help on using the repository browser.