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