libADLMIDI icon indicating copy to clipboard operation
libADLMIDI copied to clipboard

WIP OPL3 MIDI2VGM

Open freq-mod opened this issue 2 years ago • 7 comments

WIP, not ready to merge at all. Could say it was barely started... TODO:

  • implement VGM file dumper that at least works
  • implement handling embedded banks/ OPL3 stuff like drum mode, 4op voices
  • prolly fix formatting/indentation :woozy_face:
  • update VGM to >1.5.1 to get OPL3 support (started)
  • and a lot more ig...

freq-mod avatar Nov 26 '21 12:11 freq-mod

In file included from ../src/adlmidi_opl3.cpp:66:0: ../src/chips/vgm_file_dumper.h:26:56: error: expected template-name before ‘<’ token class VGMFileDumper final : public ADLChipBaseBufferedT<VGMFileDumper>

../src/chips/vgm_file_dumper.h:26:56: error: expected ‘{’ before ‘<’ token ../src/chips/vgm_file_dumper.h:26:56: error: expected unqualified-id before ‘<’ token

Don't know why it is hapeens, maybe something obvious eludes me

freq-mod avatar Nov 30 '21 11:11 freq-mod

OK, figured that one out... still borked though.

freq-mod avatar Dec 01 '21 10:12 freq-mod

../src/adlmidi_opl3.cpp: In member function ‘void OPL3::reset(int, long unsigned int, void*)’: ../src/adlmidi_opl3.cpp:1813:75: error: cannot allocate an object of abstract type ‘VGMFileDumper’ chip = new VGMFileDumper(i, (i == 0 ? NULL : m_chips[0].get()));

can't get any further :pensive:

freq-mod avatar Dec 01 '21 20:12 freq-mod

../src/adlmidi_opl3.cpp: In member function ‘void OPL3::reset(int, long unsigned int, void*)’: ../src/adlmidi_opl3.cpp:1813:75: error: cannot allocate an object of abstract type ‘VGMFileDumper’ chip = new VGMFileDumper(i, (i == 0 ? NULL : m_chips[0].get()));

can't get any further pensive

You also should change the body at vgm_file_dumper.cpp too :eyes:

Wohlstand avatar Dec 01 '21 20:12 Wohlstand

can't say it helped, still stuck

freq-mod avatar Dec 02 '21 08:12 freq-mod

@Wohlstand once you have some time, can you look onto it?

freq-mod avatar Dec 25 '21 17:12 freq-mod

I'll try to get look soon, thanks for the note 😉

Wohlstand avatar Dec 25 '21 18:12 Wohlstand