project-kyoku/include/tools/beatutils.h

16 lines
252 B
C++

#pragma once
#include <vector>
#include "mathutils.h"
namespace beat_utils
{
struct BeatInfo
{
int BPM = 0;
microsec interval = 0;
};
BeatInfo calculateBeatRateInfo(const std::vector<microsec>& approximate_deltas);
}