[directmusic] Re: Problem with General MIDI instruments not playing

  • From: "Bjorn Lynne" <bjorn.lynne@xxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Thu, 31 Oct 2002 13:08:22 -0000

>     Just to clarify - your "main" music *does* play the GM samples, and
only
> the jingles *do not*?

That's right. I also use some General MIDI (small stuff like "shaker" sound
from the drum set) in the main music, and that plays fine outside
DMProducer. Only the General MIDI sounds *when used in a jingle* do not
play). So there is no doubt that the GM.dls is loaded.

>     Secondly, have you only tested the music in DMDemo?  Is it possible
> there's a bug in DMDemo itself?

I guess it's possible, but it is my understanding that DMDemo actually does
very little on that kind of level - just plays the music using the
DirectMusic engine - like the game will do.

>     It's a hack, but if necessary you could make custom instruments that
> mimic the GM instruments, and dispense with the GM.dls bank entirely.  I
was

That's out of the question for this project, because the very reason I'm
using some GM instruments is to keep the project size down. It's for a
downloadable game, and I have to keep custom instruments to a bare minimum,
to make it a small package that can be delivered fast.

> wondering if this saves memory as well - does DM load instruments from
> within a DLS bank on demand, or does it load the whole bank at once?

I'm pretty sure it loads on demand, when an instrument is called from a
band. Or rather - it's supposed to. :-)

I'm no closer to a solution on this... I've tried various band fixes etc.,
but no luck.. :-/

--
Bjorn Lynne - Composer, Producer, Sound Designer
Main music site: www.lynnemusic.com



Other related posts: