source: cpp/aubiocpp.h @ 9ae6e03

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 9ae6e03 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
Line 
1#include "aubio.h"
2
3namespace 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.