Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
1eabbe22
Commit
1eabbe22
authored
Aug 27, 2022
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump n-best search value for slow speed detection.
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
dc1cee7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wmspeed.cc
src/wmspeed.cc
+3
-2
No files found.
src/wmspeed.cc
View file @
1eabbe22
...
...
@@ -669,6 +669,7 @@ detect_speed (const WavData& in_data, bool print_results)
};
const
double
scan3_smooth_distance
=
20
;
const
double
speed_sync_threshold
=
0.4
;
const
int
n_best
=
Params
::
detect_speed_patient
?
15
:
5
;
// SpeedSearch::debug_range (scan1);
...
...
@@ -681,8 +682,8 @@ detect_speed (const WavData& in_data, bool print_results)
/* initial search using grid */
scores
=
speed_search
.
run_search
(
scan1
,
{
1.0
});
/* improve
5
best matches */
select_n_best_scores
(
scores
,
5
);
/* improve
N
best matches */
select_n_best_scores
(
scores
,
n_best
);
vector
<
double
>
speeds
;
for
(
auto
score
:
scores
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment