Mercurial > hg > pyin
view MonoNoteParameters.cpp @ 6:dab27ad8ce8a
re-wrote note segmentation (post processing)
author | matthiasm |
---|---|
date | Fri, 29 Nov 2013 11:34:58 +0000 |
parents | 3dcef83df62a |
children | 5945b8905d1f |
line wrap: on
line source
#include "MonoNoteParameters.h" MonoNoteParameters::MonoNoteParameters() : minPitch(36), nPPS(3), nS(43), nSPP(4), // states per pitch n(0), initPi(0), pAttackSelftrans(0.5), pStableSelftrans(0.999), pStable2Silent(0.005), pSilentSelftrans(0.5), sigma2Note(0.7), maxJump(13), pInterSelftrans(0.99), priorPitchedProb(.7), priorWeight(0.5), minSemitoneDistance(.5), sigmaYinPitchAttack(5), sigmaYinPitchStable(0.9), sigmaYinPitchInter(5), yinTrust(0.1) { // just in case someone put in a silly value for pRelease2Unvoiced n = nPPS * nS * nSPP; } MonoNoteParameters::~MonoNoteParameters() { }