You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
258 B
C
16 lines
258 B
C
3 years ago
|
#pragma once
|
||
|
|
||
|
#include <vector>
|
||
3 years ago
|
#include "tools/mathutils.h"
|
||
3 years ago
|
|
||
|
namespace beat_utils
|
||
|
{
|
||
|
struct BeatInfo
|
||
|
{
|
||
3 years ago
|
int BPM = 0;
|
||
|
microsec interval = 0;
|
||
3 years ago
|
};
|
||
|
|
||
|
BeatInfo calculateBeatRateInfo(const std::vector<microsec>& approximate_deltas);
|
||
|
}
|