View Issue Details

IDProjectCategoryView StatusLast Update
0000071OpenMPTFile Format Supportpublic2020-05-26 13:09
Reporter404notfound Assigned ToSaga Musix  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindowsOS Version7
Product VersionOpenMPT 1.19.00.* (old testing) 
Target VersionOpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first)Fixed in VersionOpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first) 
Summary0000071: Faulty octamed importer
Description

Poor octamed importing quality. Not really a new issue.

TagsNo tags attached.
Attached Files
med2xm.zip (183,822 bytes)
Has the bug occurred in previous versions?Always, I think.
Tested code revision (in case you know it)

Relationships

related to 0001036 resolvedSaga Musix OctaMED 5.04 (Amiga) Mod's MMD2 format opens with incorrect and unfixable playback speed 
has duplicate 0000528 closed OctaMED playback 
has duplicate 0000673 closed Faulty OctaMED importer 
has duplicate 0000685 closed OctaMED .med / .mmd format wrong tones in notes / patterns. 
related to 0001321 resolvedSaga Musix Support synthesized instruments in MED format 
related to 0001326 resolvedSaga Musix OctaMed with wrong tempo 

Activities

Saga Musix

Saga Musix

2011-02-15 23:30

administrator   ~0000070

Well yeah, from my experience MMD0 and MMD1 files play rather well, while MMD2+ files don't...

Some-E

Some-E

2018-04-16 10:02

reporter   ~0003506

High octaves are not played correctly.
Synth sounds are not supported?
I've created testfiles for playing full scale of notes from C-1 to F-B, with sample and synth instrument (separate MED).
Please, find the corresponding audio recordings from real Amiga 500 (PAL) and spectrum plots for easier understanding of sample and synth instrument playback rates on each octave:
https://1drv.ms/f/s!Ahrc_3u_IRCdznbo9bvuJ0yinFHX
Also, read the Readme.txt for more detailed description.
Finally, feel free to ask me more about OctaMED playback on Amiga. I can play back and record audio references of suggested MED files.

Saga Musix

Saga Musix

2018-04-16 10:50

administrator   ~0003507

Thanks for the test cases. I suppose the exact behaviour here might depend on the software mixing flag, as I guess the additional octave only work "as intended" when that flag is set?

manx

manx

2019-02-15 20:40

administrator   ~0003846

21:28 < zoner> hello, not sure if the MED format is very well supported, but I stumbled across a doctor awesome song that is seriously messed up in libopenmpt: http://amp.dascene.net/downmod.php?index=19536

sherekhan

sherekhan

2019-10-03 13:13

reporter   ~0004103

Re "Not really a new issue": MED/OctaMED support has been spotty since the early days of ModPlug Plugin/Player/Tracker. I clearly remember doing some mail correspondence with Olivier back in the 90s, and he did some minor changes based on my feedback to improve the MED playback somewhat, but in my experience MP has never been a good platform for playing back MED/OctaMED modules.

I'd be happy support any effort to improve this. I used an Amiga in the period 1991-97, and made a number of MEDs using MED 3.00, OctaMED 3/4/5 and SoundStudio 1 during this time, including multichannel stuff. I still have most of my stuff from this period, as well as some other MED stuff I know have issues in OpenMPT.

One key issue is timing. OctaMED has a number of different parameters that affects speed, including:

  • Ticks/row, works (mostly) like in SoundTracker, defaults to 6 (side note: MED modules can also have an ST flag, which is supposed to give better compatibility with Soundtracker/Protracker. Basically it toggles wether or not some effects (volume slide, note slide etc) should kick in on the first tick of each individual line)
  • A separate speed setting that defaults to 33, which is handled at least three different ways: For 4-chan modules a speed of 33 is approximately the same as 125 BPM, but for multichannel modules it is handled differently, and if you use the later introduced HQ mode (higher samplerate for software mixing) it is yet again handled differently
  • A BPM mode, which can be used instead of the old speed setting. Same as Protracker.

Some other issues I have noted:

  • Only four channels of multichan MMD2 modules are imported
  • Only the first song in multi-modules is loaded
  • Synth and hybrid instruments are not supported
Saga Musix

Saga Musix

2019-10-03 13:16

administrator   ~0004104

At the moment there is sadly not much you could help with - I have started working on a new loader a long time ago but the MED format is so (unnecessarily) complex that it's not exactly fun to work on this feature. I'd say about half of the new loader is done, probably - which means there is still a lot of work to do. It might happen in OpenMPT 1.29 if we are very lucky, or OpenMPT 1.30 - but no promises.

Once the loader is done, expertise from OctaMED users will of course be useful for testing the new code.

Saga Musix

Saga Musix

2020-03-12 19:25

administrator   ~0004254

I went back to the new MED loader and finished up a few things - it seems like we can get a much improved MED loader for 1.29, but it will most likely not contain support for synth instruments, but most other stuff should hopefully work a lot better than before. I think there will be some stuff for you to test in the next few days.

