Construct channel data

This commit is contained in:
Chris Cannam
2022-05-20 16:48:44 +01:00
parent 9d646b9708
commit af97c70e69
7 changed files with 98 additions and 22 deletions

View File

@@ -37,6 +37,8 @@ public:
double percussiveBelow;
double percussiveAbove;
double residualAbove;
explicit Segmentation() :
percussiveBelow(0.0), percussiveAbove(0.0), residualAbove(0.0) { }
Segmentation(double _pb, double _pa, double _ra) :
percussiveBelow(_pb), percussiveAbove(_pa), residualAbove(_ra) { }
};