Opened 12 years ago

Closed 12 years ago

#3687 closed defect (fixed)

KYRA: Regression on MIDI

Reported by: raziel- Owned by: lordhoto
Priority: normal Component: Engine: Kyra
Keywords: Cc:
Game: Kyrandia 1

Description

ScummVM 0.12.0svn (Apr 7 2008 20:33:19)
Features compiled in: Vorbis FLAC MP3 zLib MPEG2

With revision 31443
http://scummvm.svn.sourceforge.net/scummvm/?view=rev&rev=31443
there was introduced a regression on MIDI sound
playback. In Kyra1 the sounds are simply gone (no
MIDI playback at all through MT-32 hardware) while in
HoF they sound plainly wrong, as if they were
playbacked in a very bad quality or simply MT-32 MIDI
played back as General MIDI.

Legend of Kyrandia: Fables and Fiends (CD/English)
Legend of Kyrandia: Hand of Fate (CD/English)

AmigaOS4
gcc version 4.0.2 (AmigaOS build 20051012)

Ticket imported from: #1937061. Ticket imported from: bugs/3687.

Attachments (1)

Kyra1-d5.log (108.8 KB ) - added by raziel- 12 years ago.
-d5 log

Download all attachments as: .zip

Change History (16)

comment:1 by lordhoto, 12 years ago

Owner: set to lordhoto

comment:2 by lordhoto, 12 years ago

Sure you don't have music volume too low for Kyra1?
About Kyra2 the sound effects at least are pretty ugly over here too even with initialized MT-32.

comment:3 by raziel-, 12 years ago

>Sure you don't have music volume too low for Kyra1?

Nope, as i haven't changed anything in the settings.
(Music is still at volume 192) Changing the volume on the
speakers doesn't do anything either.
It seems even the SysEx commands are gone pretty silent.
There are only one or two two commands sent to the hardware
and plainly nothing about loaded notes/instruments is
written in it's display, thus not playing anything.

>About Kyra2 the sound effects at least are pretty ugly
>over here too even with initialized MT-32.

Yes, scrap that, after turning my MT-32 on and off, the
soundtrack, as i knew it, is back again (i don't find it
that terribly, btw, i quite like it)

comment:4 by raziel-, 12 years ago

Summary: KYRA/HoF: Regression on MIDIKYRA: Regression on MIDI

comment:5 by lordhoto, 12 years ago

SysEx commands are silent *now*? Neat our Kyra MIDI code never supported SysEx commands.
Anyway it plays fine over here, any warnings or something in the console?

by raziel-, 12 years ago

Attachment: Kyra1-d5.log added

-d5 log

comment:6 by raziel-, 12 years ago

wrt SysEx commands:
OK, didn't know that

wrt warnings or other console output:

Nothing, sorry, but i presume you are using the MT-32 driver?
I should have been more precise in my reporting as i use
CAMD, maybe it's a problem in that drivers part?

Anyway, i still don't get any sound, only speech is played.
Switching to Adlib works, though

-d5 log attached (if it is of any help)
File Added: Kyra1-d5.log

comment:7 by SF/kaminari, 12 years ago

Kyra1 is MT-32 but Kyra2 was definitely composed for GM.

IIRC, MT-32 support in Kyra2 is merely provided by Miles AIL.

comment:8 by lordhoto, 12 years ago

Kyra2 definitly has MT-32 support, they got different MIDI files for it and special initialization code.

comment:9 by SF/guilt, 12 years ago

hi,

i'm looking at this.

comment:10 by SF/guilt, 12 years ago

hi,

i'm looking at this.

comment:11 by raziel-, 12 years ago

Ok, a little step forward, i get sound in the demo of Kyra1.

Now, what's it doing different in the demo than in main?

comment:12 by SF/kaminari, 12 years ago

I didn't say Kyra2 doesn't have MT-32 support. I said it was composed for GM (which was confirmed to Alister Gillett by Klepacki himself). I suspect the Kyra2 embedded sysex messages merely remap the patches to GM or upload new ones to make them loosely GM colpiant -- which explains why the soundtrack sounds less than ideal on a MT-32.

comment:13 by SF/kaminari, 12 years ago

"colpiant" -- a new semantic concept meaning something like "compliant" ;D

comment:14 by raziel-, 12 years ago

fixed in r31474, thanks a lot

comment:15 by lordhoto, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.