amuse/include/amuse/SongConverter.hpp

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