Article View: borland.public.cppbuilder.multimedia
Article #1277Re: How to communicate with the MIDI interface (serial port)
From: Rene
Date: Wed, 02 May 2001 23:17
Date: Wed, 02 May 2001 23:17
32 lines
1970 bytes
1970 bytes
Martin Getrost <mgt@braehler.com> schrieb in im Newsbeitrag:
3AD59A91.CC603F5C@braehler.com...
> Hello,
>
> I want to communicate with the MIDI interface (serial port).
> I want to send some bytes to the serial MIDI port to a devices which is
> connected to the MIDI interface.
> I am a beginner with MIDI. Are there some good and simple example
> available?
> Are there some API functions, components, documentation available?
>
> best regards
> Martin
if you have installed a real midi driver for this serial box
then have a look at midiOutGetDevCaps(...) and
midiOutGetNumDevs(). For input replace all "...Out.."
by "...In...".
if not, you have to watch out for infos about doing
i/o operations on serial ports. in some sense that means
your program's interface to that midibox and finally to
your midi devices would be quite driver-like.
for i/o on serial ports look at : http://www.bcbdev.com (not for nt)
for *excellent* midi-docs look at: http://www.borg.com/~jglatt
from jeff glatt's pages i also got every midi-info i needed.
HTH
Technical Details
Message-ID:
<3af084d0_2@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3AD59A91.CC603F5C@braehler.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,509ac39297457bf3 X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2001-05-02 15:10:02 PST From: "Rene" <theone@antijunkplease.net> Newsgroups: borland.public.cppbuilder.multimedia References: <3AD59A91.CC603F5C@braehler.com> Subject: Re: How to communicate with the MIDI interface (serial port) Date: Thu, 3 May 2001 00:17:00 +0100 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 195.222.110.118 Message-ID: <3af084d0_2@dnews> X-Trace: dnews 988841168 195.222.110.118 (2 May 2001 15:06:08 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews