www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/19/02:01:56

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with Allegro's midi_out
Date: 19 Jun 1998 05:49:40 GMT
Organization: Oxford University, England
Message-ID: <6mcu5k$loc$3@news.ox.ac.uk>
References: <3589db9a DOT 12704933 AT news DOT manawatu DOT gen DOT nz>
NNTP-Posting-Host: sable.ox.ac.uk
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 19 Jun 1998 03:35:23 GMT in comp.os.msdos.djgpp Michael
Langton <langtons AT NOTTHISBIT DOT manawatu DOT gen DOT nz> wrote:

: Hello,
: I was thinking of trying some stuff with real-time midi output, and I
: made the following program to see how it works.  This program
: compiles, runs, installs sound, and does everything right except
: actually play the note.  (I got the info on the midi data from PCGPE).
: Can somebody please help me out here?  I'm using gcc 2.8.1, allegro
: 3.0, under win95.

The code looks fine.  Try installing the timer module; I'm not sure
whether or not it will make a difference though.  Try using volume
0x7f instead of 0x40, too.  The MIDI messages you're sending look
fine.  I suggest you find out what MIDI driver Allegro decided to use
-- perhaps it didn't autodetect your sound card properly.  Does ex16
work? 

I can't test and fix the program myself since the computer I'm using
has neither djgpp nor Allegro nor a sound card -- sorry.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019