-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDUETstruct.h
More file actions
50 lines (36 loc) · 812 Bytes
/
DUETstruct.h
File metadata and controls
50 lines (36 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef DUETSTRUCT_HPP__
#define DUETSTRUCT_HPP__
#include "types.h"
struct DUETcfg
{
real noise_threshold;
// Functions
bool aggregate_clusters;
real p;
real q;
idx FFT_slide, FFT_slide_percentage;
idx FFT_N;
idx FFT_pN;
int FFT_p; // The FFT oversampling factor.
int Fmax, Fmin;
bool use_window; // we'll always use a window from now on
// int window_type;
bool use_smoothing;
bool use_smoothing_2D;
real sigma_alpha;
real sigma_delta;
// Peaks
real max_peak_scale_disparity;
real min_peak_fall;
real min_peak_dalpha;
real min_peak_ddelta;
real max_Lambda_distance;
// Stream behaviour
int max_silence_blocks;
int min_active_blocks;
real a0min;
int max_clusters;
int max_active_streams;
bool multiple_assign;
};
#endif // DUETstruct