dfaust / soundkonverter

soundKonverter is in maintenance mode, PRs are welcome.
https://github.com/dfaust/soundkonverter/wiki
98 stars 26 forks source link

Incorect midi conversion for fluidsynth and timidity #91

Open IlyaIndigo opened 3 years ago

IlyaIndigo commented 3 years ago

openSUSE Tumbleweed soundkonverter 3.0.1 fluidsynth 2.1.5 1 Timidity (offered by default and no soundfont setting) сonverts a GM (WarCraft Title) file with very poor polyphony, one piano, and is very distant from the original. Even mpd via libfluidsynth, also not requiring soundfont, reproduces much better, at least similar. This quality is unacceptable! 2 Fluidsynth, given the correct GM soundfont (/usr/share/sounds/sf2/FluidR3_GM.sf2) converts an always mute file (tried flac and wav) with the correct duration. Converting directly through fluidsynth to wav works great. fluidsynth -F WarCraft.wav /usr/share/sounds/sf2/FluidR3_GM.sf2 WarCraft.mid 3 I have a midi device on port 128:0, which it does not even use and does not offer to use it for conversion. Why?

dfaust commented 3 years ago

Thanks for your report, but soundkonverter is not actively maintained anymore, so I won't be working on this issue. Also I don't have a midi device, so I never tested that.

IlyaIndigo commented 3 years ago

Thank you for your reply. midi device can be emulated using the same fluidsynth, and check its list with aplaymidi -l. and play aplaymidi -p128: 0 Midi.mid. And there are also other synthesizer emulators other than the General Midi standard and which do not use soundfonts, for example mt32emu (aka munt) Roland MT-32 Emulator, and you can decode midi for it only through its libmt32emu library (Needs 2 firmware files from MT-32) or through aplaymidi.