feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since a4364b8 was
c60d684,
checked in by Paul Brossier <piem@piem.org>, 17 years ago
|
added simple cpp interface draft
|
-
Property mode set to
100644
|
File size:
388 bytes
|
Rev | Line | |
---|
[c60d684] | 1 | #include "aubio.h" |
---|
| 2 | |
---|
| 3 | namespace aubio { |
---|
| 4 | |
---|
| 5 | class fvec { |
---|
| 6 | |
---|
| 7 | private: |
---|
| 8 | fvec_t * self; |
---|
| 9 | |
---|
| 10 | public: |
---|
| 11 | fvec(uint_t length, uint_t channels); |
---|
| 12 | ~fvec(); |
---|
| 13 | smpl_t* operator[]( uint_t channel ); |
---|
| 14 | |
---|
| 15 | }; |
---|
| 16 | |
---|
| 17 | class cvec { |
---|
| 18 | |
---|
| 19 | private: |
---|
| 20 | cvec_t * self; |
---|
| 21 | |
---|
| 22 | public: |
---|
| 23 | smpl_t ** norm; |
---|
| 24 | smpl_t ** phas; |
---|
| 25 | |
---|
| 26 | cvec(uint_t length, uint_t channels); |
---|
| 27 | ~cvec(); |
---|
| 28 | |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.