summaryrefslogtreecommitdiff
path: root/libs/vamp-pyin/MonoNote.cpp
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-03 04:52:01 +0200
committerRobin Gareus <robin@gareus.org>2019-09-03 04:52:01 +0200
commit58ee66e9245b432249e2fba4049c34d1a9127a43 (patch)
treef89028939badff02cf22a8ca18d0c02e829b535a /libs/vamp-pyin/MonoNote.cpp
parentb340dc7282a3629929cd91223fe3505b2ad92c58 (diff)
NO-OP: remove trailing whitespace
Diffstat (limited to 'libs/vamp-pyin/MonoNote.cpp')
-rw-r--r--libs/vamp-pyin/MonoNote.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/vamp-pyin/MonoNote.cpp b/libs/vamp-pyin/MonoNote.cpp
index 82d94d2054..6c0e6343bb 100644
--- a/libs/vamp-pyin/MonoNote.cpp
+++ b/libs/vamp-pyin/MonoNote.cpp
@@ -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
@@ -38,13 +38,13 @@ MonoNote::process(const vector<vector<pair<double, double> > > pitchProb)
{
obsProb.push_back(hmm.calculateObsProb(pitchProb[iFrame]));
}
-
+
vector<double> *scale = new vector<double>(pitchProb.size());
-
- vector<MonoNote::FrameOutput> out;
-
+
+ vector<MonoNote::FrameOutput> out;
+
vector<int> path = hmm.decodeViterbi(obsProb, scale);
-
+
for (size_t iFrame = 0; iFrame < path.size(); ++iFrame)
{
double currPitch = -1;