Page 1 of 1

Hugor with new MIDI support

Posted: Thu Nov 29, 2018 7:29 pm
by RealNC
Recent Windows 10 versions have buggy MIDI support, and it sounds like crap anyway. Linux is even worse. So I've added an internal MIDI synthesizer to Hugor using Fluidsynth. I've uploaded a test build here:

http://83.212.107.13/~realnc/hugor/test ... 181130.zip

It comes with a default soundfont file (midi.sf2), but you can use your own if you want. You can test MIDI playback in the configuration dialog (there's a play button.) Please let me know if there's any issues with MIDI playback.

Re: Hugor with new MIDI support

Posted: Fri Nov 30, 2018 11:48 am
by Jizaboz
Now this is cool!

Re: Hugor with new MIDI support

Posted: Fri Nov 30, 2018 7:53 pm
by Ice Cream Jonsey
A Crimson Spring used MIDI, I'll re-uploaded it to the archive with this.

Re: Hugor with new MIDI support

Posted: Fri Nov 30, 2018 8:57 pm
by RealNC
This is a build from a dev snapshot. I don't recommend publishing anything with it. I only posted it here so you guys can test if MIDI playback works.

Re: Hugor with new MIDI support

Posted: Sat Dec 01, 2018 4:38 pm
by Ice Cream Jonsey
CORRECTION: Publishing nothing, which is good, as it means I do not have to do anything yet.

Re: Hugor with new MIDI support

Posted: Sat Dec 15, 2018 3:42 pm
by RealNC
I uploaded a new dev snapshot:

http://83.212.107.13/~realnc/hugor/test ... -12-15.zip

The default MIDI soundfont is now embedded into the executable, so there's no external SF2 file anymore. When using an external soundfont, SF3 files are now supported too.

The MIDI synthesizer gain can now be adjusted. This is useful when using external soundfont files that are too loud or too quiet.

MOD music support (for games like Dragon Hunt) is now based on OpenMPT instead of ModPlug. It has better sound quality and more accurate playback.

What I'm most interested in is whether or not you get audio dropouts/pops/crackling with MIDI music on slower computers, if you happen to have one.

Re: Hugor with new MIDI support

Posted: Sat Dec 15, 2018 11:14 pm
by Ice Cream Jonsey
For what it is worth, the first update you did for Hugor is playing a .mid file correctly that I made 15 years ago. Winamp won't play it correctly - the percussion fades in and out of the right and left channel. I imported it into Abelton Live and it treats it as one giant instrument, so the percussion just comes off as piano or whatever instrument I assign it. So this is the first time in a long, long while I've been able to hear the song. Thank you!

I will try the new version now to see if that works, too.

Re: Hugor with new MIDI support

Posted: Sun Dec 16, 2018 5:04 am
by RealNC
Ice Cream Jonsey wrote: Sat Dec 15, 2018 11:14 pmI imported it into Abelton Live and it treats it as one giant instrument
That sounds like a type 0 MIDI file. You should try a tool that converts type 0 files to type 1. Something like this maybe:

http://gnmidi.com/gnmidfmten.htm

I'm surprised to learn though that Ableton can't read type 0 files. Seems to be a common problem. There's a macOS converter too:

https://forum.ableton.com/viewtopic.php?t=175438

Re: Hugor with new MIDI support

Posted: Sun Dec 16, 2018 10:28 am
by Ice Cream Jonsey
RealNC wrote: Sun Dec 16, 2018 5:04 am
Ice Cream Jonsey wrote: Sat Dec 15, 2018 11:14 pmI imported it into Abelton Live and it treats it as one giant instrument
That sounds like a type 0 MIDI file. You should try a tool that converts type 0 files to type 1. Something like this maybe:

http://gnmidi.com/gnmidfmten.htm

I'm surprised to learn though that Ableton can't read type 0 files. Seems to be a common problem. There's a macOS converter too:

https://forum.ableton.com/viewtopic.php?t=175438
I cannot thank you enough. GNMIDI let me turn it into a type 1 file and I was able to bring it into Abelton Live (I'm on the demo mode, but I like it a lot) and I am changing instruments and packs and such and listening to this song I made so long ago become a Real Boy. Carnival Baby by Beaver lives! I will see if I can export it as a file or something. But seriously, thanks - I would never have thought of the concept of what could have been wrong with it and this is fixed and really taking me back.