🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #105

Re: Need a program to record & playback midi event in windows 3.1

#105
From: shahrin abdullah
Date: Wed, 29 Jul 1992 02:50
26 lines
2133 bytes
Hello to all the gurus of windows multimedia. I am wondering whether is
there anyone out there who have written a windows program in C7 which is
able to record and playback the midi events using a callback function.
I have just started
programming in windows and I'm going into multimedia stuff. So if there
is any kind soul who have written such program before , it would save me
a lot of effort by not reinventing the wheel. I would also appreciate it
if someone has the complete source program of the DRUM machine which is
discussed in the PC MAGAZINE of MAY 12 issue which I could ftp. Any
other source for working with midi under windows is also appreciated.

Another last problem I had is the MIDIMON sample program which is provided with
C7 under the samples directory. The program is written to accept midi
events, place it in the circular buffer and then displayed to the MIDI
monitor screen. But everytime I run it, it generate an error message
which says 'An invalid parameter was passed to a system function '. I
have traced the source of the errors and found out that the MidiInOpen
function which called a callback function in a DLL was the cause. So how
do I tackle this problem? This is a sample program and it is supposed to
work. Could it be that the setting of the system configuration or
windows environment is incorrect. I am using a sound blaster pro card
which conform to the MS Multimedia Level 1 SPecification set to Int 10,
Channel 1 & Address 240H. Any guidance or assistance is again much
appreciated. Thank U. Cheers.

shah
Technical Details
Message-ID: <1992Jul29.025005.22158@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!jvnc.net!nuscc!cherry!shah

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!jvnc.net!nuscc!cherry!shah
From: shah@cherry.iss.nus.sg (shahrin abdullah)
Subject: Re: Need a program to record & playback midi event in windows 3.1
Message-ID: <1992Jul29.025005.22158@nuscc.nus.sg>
Sender: usenet@nuscc.nus.sg
Reply-To: shah@iss.nus.sg (shahrin abdullah)
Organization: Institute of Systems Science, NUS, Singapore
Distribution: comp.windows.ms.programmer, comp.os.ms-windows.programmer.misc, comp.music
Date: Wed, 29 Jul 1992 02:50:05 GMT
Lines: 28