comparison src/btrack_plus/OnsetDetectionFunction.h @ 8:184a7c232049 tip

changed files since updating computer
author Venetian
date Thu, 14 Aug 2014 17:53:57 +0100
parents 93b9a9471011
children
comparison
equal deleted inserted replaced
7:b1c13e8bec26 8:184a7c232049
20 public: 20 public:
21 OnsetDetectionFunction(); // Constructor 21 OnsetDetectionFunction(); // Constructor
22 OnsetDetectionFunction(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); // Constructor (with arguments) 22 OnsetDetectionFunction(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); // Constructor (with arguments)
23 ~OnsetDetectionFunction(); // Destructor 23 ~OnsetDetectionFunction(); // Destructor
24 void initialise(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); // Initialisation Function 24 void initialise(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); // Initialisation Function
25 25
26 double getDFsample(float inputbuffer[]);
26 double getDFsample(double inputbuffer[]); // process input buffer and calculate detection function sample 27 double getDFsample(double inputbuffer[]); // process input buffer and calculate detection function sample
27 void set_df_type(int arg_df_type); // set the detection function type 28 void set_df_type(int arg_df_type); // set the detection function type
28 29
29 int framesize; // audio framesize 30 int framesize; // audio framesize
30 int hopsize; // audio hopsize 31 int hopsize; // audio hopsize