mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-03-01 07:50:25 +01:00
15 lines
399 B
C++
15 lines
399 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include <json.hpp>
|
|
|
|
#include "special_numeric_types.hpp"
|
|
|
|
// Utilities for dumping to memon
|
|
|
|
bool is_expressible_as_240th(const Fraction& beat);
|
|
nlohmann::ordered_json beat_to_best_form(const Fraction& beat);
|
|
nlohmann::ordered_json beat_to_fraction_tuple(const Fraction& beat);
|
|
|
|
Fraction load_memon_1_0_0_beat(const nlohmann::json& json, std::uint64_t resolution); |