6 #include <compiler/base.hpp>
7 #include <ir/module.hpp>
8 #include <midi/file.hpp>
16 class IR2MIDICompiler : public Compiler::CompilerBase
19 bool Compile(const IR::Module& ir, const std::string& entryPoint);
21 MIDI::MIDIFile& GetMIDI();
22 const MIDI::MIDIFile& GetMIDI() const;
25 bool CompileTrackBlock(const IR::Module& ir, const std::string& trackBlock);
27 MIDI::MIDIFile m_MIDI;
30 } // namespace IR2MIDI