From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,351cfaac4e16c408,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 17:34:38 PST Reply-To: "aleistad" From: "aleistad" Newsgroups: comp.lang.ada Subject: MIDI library for Ada Date: Fri, 17 Oct 2003 02:29:04 +0200 Organization: The universe X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 233.80-202-161.nextgentel.com X-Original-NNTP-Posting-Host: 233.80-202-161.nextgentel.com Message-ID: <3f8f39b8$1@news.broadpark.no> X-Trace: news.broadpark.no 1066351032 233.80-202-161.nextgentel.com (17 Oct 2003 02:37:12 +0200) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!news.broadpark.no Xref: archiver1.google.com comp.lang.ada:1032 Date: 2003-10-17T02:29:04+02:00 List-Id: I glad to report that I now have an Ada program that plays a scale over MIDI :-) (ref the thread: "Ada and MidiShare) The immediate solution was right under my nose, in the form of Win32Adas' bindings to the Windows multimedia services (they are not mentioned in the Win32Ada.hlp file). All I needed to do was to instantiate some data types and call a couple of functions. If I'm not mistaken, there is no real dependency on Win32Ada as such, it only provides thin bindings to the "libwinmm" library, and no Ada function are used. If the supplied libwinmm.a is the same as in general gcc distributions, all that needs to be done is to write a similar thin binding, covering only MIDI (and possibly audio). This is of course only the very basic byte-by-byte I/O. The status so far is the MIDI is easily acheivable, and I have the basics running fine on two different Win98 PC's . To get reception going the use of a callback is required; that's next on my list of experiments (and my Ada education). So - if there is interest, I'd propose that we co-develop a production quality stand-alone MIDI library (and possibly audio too). My own capabilities are limited, as I'm just learning Ada, but I will contribute in any way I possibly can. Please, let's discuss! Regards, Are --