mirror of https://github.com/AxioDL/amuse.git
14 lines
323 B
C++
14 lines
323 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
namespace amuse {
|
|
|
|
class SongConverter {
|
|
public:
|
|
static std::vector<uint8_t> SongToMIDI(const unsigned char* data, int& versionOut, bool& isBig);
|
|
static std::vector<uint8_t> MIDIToSong(const std::vector<uint8_t>& data, int version, bool big);
|
|
};
|
|
} // namespace amuse
|