From: jesseREMOVETHISdorlandREMOVETHIS AT hotmailREMOVETHIS DOT comREMOVETHIS (Jesse Dorland) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro MIDI player Date: Tue, 08 Jun 1999 19:04:22 GMT Organization: Marv's Bait Shop Lines: 35 Message-ID: <375d668d.45192974@news.primenet.com> References: <7jjl9j$e8a$1 AT newssrv DOT otenet DOT gr> NNTP-Posting-Host: ip-124-086.boi.primenet.com X-Complaints-To: abuse AT globalcenter DOT net X-Posted-By: @206.132.124.86 (merlin57) X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 8 Jun 1999 20:52:38 +0300, "Pavlos" wrote: >Hi all. >I use the play_midi() function of allegro to play some midi files. >My problem is the quality of the player. The only thing I can hear is the >drums, and hardly some basses. >I've tested with several midi files, the result is the same. > >Is it Allegro's problem; Am I doing something wrong? Maybe it's my >SoundBlaster PCI64 (works fine under Windows). >I use MIDI_AUTODETECT for the driver. That's your problem. Allegro is most likely detecting your sound card as a legacy Sound Blaster, and is attempting to use SB FM synthesis to play MIDI files. The trouble is, Creative's PCI sound cards don't seem to support Sound Blaster FM synthesis at all, so MIDI files won't play properly. You should select MIDI_MPU as the MIDI driver, instead of MIDI_AUTODETECT. As an aside, does it seem odd to anyone that Creative's PCI Sound Blaster cards properly emulate Adlib FM synthesis, but not Sound Blaster FM synth? -Jesse > > > ==================================================== Jesse Dorland jessedorland AT hotmail DOT com ====================================================