Mercurial > hg > pyin
comparison MonoNoteHMM.cpp @ 146:8404827a4b02 memory
Avoid calculating a temporary obsprob matrix for note tracking; + some tidying
author | Chris Cannam |
---|---|
date | Wed, 17 May 2017 14:50:10 +0100 |
parents | 0432723faf03 |
children | 3faac48d491d |
comparison
equal
deleted
inserted
replaced
145:0432723faf03 | 146:8404827a4b02 |
---|---|
90 } | 90 } |
91 } else { | 91 } else { |
92 out[i] = (1-pIsPitched) / (par.nPPS * par.nS); | 92 out[i] = (1-pIsPitched) / (par.nPPS * par.nS); |
93 } | 93 } |
94 } | 94 } |
95 | 95 |
96 return(out); | 96 return(out); |
97 } | 97 } |
98 | 98 |
99 void | 99 void |
100 MonoNoteHMM::build() | 100 MonoNoteHMM::build() |