Skip to content

Commit

Permalink
bpm 计算错误修复。
Browse files Browse the repository at this point in the history
  • Loading branch information
Vescrity committed May 18, 2024
1 parent 463ada8 commit 3c2c4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/core_algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ double NoteList::calc_bpm() const
auto &t1 = list[cnt - 4].time;
auto &t2 = list[cnt - 1].time;
auto dt = t2 - t1;
bpm = 60000.0 / dt * 4.0;
bpm = 60000.0 / dt * 3.0;
bpm_ready = 1;
return bpm;
}
Expand Down

0 comments on commit 3c2c4e0

Please sign in to comment.