Currently I still have some issue with "IFFOCT" multi-samples - if any OctaMED user has some experience with those and can provide instruments other than 3- or 5-octave instruments, that would be fantastic.

@sherekhan If you could provide some multi-song modules, that would also be appreciated.

Saga Musix

Saga Musix

2020-03-13 20:47

administrator   ~0004255

r12564 / OpenMPT 1.29.00.49, soon available from https://builds.openmpt.org/builds/ adds the new and improved loader. The following features have been added / improved:

  • IffOct (multisampled) instruments and "ExtSample" sample type
  • Delta samples
  • More pattern commands
  • More accurate portamento commands (only via libopenmpt, as OpenMPT will still have to play them like MOD/XM)
  • Hold and Decay
  • VSTi (yes, really) and MIDI output
  • Multiple songs
  • Probably a lot more stuff I forgot.

And yes, synthesized instruments are missing. They will probably come later. Still, please let me know how the new loader works for you.

404notfound

404notfound

2020-05-26 11:54

reporter   ~0004347

From med2xm.zip -> Arkanoid99.oss -> pat 4 -> row 93.
The tone portamento undershoots, resulting in offtone.

Tested with openmpt-win32-1.30.00.02-r12932 in win7 VM.

404notfound

404notfound

2020-05-26 12:05

reporter   ~0004348

I failed to read "More accurate portamento commands (only via libopenmpt, as OpenMPT will still have to play them like MOD/XM)" point of last post before writing.
My apologies.

Though manually rewriting porta values(303->304 and 302->303) did fix the bass.

Saga Musix

Saga Musix

2020-05-26 13:01

administrator   ~0004349

For newly found issues, please open new issues. Let's not keep this one open forever.

Saga Musix

Saga Musix

2020-05-26 13:09

administrator   ~0004350

(and this kind of "manual rewrite" you did will not always be that simple, especially if there are more ticks per row, which is why OpenMPT cannot do it automatically)

Issue History

Date Modified Username Field Change
2011-02-15 00:14 404notfound New Issue
2011-02-15 00:14 404notfound File Added: med2xm.zip
2011-02-15 23:30 Saga Musix Category Playback Compatibility => File Format Support
2011-02-15 23:30 Saga Musix Note Added: 0000070
2014-01-18 19:40 Saga Musix Assigned To => Saga Musix
2014-01-18 19:40 Saga Musix Status new => assigned
2014-05-09 14:00 Saga Musix Relationship added has duplicate 0000528
2015-04-13 19:12 Saga Musix Relationship added has duplicate 0000673
2015-06-19 08:07 Saga Musix Relationship added has duplicate 0000685
2017-10-01 00:58 Saga Musix Relationship added related to 0001036
2018-03-27 18:55 Saga Musix Target Version => OpenMPT 1.28.01.00 / libopenmpt 0.4.0 (upgrade first)
2018-04-16 10:02 Some-E Note Added: 0003506
2018-04-16 10:50 Saga Musix Note Added: 0003507
2018-12-23 13:26 Saga Musix Target Version OpenMPT 1.28.01.00 / libopenmpt 0.4.0 (upgrade first) => OpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first)
2019-02-15 20:40 manx Note Added: 0003846
2019-10-03 13:13 sherekhan Note Added: 0004103
2019-10-03 13:16 Saga Musix Note Added: 0004104
2020-01-05 10:42 manx Target Version OpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first) => OpenMPT 1.30.01.00 / libopenmpt 0.6.0 (upgrade first)
2020-03-12 19:25 Saga Musix Note Added: 0004254
2020-03-13 20:47 Saga Musix Status assigned => feedback
2020-03-13 20:47 Saga Musix Note Added: 0004255
2020-04-21 18:54 manx Target Version OpenMPT 1.30.01.00 / libopenmpt 0.6.0 (upgrade first) => OpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first)
2020-05-09 12:55 Saga Musix Relationship added related to 0001321
2020-05-19 11:26 Saga Musix Relationship added related to 0001326
2020-05-24 12:54 Saga Musix Status feedback => resolved
2020-05-24 12:54 Saga Musix Resolution open => fixed
2020-05-24 12:54 Saga Musix Fixed in Version => OpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first)
2020-05-26 11:54 404notfound Status resolved => feedback
2020-05-26 11:54 404notfound Resolution fixed => reopened
2020-05-26 11:54 404notfound Note Added: 0004347
2020-05-26 12:05 404notfound Note Added: 0004348
2020-05-26 12:05 404notfound Status feedback => assigned
2020-05-26 13:01 Saga Musix Note Added: 0004349
2020-05-26 13:01 Saga Musix Status assigned => resolved
2020-05-26 13:01 Saga Musix Resolution reopened => fixed
2020-05-26 13:09 Saga Musix Note Added: 0004350