summaryrefslogtreecommitdiff
path: root/libs/vamp-pyin/MonoNoteParameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/vamp-pyin/MonoNoteParameters.h')
-rw-r--r--libs/vamp-pyin/MonoNoteParameters.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/libs/vamp-pyin/MonoNoteParameters.h b/libs/vamp-pyin/MonoNoteParameters.h
index 21db7f6102..1647986cf3 100644
--- a/libs/vamp-pyin/MonoNoteParameters.h
+++ b/libs/vamp-pyin/MonoNoteParameters.h
@@ -3,7 +3,7 @@
/*
pYIN - A fundamental frequency estimator for monophonic audio
Centre for Digital Music, Queen Mary, University of London.
-
+
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
@@ -25,17 +25,17 @@ class MonoNoteParameters
public:
MonoNoteParameters();
virtual ~MonoNoteParameters();
-
+
// model architecture parameters
size_t minPitch; // lowest pitch in MIDI notes
size_t nPPS; // number of pitches per semitone
size_t nS; // number of semitones
size_t nSPP; // number of states per pitch
size_t n; // number of states (will be calcualted from other parameters)
-
+
// initial state probabilities
- vector<double> initPi;
-
+ vector<double> initPi;
+
// transition parameters
double pAttackSelftrans;
double pStableSelftrans;
@@ -44,18 +44,17 @@ public:
double sigma2Note; // standard deviation of next note Gaussian distribution
double maxJump;
double pInterSelftrans;
-
+
double priorPitchedProb;
double priorWeight;
double minSemitoneDistance; // minimum distance for a transition
-
+
double sigmaYinPitchAttack;
double sigmaYinPitchStable;
double sigmaYinPitchInter;
-
+
double yinTrust;
-
};
#endif