ModPlug Central

OpenMPT Development (Archive) => Bug Reports => Bug Report Archive => Topic started by: Didi on May 31, 2010, 23:22:43

Title: 1.18.00.?? tempo bug when open a midi
Post by: Didi on May 31, 2010, 23:22:43
( Sorry for my very bad english, I am not english-speaking. )

Full Version:
OpenMPT v1.17.02.54  ( Why is there written 1.18 ? I did not find any 1.18 on the site... )

Description of the bug:When I open a midi file, instead of using its tempo, it sets 240BPM and quantify notes... This is a serious problem, because the songs, while ok it plays at right speed, is quantified on a 240BPM grid, then has timing problem and sounds like when a child starts to learn how to play piano...

How often does it happen?:Everytime I import a midi, which is all time because the reason why I use OpenMPT is to convert my musics made in Cubase to mods for games.

How to reproduce (step by step description): Open, then choose a midi file.


By the way, when I import a midi, my mod is automaticaly an IT mod, while I want a MOD mod. And if I go to Song Properties to turn it into a MOD, the conversion makes it sound really weird... I do not find how to make it import the midi directly as MOD instead of IT, isn't it possible ?
Title: 1.18.00.?? tempo bug when open a midi
Post by: Rakib on May 31, 2010, 23:52:15
1.18.02 can be downloaded here:
http://forum.openmpt.org/index.php?topic=3951.0
It should help on your mod-issues, about midi I don't know.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Saga Musix on June 01, 2010, 05:16:12
Well, it's a well-known fact that modplug has poor midi import. Applications like mid2xm (http://www.un4seen.com/mid2xm.html) are more reliable.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Didi on June 01, 2010, 17:11:48
Thanks. 1.18.02 works better here. My music does not anymore have any timing problem.

Thanks I'll try midtoxm.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Saga Musix on June 01, 2010, 17:13:32
Quote from: "Didi"Thanks. 1.18.02 works better here. My music does not anymore have any timing problem.
Sorry, but none of the MIDI code has been changed. Your MIDI import configuration has just most likely been returned to default values which you might have changed to the worse before.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Didi on June 01, 2010, 19:11:02
Yes, I messed with the settings... :oops:
Title: 1.18.00.?? tempo bug when open a midi
Post by: Saga Musix on June 05, 2010, 11:45:06
Also, concerning your "MOD problems", well, there is not much what can be done. OpenMPT supports 4 classic mod formats for a reason. If they all had the same feature set, there would be no need for several formats. But amond the supported formats, MOD is the least powerful format. For example (and this is what makes your music sound "strange") there is a very limited note range, and all samples have the same C-5 frequency + finetune (resulting in a frequency of about 8KHz). Of course you will lose a lot of information when converting from IT (which is a feature-rich format) to MOD (which is a very limited format). Converting MIDI to MOD just does not make a lot of sense. Afterall, the MOD format typically just allows 4 channels to be used, while most other formats support more channels. If you are going to write a 32chn MOD, that just does not make sense. If your MOD player can handle 32chn MODs, it should also support 16chn XMs.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Didi on June 05, 2010, 15:51:54
Ok. I wanted to stick with .mod only because I code my games in AS3 and the only AS3 mod player I found accepts only .mod and nothing else. I don't find any .it player for AS3, and I am not yet good enough to code one myself.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Saga Musix on June 05, 2010, 16:13:19
Argh, ActionScript - well I think there is at least one XM player for AS, but I'm not too sure. Converting MIDI to MOD is really not a great idea, though - Starting right with the MOD format and not doing any conversions will bring up the least surprises.
Title: 1.18.00.?? tempo bug when open a midi
Post by: Rakib on June 05, 2010, 16:16:38
This supports also xm-files
http://realm.badsectoracula.com/fmp/

Quote....This version contains, among others, support for MODs of variable channel size (from 1 to 99), support for stereo playback, initial support for XM modules...
Title: 1.18.00.?? tempo bug when open a midi
Post by: Saga Musix on June 05, 2010, 16:30:02
The last time I checked FMP doesn't support arbitrary loop points, but that might not be too much of an issue...